NodePort to LB
This commit is contained in:
parent
63505ae86f
commit
0914c4b5ec
@ -1,18 +1,32 @@
|
|||||||
|
#apiVersion: v1
|
||||||
|
#kind: Service
|
||||||
|
#metadata:
|
||||||
|
# name: istio-ingressgateway
|
||||||
|
# namespace: istio-system
|
||||||
|
#spec:
|
||||||
|
# type: NodePort
|
||||||
|
# selector:
|
||||||
|
# istio: ingressgateway
|
||||||
|
# ports:
|
||||||
|
# - name: status-port
|
||||||
|
# port: 15021
|
||||||
|
# targetPort: 15021
|
||||||
|
# nodePort: 32751
|
||||||
|
# - name: http
|
||||||
|
# port: 80
|
||||||
|
# targetPort: 80
|
||||||
|
# nodePort: 30080
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: istio-ingressgateway
|
name: istio-ingressgateway
|
||||||
namespace: istio-system
|
namespace: istio-ingress
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
istio: ingressgateway
|
istio: ingressgateway
|
||||||
ports:
|
ports:
|
||||||
- name: status-port
|
- port: 80
|
||||||
port: 15021
|
name: http
|
||||||
targetPort: 15021
|
- port: 443
|
||||||
nodePort: 32751
|
name: https
|
||||||
- name: http
|
|
||||||
port: 80
|
|
||||||
targetPort: 80
|
|
||||||
nodePort: 30080
|
|
||||||
Loading…
x
Reference in New Issue
Block a user