26 lines
825 B
YAML
26 lines
825 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: proxy-gateway
|
|
namespace: proxy-pool
|
|
spec:
|
|
replicas: 1
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: gateway
|
|
env:
|
|
- {name: PROXY_POOL_CONTROL_PLANE_ADDRESS, value: controller:8443}
|
|
- {name: PROXY_POOL_CLUSTER_ID, value: kubernetes-development}
|
|
- {name: PROXY_POOL_WORKER_ID, value: gateway-a}
|
|
- {name: PROXY_POOL_INSTANCE_ID, value: gateway-a-1}
|
|
- {name: PROXY_POOL_ZONE, value: kubernetes-development}
|
|
volumeMounts:
|
|
- name: controlplane-gateway-tls
|
|
mountPath: /run/proxy-pool-tls/client
|
|
readOnly: true
|
|
volumes:
|
|
- name: controlplane-gateway-tls
|
|
secret:
|
|
secretName: proxy-pool-controlplane-gateway-tls
|