feat(kubectl): add convenient aliases for 'kubectl rollout restart' to enhance usability and simplify deployment workflows

This commit is contained in:
mofibo 2025-01-02 18:00:37 +01:00
commit 1b4e3fa8c8

View file

@ -12,7 +12,7 @@ plugins=(... kubectl)
## Aliases ## Aliases
| Alias | Command | Description | | Alias | Command | Description |
| :------- |:--------------------------------------------------------| :----------------------------------------------------------------------------------------------- | |:---------|:---------------------------------------------------|:-------------------------------------------------------------------------------------------------|
| k | `kubectl` | The kubectl command | | k | `kubectl` | The kubectl command |
| kca | `kubectl --all-namespaces` | The kubectl command targeting all namespaces | | kca | `kubectl --all-namespaces` | The kubectl command targeting all namespaces |
| kaf | `kubectl apply -f` | Apply a YML file | | kaf | `kubectl apply -f` | Apply a YML file |