refactor(deployment): 将应用从 gatewayyy 重命名为 nginix

- 更新了 deployment、ingress 和 service 文件中的应用名称
- 修改了相关的服务和 Ingress 资源名称
- 更新了容器镜像地址
This commit is contained in:
suyiiyii 2024-11-15 21:53:43 +08:00
parent b5c59cfd99
commit cb4613f913
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85
3 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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