build(deployment): 添加 http-bin 应用的 Deployment 配置

- 新增 deployment-2.yaml 文件
- 定义了一个名为 http-bin 的 Deployment
- 设置 replicas 为 1
- 使用 kennethreitz/httpbin 镜像创建容器
This commit is contained in:
suyiiyii 2024-11-15 00:17:56 +08:00
parent 33828c7105
commit f1a3f3269d
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85

24
deployment-2.yaml Normal file
View File

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