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