v1.1.7
Kubernetes Change Context (k8s-context)
Customize Kubernetes Change Context (KUBECONFIG)
Available Tags
Alpine
Alpine (Depreciated)
version 1.1.7
- Added flag "-n" to make shortcut from "--namespace"
- Added column "NODE" from get pods
- Added features
show
, describe / show kubernetes resources (po, logs, port, node)- Pods
./k8s-context show po [pods_name] -n [namespace] ./k8s-context show po [pods_name] --namespace [namespace]
- Logs
./k8s-context show logs [pods_name] -n [namespace] ./k8s-context show logs [pods_name] --namespace [namespace]
- Port Forward
./k8s-context show port [pods_name] -n [namespace] ./k8s-context show port [pods_name] --namespace [namespace]
- Node
./k8s-context show node [node_name]
- Pods
version 1.1.6
- Circular
load
-->switch
-->change context
- Change feature
load
kubeconfig file --> will compare existing context to $HOME/.kube/config,
if action fromload
kubeconfig failed, need to merge into $HOME/.kube/config first. - Feature
get
will references from $HOME/.kube/config,
ifget
refer to spesific kubeconfig using--kubeconfig
,
get
will use context by defining in--kubeconfig
flags