s
This commit is contained in:
parent
334d6bc4ba
commit
da29395ebe
@ -40,6 +40,25 @@ traefik:
|
|||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: cloudflared-secrets
|
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:
|
# volumeMounts:
|
||||||
# - name: dsdsocket
|
# - name: dsdsocket
|
||||||
# mountPath: /socket
|
# mountPath: /socket
|
||||||
@ -299,7 +318,7 @@ traefik:
|
|||||||
# liveness probes, but you can adjust its config to your liking
|
# liveness probes, but you can adjust its config to your liking
|
||||||
traefik:
|
traefik:
|
||||||
port: 9000
|
port: 9000
|
||||||
expose: true
|
expose: false
|
||||||
# The exposed port for this service
|
# The exposed port for this service
|
||||||
exposedPort: 9000
|
exposedPort: 9000
|
||||||
# The port protocol (TCP/UDP)
|
# The port protocol (TCP/UDP)
|
||||||
@ -307,8 +326,8 @@ traefik:
|
|||||||
web:
|
web:
|
||||||
port: 8000
|
port: 8000
|
||||||
# hostPort: 8000
|
# hostPort: 8000
|
||||||
expose: true
|
expose: false
|
||||||
#exposedPort: 80
|
exposedPort: 80
|
||||||
# The port protocol (TCP/UDP)
|
# The port protocol (TCP/UDP)
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
# Use nodeport if set. This is useful if you have configured Traefik in a
|
# 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