1 Star 0 Fork 2

thubier/GateKeeper

forked from DiDi-opensource/GateKeeper 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
k8s_server.yaml 803 Bytes
一键复制 编辑 原始数据 按行查看 历史
e421083458 提交于 2021-09-20 14:00 . 规整日志及命令行管理器
apiVersion: apps/v1
kind: Deployment
metadata:
name: go-gateteway-server
spec:
replicas: 3
selector:
matchLabels:
name: go-gateteway-server
template:
metadata:
labels:
name: go-gateteway-server
spec:
containers:
- name: go-gateteway-server
image: go-gateteway-server:latest
imagePullPolicy: Never
ports:
- containerPort: 8080
- containerPort: 4433
---
apiVersion: v1
kind: Service
metadata:
name: go-gateteway-server
spec:
ports:
- port: 8080
name: "http"
targetPort: 8080
protocol: TCP
nodePort: 30080
- port: 4433
name: "https"
targetPort: 4433
protocol: TCP
nodePort: 30443
type: NodePort
selector:
name: go-gateteway-server
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/thubier/GateKeeper.git
git@gitee.com:thubier/GateKeeper.git
thubier
GateKeeper
GateKeeper
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385