Created
May 27, 2019 07:04
-
-
Save avielb/5f6ebb365a33959907ea56deff6d2b4f to your computer and use it in GitHub Desktop.
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 apply -f pod-empty-dir.yaml | |
kubectl create configmap game-config --from-file=configure-pod-container/configmap/ | |
kubectl describe configmap game-config | |
kubectl exec -it pod-env-var cat /app/game.properties | |
kubectl exec -it pod-env-var env | |
kubectl apply -f pv.yaml | |
kubectl apply -f pvc.yaml | |
kubectl apply -f pod-with-pvc.yaml | |
in minikube machine: echo “hello from the other side” > /data/pv0001/index.html | |
https://storage.googleapis.com/kubernetes-helm/helm-v2.14.0-windows-amd64.zip | |
helm init | |
helm repo update | |
helm list | |
helm install --name redis stable/redis | |
helm delete --purge redis | |
helm install --name grafana stable/grafana\n | |
helm upgrade --name grafana stable/grafana --set persistence.enabled=true | |
helm upgrade grafana stable/grafana --set persistence.enabled=true | |
helm upgrade grafana stable/grafana --set persistence.enabled=true --set replicas=3 | |
helm install --name grafana stable/grafana -f values-dev.yaml | |
helm delete --purge grafana | |
helm install --name grafana stable/grafana -f values-prod.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment