refactor(deployment): 将应用从 gatewayyy 重命名为 nginix
- 更新了 deployment、ingress 和 service 文件中的应用名称 - 修改了相关的服务和 Ingress 资源名称 - 更新了容器镜像地址
This commit is contained in:
parent
b5c59cfd99
commit
cb4613f913
@ -3,19 +3,19 @@ kind: Deployment
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
app: gatewayyy
|
||||
name: gatewayyy
|
||||
app: nginix
|
||||
name: nginix
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: gatewayyy
|
||||
app: nginix
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
app: gatewayyy
|
||||
app: nginix
|
||||
spec:
|
||||
containers:
|
||||
- image: docker.m.ixdev.cn/library/nginx:latest
|
||||
|
@ -1,16 +1,16 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: gatewayyy-ingress
|
||||
name: nginix-ingress
|
||||
spec:
|
||||
rules:
|
||||
- host: gatewayyy.example.com
|
||||
- host: nginix.example.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: gatewayyy-service
|
||||
name: nginix-service
|
||||
port:
|
||||
number: 80
|
@ -1,10 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: gatewayyy-service
|
||||
name: nginix-service
|
||||
spec:
|
||||
selector:
|
||||
app: gatewayyy
|
||||
app: nginix
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
|
Loading…
x
Reference in New Issue
Block a user