gitops-sample/service.yaml
suyiiyii cb4613f913
refactor(deployment): 将应用从 gatewayyy 重命名为 nginix
- 更新了 deployment、ingress 和 service 文件中的应用名称
- 修改了相关的服务和 Ingress 资源名称
- 更新了容器镜像地址
2024-11-15 21:53:43 +08:00

11 lines
160 B
YAML

apiVersion: v1
kind: Service
metadata:
name: nginix-service
spec:
selector:
app: nginix
ports:
- protocol: TCP
port: 80
targetPort: 80