Fixing tiller pod logs and ports for probes.
This commit is contained in:
@@ -132,13 +132,13 @@ spec:
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: "/healthz"
|
||||
port: "8888"
|
||||
port: 8888
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 2
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: "/healthz"
|
||||
port: "8888"
|
||||
port: 8888
|
||||
initialDelaySeconds: 16
|
||||
periodSeconds: 5
|
||||
serviceAccount: fission-svc
|
||||
@@ -166,13 +166,13 @@ spec:
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: "/router-healthz"
|
||||
port: "8888"
|
||||
port: 8888
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 2
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: "/router-healthz"
|
||||
port: "8888"
|
||||
port: 8888
|
||||
initialDelaySeconds: 16
|
||||
periodSeconds: 5
|
||||
serviceAccount: fission-svc
|
||||
@@ -223,13 +223,13 @@ spec:
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: "/healthz"
|
||||
port: "8888"
|
||||
port: 8888
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 2
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: "/healthz"
|
||||
port: "8888"
|
||||
port: 8888
|
||||
initialDelaySeconds: 16
|
||||
periodSeconds: 5
|
||||
serviceAccount: fission-svc
|
||||
|
||||
+1
-1
@@ -243,7 +243,7 @@ dump_kubernetes_events() {
|
||||
dump_tiller_logs() {
|
||||
echo "--- tiller logs ---"
|
||||
tiller_pod=`kubectl get pods -n kube-system | grep tiller| tr -s " "| cut -d" " -f1`
|
||||
kubectl logs $tiller_pod -n kube-system
|
||||
kubectl logs $tiller_pod --since=30m -n kube-system
|
||||
echo "--- end tiller logs ---"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user