port naming

This commit is contained in:
2024-04-19 09:53:10 +02:00
parent 59189e2f44
commit 3040ffc02e
5 changed files with 13 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ spec:
kind: Rule
services:
- name: adguard-service
port: 80
port: http
---
apiVersion: traefik.io/v1alpha1
@@ -31,4 +31,4 @@ spec:
kind: Rule
services:
- name: adguard-service
port: 3000
port: http-initial

View File

@@ -9,15 +9,15 @@ spec:
ports:
- protocol: TCP
port: 3000
targetPort: 3000
targetPort: http-initial
name: http-initial
- protocol: TCP
port: 80
targetPort: 80
targetPort: http
name: http
- protocol: UDP
port: 53
targetPort: 53
targetPort: dns
name: dns
type: LoadBalancer
loadBalancerIP: 192.168.178.101

View File

@@ -20,9 +20,11 @@ spec:
- image: gitea/gitea:latest
name: gitea
ports:
- containerPort: 3000
- name: http
containerPort: 3000
protocol: TCP
- containerPort: 22
- name: ssh
containerPort: 22
protocol: TCP
resources: {}
volumeMounts:

View File

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

View File

@@ -6,12 +6,12 @@ metadata:
name: gitea
spec:
ports:
- name: web
- name: http
port: 80
targetPort: 3000
targetPort: http
- name: ssh
port: 22
targetPort: 22
targetPort: ssh
selector:
app: gitea
status: