diff --git a/.github/workflows/run-test-cases.yml b/.github/workflows/run-test-cases.yml index 2fa3ed0de..143c291e1 100644 --- a/.github/workflows/run-test-cases.yml +++ b/.github/workflows/run-test-cases.yml @@ -133,8 +133,6 @@ jobs: version: v1.21.5+k3s1 - runtime: K3s-1.22 version: v1.22.6+k3s1 - - runtime: Kubernetes-1.16 - version: 1.16.15-00 - runtime: Kubernetes-1.17 version: 1.17.14-00 - runtime: Kubernetes-1.18 @@ -228,6 +226,21 @@ jobs: kubectl version && echo "kubectl return code: $?" || echo "kubectl return code: $?" kubeadm version && echo "kubeadm return code: $?" || echo "kubeadm return code: $?" kubelet --version && echo "kubelet return code: $?" || echo "kubelet return code: $?" + cat <", ""] edition = "2018" rust-version = "1.61.0" diff --git a/controller/Cargo.toml b/controller/Cargo.toml index 42da2a8f5..938fd5850 100644 --- a/controller/Cargo.toml +++ b/controller/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "controller" -version = "0.8.18" +version = "0.8.19" authors = ["", ""] edition = "2018" rust-version = "1.61.0" diff --git a/deployment/helm/Chart.yaml b/deployment/helm/Chart.yaml index b95db5f22..de55b7f06 100644 --- a/deployment/helm/Chart.yaml +++ b/deployment/helm/Chart.yaml @@ -15,9 +15,9 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.8.18 +version: 0.8.19 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 0.8.18 +appVersion: 0.8.19 diff --git a/deployment/helm/templates/agent.yaml b/deployment/helm/templates/agent.yaml index dcd436799..c65f519a9 100644 --- a/deployment/helm/templates/agent.yaml +++ b/deployment/helm/templates/agent.yaml @@ -65,9 +65,9 @@ spec: - name: HOST_CRICTL_PATH value: /usr/local/bin/crictl - name: HOST_RUNTIME_ENDPOINT - value: unix:///host/var/run/dockershim.sock + value: unix:///host/run/containerd/containerd.sock - name: HOST_IMAGE_ENDPOINT - value: unix:///host/var/run/dockershim.sock + value: unix:///host/run/containerd/containerd.sock - name: AGENT_NODE_NAME valueFrom: fieldRef: @@ -80,7 +80,7 @@ spec: - name: device-plugin mountPath: /var/lib/kubelet/device-plugins - name: var-run-dockershim - mountPath: /host/var/run/dockershim.sock + mountPath: /host/run/containerd/containerd.sock {{- if .Values.agent.host.udev }} - name: devices mountPath: /run/udev @@ -110,13 +110,13 @@ spec: {{- else if eq .Values.kubernetesDistro "k3s" }} path: "/run/k3s/containerd/containerd.sock" {{- else if eq .Values.kubernetesDistro "k8s" }} - path: "/var/run/dockershim.sock" + path: "/run/containerd/containerd.sock" {{- else }} # Please set container runtime socket by either selecting the appropriate K8s distro `kubernetesDistro=` # or setting `agent.host.containerRuntimeSocket=/container/runtime.sock`. # See https://docs.akri.sh/user-guide/cluster-setup for more information. - # Using K8s default "/var/run/dockershim.sock" for now. - path: "/var/run/dockershim.sock" + # Using K8s default "/run/containerd/containerd.sock" for now. + path: "/run/containerd/containerd.sock" {{- end }} {{- if .Values.agent.host.udev }} - name: devices diff --git a/deployment/helm/values.yaml b/deployment/helm/values.yaml index 6a535fc90..7412cd943 100644 --- a/deployment/helm/values.yaml +++ b/deployment/helm/values.yaml @@ -101,7 +101,7 @@ agent: # containerRuntimeSocket is the default node path of the container runtime socket. # For MicroK8s, set to "/var/snap/microk8s/common/run/containerd.sock" # For K3s, set to "/run/k3s/containerd/containerd.sock" - # For standard K8s, set to "/var/run/dockershim.sock" + # For standard K8s, set to "/run/containerd/containerd.sock" containerRuntimeSocket: "" # udev is the node path of udev, usually at `/run/udev` udev: diff --git a/discovery-handler-modules/debug-echo-discovery-handler/Cargo.toml b/discovery-handler-modules/debug-echo-discovery-handler/Cargo.toml index 690068cdb..397eeda13 100644 --- a/discovery-handler-modules/debug-echo-discovery-handler/Cargo.toml +++ b/discovery-handler-modules/debug-echo-discovery-handler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "debug-echo-discovery-handler" -version = "0.8.18" +version = "0.8.19" authors = ["Kate Goldenring "] edition = "2018" rust-version = "1.61.0" diff --git a/discovery-handler-modules/onvif-discovery-handler/Cargo.toml b/discovery-handler-modules/onvif-discovery-handler/Cargo.toml index 8e08fa520..d503fc327 100644 --- a/discovery-handler-modules/onvif-discovery-handler/Cargo.toml +++ b/discovery-handler-modules/onvif-discovery-handler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "onvif-discovery-handler" -version = "0.8.18" +version = "0.8.19" authors = ["Kate Goldenring "] edition = "2018" rust-version = "1.61.0" diff --git a/discovery-handler-modules/opcua-discovery-handler/Cargo.toml b/discovery-handler-modules/opcua-discovery-handler/Cargo.toml index eaa0297d6..ae2f466d5 100644 --- a/discovery-handler-modules/opcua-discovery-handler/Cargo.toml +++ b/discovery-handler-modules/opcua-discovery-handler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-discovery-handler" -version = "0.8.18" +version = "0.8.19" authors = ["Kate Goldenring "] edition = "2018" rust-version = "1.61.0" diff --git a/discovery-handler-modules/udev-discovery-handler/Cargo.toml b/discovery-handler-modules/udev-discovery-handler/Cargo.toml index 88d9b1f50..683362c58 100644 --- a/discovery-handler-modules/udev-discovery-handler/Cargo.toml +++ b/discovery-handler-modules/udev-discovery-handler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "udev-discovery-handler" -version = "0.8.18" +version = "0.8.19" authors = ["Kate Goldenring "] edition = "2018" rust-version = "1.61.0" diff --git a/discovery-handlers/debug-echo/Cargo.toml b/discovery-handlers/debug-echo/Cargo.toml index a76367622..e11836cd9 100644 --- a/discovery-handlers/debug-echo/Cargo.toml +++ b/discovery-handlers/debug-echo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "akri-debug-echo" -version = "0.8.18" +version = "0.8.19" authors = ["Kate Goldenring "] edition = "2018" rust-version = "1.61.0" diff --git a/discovery-handlers/onvif/Cargo.toml b/discovery-handlers/onvif/Cargo.toml index 2e4a29e57..37f86e435 100644 --- a/discovery-handlers/onvif/Cargo.toml +++ b/discovery-handlers/onvif/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "akri-onvif" -version = "0.8.18" +version = "0.8.19" authors = ["Kate Goldenring "] edition = "2018" rust-version = "1.61.0" diff --git a/discovery-handlers/opcua/Cargo.toml b/discovery-handlers/opcua/Cargo.toml index 38471e3c1..1386bb67a 100644 --- a/discovery-handlers/opcua/Cargo.toml +++ b/discovery-handlers/opcua/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "akri-opcua" -version = "0.8.18" +version = "0.8.19" authors = ["Kate Goldenring "] edition = "2018" rust-version = "1.61.0" diff --git a/discovery-handlers/udev/Cargo.toml b/discovery-handlers/udev/Cargo.toml index 99d0f8a39..362abae32 100644 --- a/discovery-handlers/udev/Cargo.toml +++ b/discovery-handlers/udev/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "akri-udev" -version = "0.8.18" +version = "0.8.19" authors = ["Kate Goldenring "] edition = "2018" rust-version = "1.61.0" diff --git a/discovery-utils/Cargo.toml b/discovery-utils/Cargo.toml index 3e4ead0db..f718dbf27 100644 --- a/discovery-utils/Cargo.toml +++ b/discovery-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "akri-discovery-utils" -version = "0.8.18" +version = "0.8.19" authors = ["Kate Goldenring "] edition = "2018" rust-version = "1.61.0" diff --git a/samples/brokers/udev-video-broker/Cargo.toml b/samples/brokers/udev-video-broker/Cargo.toml index bdc0af565..d5e226dff 100644 --- a/samples/brokers/udev-video-broker/Cargo.toml +++ b/samples/brokers/udev-video-broker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "udev-video-broker" -version = "0.8.18" +version = "0.8.19" authors = ["Kate Goldenring ", ""] edition = "2018" rust-version = "1.61.0" diff --git a/shared/Cargo.toml b/shared/Cargo.toml index 4dadaa4d0..25a1981cc 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "akri-shared" -version = "0.8.18" +version = "0.8.19" authors = [""] edition = "2018" rust-version = "1.61.0" diff --git a/test/helm-lint-values.yaml b/test/helm-lint-values.yaml index 26c312da7..3e007e3db 100644 --- a/test/helm-lint-values.yaml +++ b/test/helm-lint-values.yaml @@ -4,7 +4,7 @@ # `helm lint deployment/helm/ --set debugEcho.discovery.enabled=true,debugEcho.configuration.enabled=true,udev.discovery.enabled=true,udev.configuration.enabled=true,udev.configuration.discoveryDetails.udevRules[0]='KERNEL=="video[0-9]*"'...` agent: host: - containerRuntimeSocket: "/var/run/dockershim.sock" + containerRuntimeSocket: "/run/containerd/containerd.sock" debugEcho: discovery: enabled: true diff --git a/test/json/node-a-no-conditions.json b/test/json/node-a-no-conditions.json index b44154f43..df5a9a264 100644 --- a/test/json/node-a-no-conditions.json +++ b/test/json/node-a-no-conditions.json @@ -3,7 +3,7 @@ "kind": "Node", "metadata": { "annotations": { - "kubeadm.alpha.kubernetes.io/cri-socket": "/var/run/dockershim.sock", + "kubeadm.alpha.kubernetes.io/cri-socket": "/run/containerd/containerd.sock", "node.alpha.kubernetes.io/ttl": "0", "volumes.kubernetes.io/controller-managed-attach-detach": "true" }, diff --git a/test/json/node-a-no-ready-condition.json b/test/json/node-a-no-ready-condition.json index 6091b0a0e..315544372 100644 --- a/test/json/node-a-no-ready-condition.json +++ b/test/json/node-a-no-ready-condition.json @@ -3,7 +3,7 @@ "kind": "Node", "metadata": { "annotations": { - "kubeadm.alpha.kubernetes.io/cri-socket": "/var/run/dockershim.sock", + "kubeadm.alpha.kubernetes.io/cri-socket": "/run/containerd/containerd.sock", "node.alpha.kubernetes.io/ttl": "0", "volumes.kubernetes.io/controller-managed-attach-detach": "true" }, diff --git a/test/json/node-a-not-ready.json b/test/json/node-a-not-ready.json index c3994b99c..5aa3f4a71 100644 --- a/test/json/node-a-not-ready.json +++ b/test/json/node-a-not-ready.json @@ -3,7 +3,7 @@ "kind": "Node", "metadata": { "annotations": { - "kubeadm.alpha.kubernetes.io/cri-socket": "/var/run/dockershim.sock", + "kubeadm.alpha.kubernetes.io/cri-socket": "/run/containerd/containerd.sock", "node.alpha.kubernetes.io/ttl": "0", "volumes.kubernetes.io/controller-managed-attach-detach": "true" }, diff --git a/test/json/node-a.json b/test/json/node-a.json index d3c16eb32..efd783db9 100644 --- a/test/json/node-a.json +++ b/test/json/node-a.json @@ -3,7 +3,7 @@ "kind": "Node", "metadata": { "annotations": { - "kubeadm.alpha.kubernetes.io/cri-socket": "/var/run/dockershim.sock", + "kubeadm.alpha.kubernetes.io/cri-socket": "/run/containerd/containerd.sock", "node.alpha.kubernetes.io/ttl": "0", "volumes.kubernetes.io/controller-managed-attach-detach": "true" }, diff --git a/test/json/node-b-not-ready.json b/test/json/node-b-not-ready.json index 128f07d25..25b983260 100644 --- a/test/json/node-b-not-ready.json +++ b/test/json/node-b-not-ready.json @@ -3,7 +3,7 @@ "kind": "Node", "metadata": { "annotations": { - "kubeadm.alpha.kubernetes.io/cri-socket": "/var/run/dockershim.sock", + "kubeadm.alpha.kubernetes.io/cri-socket": "/run/containerd/containerd.sock", "node.alpha.kubernetes.io/ttl": "0", "volumes.kubernetes.io/controller-managed-attach-detach": "true" }, diff --git a/test/json/node-b.json b/test/json/node-b.json index c5eeb22f2..a270ad0b0 100644 --- a/test/json/node-b.json +++ b/test/json/node-b.json @@ -3,7 +3,7 @@ "kind": "Node", "metadata": { "annotations": { - "kubeadm.alpha.kubernetes.io/cri-socket": "/var/run/dockershim.sock", + "kubeadm.alpha.kubernetes.io/cri-socket": "/run/containerd/containerd.sock", "node.alpha.kubernetes.io/ttl": "0", "volumes.kubernetes.io/controller-managed-attach-detach": "true" }, diff --git a/version.txt b/version.txt index 492fd93bc..ad2cbac07 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.8.18 +0.8.19 diff --git a/webhooks/validating/configuration/Cargo.toml b/webhooks/validating/configuration/Cargo.toml index 192ee5679..9ddba359f 100644 --- a/webhooks/validating/configuration/Cargo.toml +++ b/webhooks/validating/configuration/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "webhook-configuration" -version = "0.8.18" +version = "0.8.19" authors = ["DazWilkin "] edition = "2018" rust-version = "1.61.0"