1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- annotations:
- deployment.kubernetes.io/revision: "11"
- creationTimestamp: "2023-02-19T17:20:10Z"
- generation: 12
- labels:
- app: cloud-gateway
- name: cloud-gateway
- namespace: default
- resourceVersion: "56452169"
- uid: 6c46e0f5-0331-4060-9503-270006b5fa72
- spec:
- progressDeadlineSeconds: 600
- replicas: 1
- revisionHistoryLimit: 10
- selector:
- matchLabels:
- app: cloud-gateway
- strategy:
- rollingUpdate:
- maxSurge: 25%
- maxUnavailable: 25%
- type: RollingUpdate
- template:
- metadata:
- annotations:
- redeploy-timestamp: "1677479744766"
- creationTimestamp: null
- labels:
- app: cloud-gateway
- 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: -Xms256m -Xmx512m -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-gateway:1.1.0
- imagePullPolicy: Always
- name: cloud-gateway
- ports:
- - containerPort: 9999
- name: gateway
- protocol: TCP
- resources:
- limits:
- cpu: 2000m
- memory: 2048Mi
- 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:20:10Z"
- lastUpdateTime: "2023-02-27T06:38:40Z"
- message: ReplicaSet "cloud-gateway-7489699884" has successfully progressed.
- reason: NewReplicaSetAvailable
- status: "True"
- type: Progressing
- - lastTransitionTime: "2023-03-14T01:45:18Z"
- lastUpdateTime: "2023-03-14T01:45:18Z"
- message: Deployment has minimum availability.
- reason: MinimumReplicasAvailable
- status: "True"
- type: Available
- observedGeneration: 12
- readyReplicas: 1
- replicas: 1
- updatedReplicas: 1
|