update example

Signed-off-by: Danny Kulchinsky <danny.kul@gmail.com>
Signed-off-by: Danny Kulchinsky <dannyk@tuenti.com>
This commit is contained in:
Danny Kulchinsky
2019-03-17 21:01:15 -04:00
parent 477ba69a72
commit d243f0fb59
+16 -4
View File
@@ -5,19 +5,19 @@ metadata:
name: goldpinger
labels:
app: goldpinger
version: "1.1.0"
version: "1.5.0"
spec:
updateStrategy:
type: RollingUpdate
selector:
matchLabels:
app: goldpinger
version: "1.1.0"
version: "1.5.0"
template:
metadata:
labels:
app: goldpinger
version: "1.1.0"
version: "1.5.0"
spec:
# if you'd like to use a secret to inject a kubeconfig, you can do it like this
volumes:
@@ -48,10 +48,22 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
image: "docker.io/bloomberg/goldpinger:1.4.0"
image: "docker.io/bloomberg/goldpinger:1.5.0"
ports:
- containerPort: 80
name: http
readinessProbe:
httpGet:
path: /healthz
port: 80
initialDelaySeconds: 20
periodSeconds: 5
livenessProbe:
httpGet:
path: /healthz
port: 80
initialDelaySeconds: 20
periodSeconds: 5
volumeMounts:
- mountPath: /.kube/
name: kubeconfig