12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- apiVersion: extensions/v1beta1
- kind: Deployment
- metadata:
- annotations:
- deployment.kubernetes.io/revision: "1"
- generation: 1
- labels:
- app: canary-v1
- name: canary-v1
- namespace: canary-production
- resourceVersion: "486797"
- spec:
- progressDeadlineSeconds: 2147483647
- replicas: 1
- revisionHistoryLimit: 10
- selector:
- matchLabels:
- app: canary-v1
- strategy:
- rollingUpdate:
- maxSurge: 1
- maxUnavailable: 1
- type: RollingUpdate
- template:
- metadata:
- creationTimestamp: null
- labels:
- app: canary-v1
- spec:
- containers:
- - image: dotbalo/canary:v1
- imagePullPolicy: Always
- name: canary-v1
- ports:
- - containerPort: 8080
- protocol: TCP
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- dnsPolicy: ClusterFirst
- restartPolicy: Always
- schedulerName: default-scheduler
- securityContext: {}
- terminationGracePeriodSeconds: 30
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: canary-v1
- namespace: canary-production
- spec:
- ports:
- - port: 8080
- protocol: TCP
- targetPort: 8080
- selector:
- app: canary-v1
- sessionAffinity: None
- type: ClusterIP
|