12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: frontend
- namespace: prod
- spec:
- progressDeadlineSeconds: 600
- replicas: 2
- revisionHistoryLimit: 10
- selector:
- matchLabels:
- workload.user.cattle.io/workloadselector: deployment-prod-frontend
- strategy:
- rollingUpdate:
- maxSurge: 1
- maxUnavailable: 0
- type: RollingUpdate
- template:
- metadata:
- annotations:
- field.cattle.io/ports: '[[{"containerPort":80,"dnsName":"frontend","kind":"ClusterIP","name":"80tcp02","protocol":"TCP","sourcePort":0}]]'
- creationTimestamp: null
- labels:
- workload.user.cattle.io/workloadselector: deployment-prod-frontend
- spec:
- containers:
- - image: feick/diagnosis-frontend:${date}
- imagePullPolicy: IfNotPresent
- name: frontend
- ports:
- - containerPort: 80
- name: 80tcp02
- protocol: TCP
- resources: {}
- securityContext:
- allowPrivilegeEscalation: false
- capabilities: {}
- privileged: false
- readOnlyRootFilesystem: false
- runAsNonRoot: false
- stdin: true
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- tty: true
- dnsPolicy: ClusterFirst
- restartPolicy: Always
- schedulerName: default-scheduler
- securityContext: {}
- terminationGracePeriodSeconds: 30
|