mirror of
https://github.com/bloomberg/goldpinger.git
synced 2026-08-23 21:36:25 +00:00
Merge branch 'master' into 8-healthz-endpoint
This commit is contained in:
@@ -5,19 +5,19 @@ metadata:
|
||||
name: goldpinger
|
||||
labels:
|
||||
app: goldpinger
|
||||
version: "1.0.0"
|
||||
version: "1.1.0"
|
||||
spec:
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: goldpinger
|
||||
version: "1.0.0"
|
||||
version: "1.1.0"
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: goldpinger
|
||||
version: "1.0.0"
|
||||
version: "1.1.0"
|
||||
spec:
|
||||
# if you'd like to use a secret to inject a kubeconfig, you can do it like this
|
||||
volumes:
|
||||
@@ -34,7 +34,7 @@ spec:
|
||||
# kubeconfig needs to match the location of what's injected in the secret
|
||||
# if not specified goldpinger will default to using in-cluster config
|
||||
- name: KUBECONFIG
|
||||
value: "./kube/config"
|
||||
value: "/.kube/config"
|
||||
# refresh interval (seconds) tells goldpinger to call every other instance with that frequency (set to 0 to disable)
|
||||
- name: REFRESH_INTERVAL
|
||||
value: "30"
|
||||
@@ -43,7 +43,7 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
image: "docker.io/mynamespace-replaceme/goldpinger:1.0.0"
|
||||
image: "docker.io/mynamespace-replaceme/goldpinger:1.1.0"
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
|
||||
Reference in New Issue
Block a user