mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 16:42:51 +00:00
examples/ is pretty standard whereas demos/ isn't. So I just refactored that. Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
23 lines
496 B
YAML
23 lines
496 B
YAML
apiVersion: apps/v1beta2
|
|
kind: Deployment
|
|
metadata:
|
|
name: sbdemo
|
|
spec:
|
|
replicas: 2
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: sbdemo
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /actuator/health
|
|
port: 8080
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 3
|
|
readinessProbe:
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 10
|
|
httpGet:
|
|
path: /actuator/info
|
|
port: 8080
|