port naming
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -14,4 +14,4 @@ spec:
|
||||
kind: Rule
|
||||
services:
|
||||
- name: gitea
|
||||
port: 80
|
||||
port: http
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user