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

View File

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