apiVersion: apps/v1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "5" creationTimestamp: "2023-02-19T17:06:11Z" generation: 6 labels: app: cloud-auth name: cloud-auth namespace: default resourceVersion: "38307519" uid: 91eb7b4b-5a63-4ff5-b3e2-70efa122a5ae spec: progressDeadlineSeconds: 600 replicas: 2 revisionHistoryLimit: 10 selector: matchLabels: app: cloud-auth strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: annotations: redeploy-timestamp: "1676964128291" creationTimestamp: null labels: app: cloud-auth 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-auth:1.1.0 imagePullPolicy: Always name: cloud-auth ports: - containerPort: 3000 name: auth-3000 protocol: TCP resources: limits: cpu: "2" memory: 4Gi requests: cpu: 1500m memory: 2048Mi terminationMessagePath: /dev/termination-log terminationMessagePolicy: File dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 status: availableReplicas: 1 conditions: - lastTransitionTime: "2023-02-19T17:06:13Z" lastUpdateTime: "2023-02-19T17:06:13Z" message: Deployment has minimum availability. reason: MinimumReplicasAvailable status: "True" type: Available - lastTransitionTime: "2023-02-21T07:34:34Z" lastUpdateTime: "2023-02-21T07:34:34Z" message: ReplicaSet "cloud-auth-785676967d" has successfully progressed. reason: NewReplicaSetAvailable status: "True" type: Progressing observedGeneration: 6 readyReplicas: 1 replicas: 1 updatedReplicas: 1