加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
k8s.yml 561 Bytes
一键复制 编辑 原始数据 按行查看 历史
Eden Leung 提交于 2020-03-31 19:45 . Create k8s.yml
apiVersion: apps/v1
kind: Deployment
metadata:
name: ant-design-admin
spec:
replicas: 1
selector:
matchLabels:
app: ant-design-admin
template:
metadata:
labels:
app: ant-design-admin
spec:
containers:
- image: xiaodi93/ant-design-admin
name: ant-design-admin
---
apiVersion: v1
kind: Service
metadata:
name: ant-design-admin
annotations:
dev.okteto.com/auto-ingress: "true"
spec:
type: ClusterIP
ports:
- name: "ant-design-admin"
port: 8000
selector:
app: ant-design-admin
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化