s
This commit is contained in:
parent
334d6bc4ba
commit
da29395ebe
@ -40,6 +40,25 @@ traefik:
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: cloudflared-secrets
|
||||
- image: roxedus/playground:cloudflare
|
||||
name: auto-cloudflare
|
||||
resources:
|
||||
limits:
|
||||
cpu: "800m"
|
||||
memory: "100Mi"
|
||||
requests:
|
||||
cpu: "300m"
|
||||
memory: "40Mi"
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: auto-cloudflared-secrets
|
||||
env:
|
||||
- name: TRAEFIK_SERVICE_ENDPOINT
|
||||
value: http://localhost:8080
|
||||
- name: TRAEFIK_API_ENDPOINT
|
||||
value: http://localhost:9000
|
||||
- name: TRAEFIK_ENTRYPOINT
|
||||
value: web
|
||||
# volumeMounts:
|
||||
# - name: dsdsocket
|
||||
# mountPath: /socket
|
||||
@ -299,7 +318,7 @@ traefik:
|
||||
# liveness probes, but you can adjust its config to your liking
|
||||
traefik:
|
||||
port: 9000
|
||||
expose: true
|
||||
expose: false
|
||||
# The exposed port for this service
|
||||
exposedPort: 9000
|
||||
# The port protocol (TCP/UDP)
|
||||
@ -307,8 +326,8 @@ traefik:
|
||||
web:
|
||||
port: 8000
|
||||
# hostPort: 8000
|
||||
expose: true
|
||||
#exposedPort: 80
|
||||
expose: false
|
||||
exposedPort: 80
|
||||
# The port protocol (TCP/UDP)
|
||||
protocol: TCP
|
||||
# Use nodeport if set. This is useful if you have configured Traefik in a
|
||||
|
@ -1,35 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: auto-cloudflare
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: auto-cloudflare
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: auto-cloudflare
|
||||
spec:
|
||||
containers:
|
||||
- image: roxedus/playground:cloudflare
|
||||
name: auto-cloudflare
|
||||
resources:
|
||||
limits:
|
||||
cpu: "800m"
|
||||
memory: "100Mi"
|
||||
requests:
|
||||
cpu: "300m"
|
||||
memory: "40Mi"
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: auto-cloudflared-secrets
|
||||
env:
|
||||
- name: TRAEFIK_SERVICE_ENDPOINT
|
||||
value: http://traefik:8080
|
||||
- name: TRAEFIK_API_ENDPOINT
|
||||
value: http://traefik:9000
|
||||
- name: TRAEFIK_ENTRYPOINT
|
||||
value: web
|
Loading…
Reference in New Issue
Block a user