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
base64_encoded_service_account=$(base64 -w 0 keyfile.json) |
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
apiVersion: apps/v1beta2 | |
kind: DaemonSet | |
metadata: | |
name: prepull-image | |
spec: | |
selector: | |
matchLabels: | |
name: prepull-image | |
template: |
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 get po -a --all-namespaces -o json | \ | |
jq '.items[] | select(.status.reason!=null) | select(.status.reason | contains("Evicted")) | | |
"kubectl delete po \(.metadata.name) -n \(.metadata.namespace)"' | xargs -n 1 bash -c |
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
helm install --name nginx-ingress stable/nginx-ingress --version 0.12.3 --namespace nginx-ingress --set rbac.create=true --set controller.service.loadBalancerIP="STATIC_IP" |
NewerOlder