12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: frontend
- namespace: dev
- spec:
- progressDeadlineSeconds: 600
- replicas: 1
- revisionHistoryLimit: 10
- selector:
- matchLabels:
- workload.user.cattle.io/workloadselector: deployment-dev-frontend
- strategy:
- rollingUpdate:
- maxSurge: 1
- maxUnavailable: 0
- type: RollingUpdate
- template:
- metadata:
- annotations:
- field.cattle.io/ports: '[[{"containerPort":80,"dnsName":"frontend-nodeport","kind":"NodePort","name":"80tcp01","protocol":"TCP","sourcePort":0}]]'
- creationTimestamp: null
- labels:
- workload.user.cattle.io/workloadselector: deployment-dev-frontend
- spec:
- containers:
- - image: feick/diagnosis-frontend:${date}
- imagePullPolicy: IfNotPresent
- name: frontend
- ports:
- - containerPort: 80
- name: 80tcp01
- 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
|