deploy/deployment.yaml (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
apiVersion: apps/v1
kind: Deployment
metadata:
name: janny
labels:
app: janny
spec:
selector:
matchLabels:
app: janny
replicas: 1
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: janny
spec:
serviceAccountName: janny
containers:
- name: janny
image: janny:latest
imagePullPolicy: IfNotPresent
|