From 4f9f0268368dcdb8a51c77e6b5baea32ec43b945 Mon Sep 17 00:00:00 2001 From: Calin Cristian Andrei Date: Tue, 12 Oct 2021 12:03:20 +0000 Subject: [PATCH] netchecker: update images to 1.2.2 from Mirantis which is slightly less ancinet than the l23networks images --- docs/netcheck.md | 2 +- roles/download/defaults/main.yml | 6 +++--- .../ansible/templates/netchecker-server-clusterrole.yml.j2 | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/netcheck.md b/docs/netcheck.md index 9db5e37acca..6a1bf8046e1 100644 --- a/docs/netcheck.md +++ b/docs/netcheck.md @@ -1,7 +1,7 @@ # Network Checker Application With the ``deploy_netchecker`` var enabled (defaults to false), Kubespray deploys a -Network Checker Application from the 3rd side `l23network/k8s-netchecker` docker +Network Checker Application from the 3rd side `mirantis/k8s-netchecker` docker images. It consists of the server and agents trying to reach the server by usual for Kubernetes applications network connectivity meanings. Therefore, this automatically verifies a pod to pod connectivity via the cluster IP and checks diff --git a/roles/download/defaults/main.yml b/roles/download/defaults/main.yml index eb0b1c2e9ec..4788178a9d3 100644 --- a/roles/download/defaults/main.yml +++ b/roles/download/defaults/main.yml @@ -479,10 +479,10 @@ pod_infra_image_repo: "{{ kube_image_repo }}/pause" pod_infra_image_tag: "{{ pod_infra_version }}" install_socat_image_repo: "{{ docker_image_repo }}/xueshanf/install-socat" install_socat_image_tag: "latest" -netcheck_version: "v1.0" -netcheck_agent_image_repo: "{{ quay_image_repo }}/l23network/k8s-netchecker-agent" +netcheck_version: "v1.2.2" +netcheck_agent_image_repo: "{{ docker_image_repo }}/mirantis/k8s-netchecker-agent" netcheck_agent_image_tag: "{{ netcheck_version }}" -netcheck_server_image_repo: "{{ quay_image_repo }}/l23network/k8s-netchecker-server" +netcheck_server_image_repo: "{{ docker_image_repo }}/mirantis/k8s-netchecker-server" netcheck_server_image_tag: "{{ netcheck_version }}" weave_kube_image_repo: "{{ docker_image_repo }}/weaveworks/weave-kube" weave_kube_image_tag: "{{ weave_version }}" diff --git a/roles/kubernetes-apps/ansible/templates/netchecker-server-clusterrole.yml.j2 b/roles/kubernetes-apps/ansible/templates/netchecker-server-clusterrole.yml.j2 index 50b4e1b91ac..9b508e5de0e 100644 --- a/roles/kubernetes-apps/ansible/templates/netchecker-server-clusterrole.yml.j2 +++ b/roles/kubernetes-apps/ansible/templates/netchecker-server-clusterrole.yml.j2 @@ -6,7 +6,7 @@ metadata: rules: - apiGroups: [""] resources: ["pods"] - verbs: ["list"] + verbs: ["list", "get"] - apiGroups: ["apiextensions.k8s.io"] resources: ["customresourcedefinitions"] verbs: ['*']