Use http probes with Kind 0.3.0

This commit is contained in:
stefanprodan
2019-06-22 14:58:01 +03:00
parent ed0d25af97
commit 1a0daa8678
3 changed files with 8 additions and 14 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
set -o errexit
REPO_ROOT=$(git rev-parse --show-toplevel)
KIND_VERSION=0.2.1
KIND_VERSION=v0.3.0
echo ">>> Installing kubectl"
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && \
+1 -1
View File
@@ -2,7 +2,7 @@
set -o errexit
ISTIO_VER="1.1.6"
ISTIO_VER="1.0.6"
SUPERGLOO_VER="v0.3.23"
REPO_ROOT=$(git rev-parse --show-toplevel)
export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"
+6 -12
View File
@@ -41,21 +41,15 @@ spec:
- name: PODINFO_UI_COLOR
value: blue
livenessProbe:
exec:
command:
- podcli
- check
- http
- localhost:9898/healthz
httpGet:
port: 9898
path: /healthz
initialDelaySeconds: 5
timeoutSeconds: 5
readinessProbe:
exec:
command:
- podcli
- check
- http
- localhost:9898/readyz
httpGet:
port: 9898
path: /readyz
initialDelaySeconds: 5
timeoutSeconds: 5
resources: