build(deployment): 更新镜像版本并注释配置文件
- 将 nginx 镜像版本从 latest 更新为 1 - 注释 deployment-2.yaml 文件,保留原始内容
This commit is contained in:
parent
6b6adf3535
commit
f58eab58c7
@ -1,24 +1,24 @@
|
|||||||
apiVersion: apps/v1
|
# apiVersion: apps/v1
|
||||||
kind: Deployment
|
# kind: Deployment
|
||||||
metadata:
|
# metadata:
|
||||||
creationTimestamp: null
|
# creationTimestamp: null
|
||||||
labels:
|
# labels:
|
||||||
app: http-bin
|
# app: http-bin
|
||||||
name: http-bin
|
# name: http-bin
|
||||||
spec:
|
# spec:
|
||||||
replicas: 1
|
# replicas: 1
|
||||||
selector:
|
# selector:
|
||||||
matchLabels:
|
# matchLabels:
|
||||||
app: http-bin
|
# app: http-bin
|
||||||
strategy: {}
|
# strategy: {}
|
||||||
template:
|
# template:
|
||||||
metadata:
|
# metadata:
|
||||||
creationTimestamp: null
|
# creationTimestamp: null
|
||||||
labels:
|
# labels:
|
||||||
app: http-bin
|
# app: http-bin
|
||||||
spec:
|
# spec:
|
||||||
containers:
|
# containers:
|
||||||
- image: kennethreitz/httpbin
|
# - image: kennethreitz/httpbin
|
||||||
name: httpbin
|
# name: httpbin
|
||||||
resources: {}
|
# resources: {}
|
||||||
status: {}
|
# status: {}
|
||||||
|
@ -18,7 +18,7 @@ spec:
|
|||||||
app: nginx
|
app: nginx
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: registry.cn-shenzhen.aliyuncs.com/suyiiyii/ds-design:latest
|
- image: registry.cn-shenzhen.aliyuncs.com/suyiiyii/ds-design:1
|
||||||
name: nginx
|
name: nginx
|
||||||
resources: {}
|
resources: {}
|
||||||
status: {}
|
status: {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user