mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Remove duplicate alias
This commit is contained in:
parent
1b4e3fa8c8
commit
5d43d74ec8
2 changed files with 120 additions and 122 deletions
|
|
@ -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 |
|
||||||
|
|
@ -75,7 +75,6 @@ plugins=(... kubectl)
|
||||||
| ksd | `kubectl scale deployment` | Scale a deployment |
|
| ksd | `kubectl scale deployment` | Scale a deployment |
|
||||||
| krsd | `kubectl rollout status deployment` | Check the rollout status of a deployment |
|
| krsd | `kubectl rollout status deployment` | Check the rollout status of a deployment |
|
||||||
| krrd | `kubectl rollout restart deployment` | Rollout restart a deployment |
|
| krrd | `kubectl rollout restart deployment` | Rollout restart a deployment |
|
||||||
| krrd | `kubectl rollout restart deploy` | Rollout restart a deployment |
|
|
||||||
| kres | `kubectl set env $@ REFRESHED_AT=...` | Recreate all pods in deployment with zero-downtime |
|
| kres | `kubectl set env $@ REFRESHED_AT=...` | Recreate all pods in deployment with zero-downtime |
|
||||||
| | | **Rollout management** |
|
| | | **Rollout management** |
|
||||||
| kgrs | `kubectl get replicaset` | List all ReplicaSets `rs` created by the deployment |
|
| kgrs | `kubectl get replicaset` | List all ReplicaSets `rs` created by the deployment |
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,6 @@ alias kdeld='kubectl delete deployment'
|
||||||
alias ksd='kubectl scale deployment'
|
alias ksd='kubectl scale deployment'
|
||||||
alias krsd='kubectl rollout status deployment'
|
alias krsd='kubectl rollout status deployment'
|
||||||
alias krrd='kubectl rollout restart deployment'
|
alias krrd='kubectl rollout restart deployment'
|
||||||
alias krrd='kubectl rollout restart deploy'
|
|
||||||
|
|
||||||
function kres(){
|
function kres(){
|
||||||
kubectl set env $@ REFRESHED_AT=$(date +%Y%m%d%H%M%S)
|
kubectl set env $@ REFRESHED_AT=$(date +%Y%m%d%H%M%S)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue