Update ingress and service definitions
Remove type loadBalancer from service.
This commit is contained in:
parent
4cf689e27f
commit
c943dadf17
2 changed files with 7 additions and 10 deletions
|
@ -19,6 +19,6 @@ spec:
|
||||||
path: "/"
|
path: "/"
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: website-service
|
name: nginx-service
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
|
|
|
@ -5,15 +5,12 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
app: nginx
|
app: nginx
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
|
||||||
ipFamilyPolicy: PreferDualStack
|
|
||||||
selector:
|
selector:
|
||||||
app: nginx
|
app: nginx
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- name: nginx-http
|
||||||
targetPort: 80
|
port: 80
|
||||||
name: http
|
- name: nginx-https
|
||||||
- port: 443
|
port: 443
|
||||||
targetPort: 443
|
|
||||||
name: https
|
|
Loading…
Reference in a new issue