port names

This commit is contained in:
2024-04-19 10:38:03 +02:00
parent 953203682d
commit cc1b66c1e6
6 changed files with 10 additions and 8 deletions

View File

@@ -18,7 +18,8 @@ spec:
- image: ghcr.io/illiumst/website:latest
name: website
ports:
- containerPort: 80
- name: http
containerPort: 80
protocol: TCP
resources: {}
imagePullSecrets:

View File

@@ -14,4 +14,4 @@ spec:
kind: Rule
services:
- name: website
port: 80
port: http

View File

@@ -7,7 +7,7 @@ metadata:
spec:
ports:
- name: http
port: 9999
targetPort: 80
port: 80
targetPort: http
selector:
app: website