Update kube-router to 1.0.0 (#6211)

This commit is contained in:
Florian Ruynat
2020-06-30 17:54:06 +02:00
committed by GitHub
parent ae003af262
commit b064274e27
3 changed files with 11 additions and 3 deletions

View File

@@ -39,6 +39,7 @@ spec:
- --run-firewall={{ kube_router_run_firewall | bool }}
- --run-service-proxy={{ kube_router_run_service_proxy | bool }}
- --kubeconfig=/var/lib/kube-router/kubeconfig
- --bgp-graceful-restart=true
{% if kube_router_advertise_cluster_ip %}
- --advertise-cluster-ip
{% endif %}
@@ -75,7 +76,7 @@ spec:
httpGet:
path: /healthz
port: 20244
initialDelaySeconds: 5
initialDelaySeconds: 10
periodSeconds: 3
resources:
requests:
@@ -97,6 +98,9 @@ spec:
- name: kubeconfig
mountPath: /var/lib/kube-router
readOnly: true
- name: xtables-lock
mountPath: /run/xtables.lock
readOnly: false
{% if kube_router_enable_metrics %}
ports:
- containerPort: {{ kube_router_metrics_port }}
@@ -128,6 +132,10 @@ spec:
- name: kubeconfig
hostPath:
path: /var/lib/kube-router
- name: xtables-lock
hostPath:
path: /run/xtables.lock
type: FileOrCreate
---
apiVersion: v1