mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-02 11:46:16 +02:00
commit
ec99bcddd5
1 changed files with 15 additions and 0 deletions
15
README.md
15
README.md
|
@ -273,3 +273,18 @@ ps.lookup({ command: 'vim' }, function(error, resultList) {
|
|||
});
|
||||
});
|
||||
```
|
||||
|
||||
## The Kubernetes way
|
||||
Credit: @Evalle
|
||||
|
||||
If you run Vim in Kubernetes pod like:
|
||||
|
||||
```
|
||||
kubectl run --generator=run-pod/v1 --rm -it my-vim --image=thinkca/vim
|
||||
```
|
||||
|
||||
then you would normally exit Vim by deleting the associated Kubernetes pod:
|
||||
|
||||
```
|
||||
kubectl delete po my-vim
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue