build(deployment): 更新镜像版本并注释配置文件

- 将 nginx 镜像版本从 latest 更新为 1
- 注释 deployment-2.yaml 文件,保留原始内容
This commit is contained in:
suyiiyii 2024-12-06 12:22:54 +08:00
parent 6b6adf3535
commit f58eab58c7
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85
2 changed files with 25 additions and 25 deletions

View File

@ -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: {}

View File

@ -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: {}