forked from addyosmani/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.k8s
25 lines (20 loc) · 1.32 KB
/
.k8s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
KUBE_CONTEXT_CI=gke_just3things-177010_europe-west2-b_just3things-ci
KUBE_CONTEXT_PROD=gke_just3things-177010_europe-west2-b_just3things-prod
KUBE_CONTEXT_CI_NEW_INFRA=gke_just3things-177010_europe-west2_just3things-new-infra-ci
KUBE_CONTEXT_PROD_NEW_INFRA=gke_just3things-177010_europe-west2_just3things-new-infra-prod
alias kubectl-ci="kubectl --context=$KUBE_CONTEXT_CI"
alias kubectl-prod="kubectl --context=$KUBE_CONTEXT_PROD"
alias kubectl-ci-new-infra="kubectl --context=$KUBE_CONTEXT_CI_NEW_INFRA"
alias kubectl-prod-new-infra="kubectl --context=$KUBE_CONTEXT_PROD_NEW_INFRA"
alias helm-ci="helm --kube-context=$KUBE_CONTEXT_CI"
alias helm-prod="helm --kube-context=$KUBE_CONTEXT_PROD"
alias helm-ci-new-infra="helm3 --kube-context=$KUBE_CONTEXT_CI_NEW_INFRA"
alias helm-prod-new-infra="helm3 --kube-context=$KUBE_CONTEXT_PROD_NEW_INFRA"
alias stern-ci="stern --context=$KUBE_CONTEXT_CI"
alias stern-prod="stern --context=$KUBE_CONTEXT_PROD"
alias stern-ci-new-infra="stern --context=$KUBE_CONTEXT_CI_NEW_INFRA"
alias stern-prod-new-infra="stern --context=$KUBE_CONTEXT_PROD_NEW_INFRA"
alias octant-ci="octant --context=$KUBE_CONTEXT_CI"
alias octant-prod="octant --context=$KUBE_CONTEXT_PROD"
alias octant-ci-new-infra="octant --context=$KUBE_CONTEXT_CI_NEW_INFRA"
alias octant-prod-new-infra="octant --context=$KUBE_CONTEXT_PROD_NEW_INFRA"