- 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.
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.
推薦閱讀
- Linux設備驅(qū)動開發(fā)詳解:基于最新的Linux4.0內(nèi)核
- Extending Puppet
- 移動應用UI設計模式(第2版)
- 網(wǎng)絡操作系統(tǒng)教程:Windows Server 2016管理與配置
- Learning Bootstrap
- Mobile First Design with HTML5 and CSS3
- 竹林蹊徑:深入淺出windows驅(qū)動開發(fā)
- Windows 7應用入門與技巧
- Fedora 12 Linux應用基礎
- ElasticSearch Cookbook
- 計算機系統(tǒng)的自主設計
- Python UNIX和Linux系統(tǒng)管理指南
- 統(tǒng)信UOS應用開發(fā)進階教程
- Linux應用大全 基礎與管理
- iOS 10快速開發(fā):18天零基礎開發(fā)一個商業(yè)應用