Kubernetes Config auto complete and Snippets for Sublime Text 3
Kubernetes Config auto complete package for Sublime Text 3 is really useful for the daily k8s template creation. It covers almost all Kubernetes keywords and I added annotations for
external-dns features for this package.
Just install to package and save the file with .yaml/yml extension. I don’t know the reason but if I start with empty file and save with yaml extension. It does not work. I had to close the file and re-open to make Kubernetes autocomplete works.
If you want to add more keywords you can send PR to
Another nice project is Kubernetes Snippets for Sublime Text editor. https://github.com/songjiz/sublime-kubernetes-snippets
I sent a PR for
apiVersions changes. It is not approved yet. You can get my changes from https://github.com/ismailyenigul/sublime-kubernetes-snippets
How to enable the Kubernetes Snippets (on MacOS)
Clone the repo and copy the files into
~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/ diretory.
$ git clonehttps://github.com/ismailyenigul/sublime-kubernetes-snippets.git
$ cd sublime-kubernetes-snippets
$ cp Kubernetes* ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/
Using Snippets in Sublime Text
If you select
k8s:po Kubernetes Pod you will get the Pod yaml