Update kube-router to 1.0.0 (#6211)

pull/6351/head
Florian Ruynat 2020-06-30 17:54:06 +02:00 committed by GitHub
parent ae003af262
commit b064274e27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions

View File

@ -128,7 +128,7 @@ Note: Upstart/SysV init based OS types are not supported.
- [contiv](https://github.com/contiv/install) v1.2.1 - [contiv](https://github.com/contiv/install) v1.2.1
- [flanneld](https://github.com/coreos/flannel) v0.12.0 - [flanneld](https://github.com/coreos/flannel) v0.12.0
- [kube-ovn](https://github.com/alauda/kube-ovn) v1.2.1 - [kube-ovn](https://github.com/alauda/kube-ovn) v1.2.1
- [kube-router](https://github.com/cloudnativelabs/kube-router) v0.4.0 - [kube-router](https://github.com/cloudnativelabs/kube-router) v1.0.0
- [multus](https://github.com/intel/multus-cni) v3.4.2 - [multus](https://github.com/intel/multus-cni) v3.4.2
- [weave](https://github.com/weaveworks/weave) v2.6.5 - [weave](https://github.com/weaveworks/weave) v2.6.5
- Application - Application

View File

@ -81,7 +81,7 @@ pod_infra_version: "3.2"
contiv_version: 1.2.1 contiv_version: 1.2.1
cilium_version: "v1.8.0" cilium_version: "v1.8.0"
kube_ovn_version: "v1.2.1" kube_ovn_version: "v1.2.1"
kube_router_version: "v0.4.0" kube_router_version: "v1.0.0"
multus_version: "v3.4.2" multus_version: "v3.4.2"
# Get kubernetes major version (i.e. 1.17.4 => 1.17) # Get kubernetes major version (i.e. 1.17.4 => 1.17)

View File

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