123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- annotations:
- deployment.kubernetes.io/revision: "8"
- generation: 9
- labels:
- app: cloud-upms
- name: cloud-upms
- namespace: default
- resourceVersion: "38318635"
- uid: 4d1b74a6-2e0c-490d-b50a-e0bb011bcb81
- spec:
- progressDeadlineSeconds: 600
- replicas: 2
- revisionHistoryLimit: 10
- selector:
- matchLabels:
- app: cloud-upms
- strategy:
- rollingUpdate:
- maxSurge: 25%
- maxUnavailable: 25%
- type: RollingUpdate
- template:
- metadata:
- annotations:
- redeploy-timestamp: "1676825682622"
- creationTimestamp: null
- labels:
- app: cloud-upms
- spec:
- containers:
- - env:
- - name: LANG
- value: C.UTF-8
- - name: JAVA_HOME
- value: /usr/lib/jvm/java-8-openjdk-amd64/jre
- - name: TZ
- value: Asia/Shanghai
- - name: JAVA_OPTS
- value: -Xms1024m -Xmx2048m -Djava.security.egd=file:/dev/./urandom
- - name: cloudRegister
- value: 10.210.160.59:8848
- - name: hostIp
- image: 10.210.5.68:8443/devops-test/cloud-upms:1.1.0
- imagePullPolicy: Always
- name: cloud-upms
- ports:
- - containerPort: 4000
- name: cloud-upms-4000
- protocol: TCP
- resources:
- limits:
- cpu: 2000m
- memory: 4Gi
- requests:
- cpu: 1500m
- memory: 2048Mi
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- volumeMounts:
- - mountPath: /etc/localtime
- name: volume-localtime
- dnsPolicy: ClusterFirst
- restartPolicy: Always
- schedulerName: default-scheduler
- securityContext: {}
- terminationGracePeriodSeconds: 30
- volumes:
- - hostPath:
- path: /etc/localtime
- type: ""
- name: volume-localtime
- status:
- availableReplicas: 1
- conditions:
- - lastTransitionTime: "2023-02-21T07:52:02Z"
- lastUpdateTime: "2023-02-21T07:52:02Z"
- message: Deployment has minimum availability.
- reason: MinimumReplicasAvailable
- status: "True"
- type: Available
- - lastTransitionTime: "2023-02-18T02:15:14Z"
- lastUpdateTime: "2023-02-21T07:52:02Z"
- message: ReplicaSet "cloud-upms-78d4dfc9f6" has successfully progressed.
- reason: NewReplicaSetAvailable
- status: "True"
- type: Progressing
- observedGeneration: 9
- readyReplicas: 1
- replicas: 1
- updatedReplicas: 1
|