|
@@ -3,13 +3,14 @@ kind: Deployment
|
|
metadata:
|
|
metadata:
|
|
name: diagnosis
|
|
name: diagnosis
|
|
namespace: dev
|
|
namespace: dev
|
|
|
|
+ labels:
|
|
|
|
+ app: appointment
|
|
spec:
|
|
spec:
|
|
- progressDeadlineSeconds: 600
|
|
|
|
replicas: 1
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
selector:
|
|
matchLabels:
|
|
matchLabels:
|
|
- workload.user.cattle.io/workloadselector: deployment-dev-diagnosis
|
|
|
|
|
|
+ app: diagnosis
|
|
strategy:
|
|
strategy:
|
|
rollingUpdate:
|
|
rollingUpdate:
|
|
maxSurge: 1
|
|
maxSurge: 1
|
|
@@ -17,35 +18,35 @@ spec:
|
|
type: RollingUpdate
|
|
type: RollingUpdate
|
|
template:
|
|
template:
|
|
metadata:
|
|
metadata:
|
|
- annotations:
|
|
|
|
- field.cattle.io/ports: '[[{"containerPort":8080,"dnsName":"diagnosis-nodeport","kind":"NodePort","name":"8080tcp01","protocol":"TCP","sourcePort":0}]]'
|
|
|
|
- creationTimestamp: null
|
|
|
|
labels:
|
|
labels:
|
|
- workload.user.cattle.io/workloadselector: deployment-dev-diagnosis
|
|
|
|
|
|
+ app: diagnosis
|
|
spec:
|
|
spec:
|
|
containers:
|
|
containers:
|
|
- args:
|
|
- args:
|
|
- --spring.profiles.active=dev
|
|
- --spring.profiles.active=dev
|
|
- image: feick/diagnosis:${date}
|
|
|
|
|
|
+ image: yaoxiang/diagnosis:${date}
|
|
imagePullPolicy: IfNotPresent
|
|
imagePullPolicy: IfNotPresent
|
|
name: diagnosis
|
|
name: diagnosis
|
|
ports:
|
|
ports:
|
|
- containerPort: 8080
|
|
- containerPort: 8080
|
|
name: 8080tcp01
|
|
name: 8080tcp01
|
|
protocol: TCP
|
|
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
|
|
|
|
|
|
+
|
|
|
|
+---
|
|
|
|
+apiVersion: v1
|
|
|
|
+kind: Service
|
|
|
|
+metadata:
|
|
|
|
+ name: diagnosis
|
|
|
|
+ namespace: dev
|
|
|
|
+ labels:
|
|
|
|
+ app: diagnosis
|
|
|
|
+spec:
|
|
|
|
+ selector:
|
|
|
|
+ app: diagnosis
|
|
|
|
+ type: NodePort
|
|
|
|
+ ports:
|
|
|
|
+ - port: 8080
|
|
|
|
+ targetPort: 8080
|
|
|
|
+ nodePort: 32003
|
|
|
|
+ name: "http"
|
|
|
|
+ protocol: TCP
|