You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
578 B
YAML
28 lines
578 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: kuard
|
|
spec:
|
|
volumes:
|
|
- name: "kuard-data"
|
|
hostPath:
|
|
path: "/var/lib/kuard"
|
|
containers:
|
|
- image: gcr.io/kuar-demo/kuard-amd64:blue
|
|
name: kuard
|
|
volumeMounts:
|
|
- mountPath: "/data"
|
|
name: "kuard-data"
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /healthy
|
|
port: 8080
|
|
initialDelaySeconds: 5
|
|
timeoutSeconds: 1
|
|
periodSeconds: 10
|
|
failureThreshold: 3
|
|
ports:
|
|
- containerPort: 8080
|
|
name: http
|
|
protocol: TCP
|