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