官术网_书友最值得收藏!

  • Learn OpenShift
  • Denis Zuev Artemii Kropachev Aleksey Usov
  • 131字
  • 2021-08-13 16:03:52

Editing Kubernetes resources

We can also edit the properties of a running container with kubectl edit pod httpd-8576c89d7-qjd62. We are not going to change anything at this point, but you can try to change something before we delete the container. We are going to work with the edit command while working with OpenShift in further chapters.

The kubectl edit command by default uses the vi editor. Learn how to use vi first if you are not familiar with this text editor, otherwise you might get into trouble. 

Another trick that you can do is to change the editor by running export EDITOR=nano, where nano is your favorite text editor.

Similarly, you can edit any other Kubernetes resources. We will discuss other Kubernetes resources later in this chapter.  

主站蜘蛛池模板: 万宁市| 阿克陶县| 开平市| 仁化县| 灵山县| 图木舒克市| 三明市| 平凉市| 大厂| 武夷山市| 阳山县| 阿坝| 封丘县| 盐城市| 蒙自县| 西盟| 萝北县| 龙里县| 石狮市| 泰顺县| 郸城县| 无棣县| 石嘴山市| 莱州市| 轮台县| 鄯善县| 白朗县| 商河县| 德保县| 图片| 昌吉市| 永宁县| 朝阳县| 前郭尔| 成安县| 靖西县| 洞口县| 宁都县| 荆门市| 德阳市| 平果县|