1 Star 0 Fork 3.9K

Alex / pig-ui

forked from lengleng / pig-ui 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pig-ui.yaml 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
Alex 提交于 2021-02-07 09:39 . ui
apiVersion: apps/v1
kind: Deployment
metadata:
name: pig-ui
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: pig-ui
release: canary
template:
metadata:
labels:
app: pig-ui
release: canary
spec:
hostAliases:
- hostnames:
- pig-mysql
ip: 192.168.38.135
- hostnames:
- pig-redis
ip: 192.168.6.251
- hostnames:
- pig-gateway
ip: 192.168.38.135
- hostnames:
- pig-ui
ip: 192.168.38.135
- hostnames:
- pig-sentinel
ip: 192.168.38.135
- hostnames:
- pig-monitor
ip: 192.168.38.135
containers:
- name: pig-ui
image: registry.cn-hangzhou.aliyuncs.com/docker_part1/pig-ui:v1.0.0
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: pig-ui-svc
namespace: default
spec:
selector:
app: pig-ui
release: canary
clusterIP: 10.43.238.51
type: NodePort
ports:
- port: 80
targetPort: 80
nodePort: 30051
JavaScript
1
https://gitee.com/bingh/pig-ui.git
git@gitee.com:bingh/pig-ui.git
bingh
pig-ui
pig-ui
master

搜索帮助