✨ Adds chhoto-url
This commit is contained in:
@@ -15,7 +15,7 @@ spec:
|
||||
labels:
|
||||
app: caddy
|
||||
spec:
|
||||
hostNetwork: true
|
||||
#hostNetwork: true
|
||||
restartPolicy: Always
|
||||
containers:
|
||||
- name: caddy
|
||||
@@ -36,6 +36,11 @@ spec:
|
||||
timeoutSeconds: 1
|
||||
periodSeconds: 10
|
||||
failureThreshold: 3
|
||||
ports:
|
||||
- containerPort: 5001
|
||||
- containerPort: 5002
|
||||
- containerPort: 5030
|
||||
- containerPort: 5567
|
||||
volumeMounts:
|
||||
- name: caddy-file
|
||||
mountPath: /etc/caddy
|
||||
|
@@ -1,4 +1,4 @@
|
||||
apiVersion: apps/v1
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: caddy
|
||||
@@ -6,13 +6,14 @@ spec:
|
||||
selector:
|
||||
app: caddy
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 5001
|
||||
targetPort: 5001
|
||||
- protocol: TCP
|
||||
port: 5002
|
||||
targetPort: 5002
|
||||
- protocol: TCP
|
||||
port: 5033
|
||||
targetPort: 5033
|
||||
- port: 5001
|
||||
name: http1
|
||||
- port: 5002
|
||||
name: http2
|
||||
- port: 5030
|
||||
name: http3
|
||||
- port: 5033
|
||||
name: http4
|
||||
- port: 5567
|
||||
name: http5
|
||||
type: LoadBalancer
|
||||
|
Reference in New Issue
Block a user