1 Star 0 Fork 3

Zhangxixi369/kubernetes-qf

forked from newrain001/kubernetes-qf 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nginx-deployment.yml 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
Your Name 提交于 2024-08-20 14:08 . 提交
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
creationTimestamp: "2024-08-16T07:45:39Z"
generation: 3
labels:
app: nginx-deployment
name: nginx-deployment
namespace: default
resourceVersion: "91100"
uid: fb709fcd-5bb2-47b7-97ba-72dc6e2909b0
spec:
progressDeadlineSeconds: 600
replicas: 8
revisionHistoryLimit: 10
selector:
matchLabels:
app: nginx-deployment
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: nginx-deployment
spec:
containers:
- image: 10.35.152.240:5000/library/nginx:1.16.1
imagePullPolicy: IfNotPresent
name: nginx
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status:
availableReplicas: 16
conditions:
- lastTransitionTime: "2024-08-16T07:45:39Z"
lastUpdateTime: "2024-08-16T07:45:40Z"
message: ReplicaSet "nginx-deployment-77585966f8" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
- lastTransitionTime: "2024-08-16T07:48:16Z"
lastUpdateTime: "2024-08-16T07:48:16Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
observedGeneration: 3
readyReplicas: 16
replicas: 16
updatedReplicas: 16
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangxixi369/kubernetes-qf.git
git@gitee.com:zhangxixi369/kubernetes-qf.git
zhangxixi369
kubernetes-qf
kubernetes-qf
main

搜索帮助