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