1
0
Fork 0
mirror of https://gitlab.com/shouptech/flux.git synced 2026-02-03 23:19:46 +00:00

Use NodePort instead of LoadBalancer

This commit is contained in:
Emma 2020-01-31 12:56:01 -07:00
parent 16b8eaa969
commit 9473e8be8c
No known key found for this signature in database
GPG key ID: 68434BFE85360755

View file

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