Last active
July 10, 2024 06:10
-
-
Save mw866/ba118ac4102107da0cb3ba700893392e to your computer and use it in GitHub Desktop.
#k8s #kubernetes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://helm.sh/docs/intro/using_helm/ | |
helm list | |
helm list -Aa # all NS all filter | |
helm get values <releasename> -n <namespace> | |
helm repo update | |
helm version --short | |
helm repo add wiz.io https://xxxx | |
helm pull xxxx | |
helm install test xxx --values xxx.yaml | |
helm uninstall test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl config view | |
kubectl config get-contexts | |
kubectl config current-context | |
kubectl config delete-context NAME | |
kubectl explain ingressclass | |
kubectl replace -f deployment.yaml --force | |
kubectl api-resources | |
kubectl api-versions | |
kubectl rollout restart deployment <deployment_name> -n <namespace> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable dashboard https://microk8s.io/docs/addon-dashboard | |
# https://microk8s.io/docs/getting-started | |
# https://microk8s.io/docs/clustering | |
microk8s kubectl create token default | |
microk8s status | |
# Generate configuration for pasting into ~/.kube/config | |
microk8s config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment