1
This commit is contained in:
parent
cf9865ef88
commit
e6e093b7a1
@ -6,7 +6,7 @@ metadata:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "10m"
|
||||
nginx.ingress.kubernetes.io/use-forwarded-headers: "true"
|
||||
nginx.ingress.kubernetes.io/auth-tls-secret: "gp2504/ca-secret"
|
||||
nginx.ingress.kubernetes.io/auth-tls-secret: "gp2505/ca-secret"
|
||||
nginx.ingress.kubernetes.io/auth-tls-verify-client: "on"
|
||||
nginx.ingress.kubernetes.io/auth-tls-verify-depth: "2"
|
||||
nginx.ingress.kubernetes.io/auth-tls-pass-certificate-to-upstream: "true"
|
||||
@ -18,14 +18,14 @@ metadata:
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- api-g2504.qq.com
|
||||
- h5-g2504.qq.com
|
||||
- down-g2504.qq.com
|
||||
- admin-g2504.qq.com
|
||||
- agent-g2504.qq.com
|
||||
- api-g2505.qq.com
|
||||
- h5-g2505.qq.com
|
||||
- down-g2505.qq.com
|
||||
- admin-g2505.qq.com
|
||||
- agent-g2505.qq.com
|
||||
secretName: tls-secret
|
||||
rules:
|
||||
- host: api-g2504.qq.com
|
||||
- host: api-g2505.qq.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
@ -42,7 +42,7 @@ spec:
|
||||
name: external-service
|
||||
port:
|
||||
number: 80
|
||||
- host: down-g2504.qq.com
|
||||
- host: down-g2505.qq.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
@ -59,7 +59,7 @@ spec:
|
||||
name: download-api-service
|
||||
port:
|
||||
number: 80
|
||||
- host: h5-g2504.qq.com
|
||||
- host: h5-g2505.qq.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
@ -83,7 +83,7 @@ spec:
|
||||
name: external-service
|
||||
port:
|
||||
number: 80
|
||||
- host: admin-g2504.qq.com
|
||||
- host: admin-g2505.qq.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
@ -114,7 +114,7 @@ spec:
|
||||
name: external-service
|
||||
port:
|
||||
number: 80
|
||||
- host: agent-g2504.qq.com
|
||||
- host: agent-g2505.qq.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: gp2504
|
||||
namespace: gp2505
|
||||
|
||||
resources:
|
||||
- api2.yaml
|
||||
|
||||
@ -7,6 +7,6 @@ spec:
|
||||
ports:
|
||||
- port: 6379
|
||||
targetPort: 6379
|
||||
nodePort: 32504 # 可选,如果不指定,Kubernetes 会自动分配
|
||||
nodePort: 32505
|
||||
selector:
|
||||
app: redis
|
||||
Loading…
x
Reference in New Issue
Block a user