gitops-sample/deployment-2.yaml
suyiiyii f1a3f3269d
build(deployment): 添加 http-bin 应用的 Deployment 配置
- 新增 deployment-2.yaml 文件
- 定义了一个名为 http-bin 的 Deployment
- 设置 replicas 为 1
- 使用 kennethreitz/httpbin 镜像创建容器
2024-11-15 00:17:56 +08:00

25 lines
413 B
YAML

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