mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Added MicroK8s plugin for ZSH (#8499)
* Added MicroK8s plugin for ZSH * Added caching for kubectl and helm commands * Added title in compadd and enhanced README
This commit is contained in:
parent
6bac9eb103
commit
8ed19ab54d
2 changed files with 106 additions and 0 deletions
24
plugins/microk8s/README.md
Normal file
24
plugins/microk8s/README.md
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# MicroK8s plugin
|
||||
|
||||
This plugin provides completion and useful aliases for [MicroK8s](https://microk8s.io/).
|
||||
|
||||
To use it, add `microk8s` to the plugins array in your zshrc file.
|
||||
|
||||
```zsh
|
||||
plugins=(... microk8s)
|
||||
```
|
||||
|
||||
## Aliases
|
||||
|
||||
| Alias | Command | Description |
|
||||
|-------|------------------|----------------------------------------------------------------------------------------------------------|
|
||||
| mco | microk8s.config | Shows the Kubernetes config file. |
|
||||
| mct | microk8s.ctr | Interact with containerd CLI. |
|
||||
| mdi | microk8s.disable | Disables an addon. |
|
||||
| me | microk8s.enable | Enables an addon. |
|
||||
| mh | microk8s.helm | Interact with Helm CLI. |
|
||||
| mis | microk8s.istio | Interact with Istio CLI. |
|
||||
| mk | microk8s.kubectl | Interact with Kubernetes CLI. |
|
||||
| msp | microk8s.stop | Stops all Kubernetes services. |
|
||||
| mst | microk8s.start | Starts MicroK8s after it is being stopped. |
|
||||
| msts | microk8s.status | Provides an overview of the MicroK8s state (running / not running) as well as the set of enabled addons. |
|
||||
Loading…
Add table
Add a link
Reference in a new issue