Update ingress and service definitions

Remove type loadBalancer from service.
This commit is contained in:
erik 2022-09-23 10:21:44 +02:00
parent 4cf689e27f
commit c943dadf17
2 changed files with 7 additions and 10 deletions

View file

@ -19,6 +19,6 @@ spec:
path: "/"
backend:
service:
name: website-service
name: nginx-service
port:
number: 80

View file

@ -5,15 +5,12 @@ metadata:
labels:
app: nginx
namespace: default
spec:
type: LoadBalancer
ipFamilyPolicy: PreferDualStack
spec:
selector:
app: nginx
ports:
- port: 80
targetPort: 80
name: http
- port: 443
targetPort: 443
name: https
- name: nginx-http
port: 80
- name: nginx-https
port: 443