mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 15:59:45 +00:00
Use NodePort instead of LoadBalancer
This commit is contained in:
parent
16b8eaa969
commit
9473e8be8c
1 changed files with 3 additions and 1 deletions
|
|
@ -451,16 +451,18 @@ spec:
|
||||||
externalTrafficPolicy: Local
|
externalTrafficPolicy: Local
|
||||||
ports:
|
ports:
|
||||||
- name: proxy
|
- name: proxy
|
||||||
|
nodePort: 31080
|
||||||
port: 80
|
port: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 8000
|
targetPort: 8000
|
||||||
- name: proxy-ssl
|
- name: proxy-ssl
|
||||||
port: 443
|
port: 443
|
||||||
|
nodePort: 31443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 8443
|
targetPort: 8443
|
||||||
selector:
|
selector:
|
||||||
app: ingress-kong
|
app: ingress-kong
|
||||||
type: LoadBalancer
|
type: NodePort
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue