apiVersion:apps/v1 # deployment api 版本kind:Deployment # 资源类型为 deploymentmetadata:# 元信息labels:# 标签app: nginx-deploy # 具体的 key:value 配置形式name:nginx-deploy # deployment名称namespace:default # 所在命名空间spec:replicas:1# 期望副本数revisionHistoryLimit:10# 进行滚动更新后,保留的历...
message: Deployment has minimum availability. reason: MinimumReplicasAvailable status: "True" type: Available - lastTransitionTime: "2024-11-30T04:38:36Z" lastUpdateTime: "2024-11-30T04:38:40Z" message: ReplicaSet "web-5bcf459779" has successfully progressed. reason: NewReplicaSetAvailable stat...
: ClusterFirst restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 status: availableReplicas: 1 conditions: - lastTransitionTime: "2022-09-28T06:07:44Z" lastUpdateTime: "2022-09-28T06:07:44Z" message: Deployment has minimum availability. ...
- lastTransitionTime:"2024-11-30T04:38:40Z"lastUpdateTime:"2024-11-30T04:38:40Z"message: Deployment has minimum availability. reason: MinimumReplicasAvailable status:"True"type: Available - lastTransitionTime:"2024-11-30T04:38:36Z"lastUpdateTime:"2024-11-30T04:38:40Z"message: ReplicaSet"...
reason: ReplicaSetUpdated status: "True" type: Progressing - lastTransitionTime: 2016-10-04T12:25:42Z lastUpdateTime: 2016-10-04T12:25:42Z message: Deployment has minimum availability. reason: MinimumReplicasAvailable status: "True" type: Available - lastTransitionTime: 2016-10-04T12:25:39Z...
: harbor-docker restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 status: availableReplicas: 1 conditions: - lastTransitionTime: "2024-11-30T04:38:40Z" lastUpdateTime: "2024-11-30T04:38:40Z" message: Deployment has minimum availability. ...
“apiVersion:apps/v1”,也就是说 Deployment 当前所属的组是 apps,版本是 v1。 “metadata”是我们看到的 Deployment 元信息。 "spec"是期望的内容,包含容器副本数、模板等。 实战 创建 保存上面的模板为deploy-nginx.yaml 命令: kubectl create -f deploy-nginx.yaml -n killer ...
message: Deployment has minimum availability. reason: MinimumReplicasAvailable status: "True" type: Available - lastTransitionTime: "2024-11-30T04:38:36Z" lastUpdateTime: "2024-11-30T04:38:40Z" message: ReplicaSet "web-5bcf459779" has successfully progressed. ...
message: Deployment has minimum availability. reason: MinimumReplicasAvailable status:"True" type: Available -lastTransitionTime:"2022-06-12T17:25:23Z" lastUpdateTime:"2022-06-12T17:25:30Z" message: ReplicaSet"nginx-deployment-786b576769"has successfully progressed. ...
2022-05-27T11:38:17Z" lastUpdateTime: "2022-05-27T11:38:17Z" message: Deployment has minimum availability. reason: MinimumReplicasAvailable status: "True" type: Available - lastTransitionTime: "2022-05-27T11:37:59Z" lastUpdateTime: "2022-05-27T11:38:17Z" message: ReplicaSet "my-...