Skip to content

Commit

Permalink
Fixing how to running cli
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroc0d3 committed Mar 4, 2023
1 parent 20816c5 commit 376d65d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,19 @@ Customize Kubernetes Change Context (KUBECONFIG)

- Run Spesific KUBECONFIG
```
KUBECONFIG=~/.kube/config-new-cluster
KUBECONFIG=$HOME/.kube/config-new-cluster
./k8s-context --context=config-new-cluster
-- or --
./k8s-context --kubeconfig=~/.kube/config-new-cluster --context=config-new-cluster
./k8s-context --kubeconfig=$HOME/.kube/config-new-cluster --context=config-new-cluster
-- EKS --
./k8s-context --context=arn:aws:eks:${AWS_DEFAULT_REGION}:${AWS_ACCOUNT_ID}:cluster/${EKS_CLUSTER_NAME}
eg:
---
./k8s-context --kubeconfig=$HOME/.kube/config-eks-devopscorner-staging --context=arn:aws:eks:ap-southeast-1:${AWS_ACCOUNT_ID}:cluster/devopscorner-staging
```

## Tested Environment
Expand Down

0 comments on commit 376d65d

Please sign in to comment.