From 4fed60fdde32da54c71e7ece4d0323faf70e01ff Mon Sep 17 00:00:00 2001 From: M00nF1sh Date: Thu, 27 Oct 2022 16:14:04 -0700 Subject: [PATCH] v1.12 Helm chart changes and release manifests (#2122) * v1.12 Helm chart changes and release manifests * update readme for container runtime * update readme for container runtime --- README.md | 21 ++++++++++--------- charts/aws-vpc-cni/Chart.yaml | 4 ++-- charts/aws-vpc-cni/README.md | 1 - charts/aws-vpc-cni/templates/daemonset.yaml | 16 -------------- charts/aws-vpc-cni/values.yaml | 8 ++----- config/master/aws-k8s-cni-cn.yaml | 19 +++++++---------- config/master/aws-k8s-cni-us-gov-east-1.yaml | 19 +++++++---------- config/master/aws-k8s-cni-us-gov-west-1.yaml | 19 +++++++---------- config/master/aws-k8s-cni.yaml | 19 +++++++---------- config/master/cni-metrics-helper-cn.yaml | 2 +- .../cni-metrics-helper-us-gov-east-1.yaml | 2 +- .../cni-metrics-helper-us-gov-west-1.yaml | 2 +- config/master/cni-metrics-helper.yaml | 2 +- config/master/manifests.jsonnet | 4 +--- 14 files changed, 48 insertions(+), 90 deletions(-) diff --git a/README.md b/README.md index 677d7effe2..76e25f1a63 100644 --- a/README.md +++ b/README.md @@ -622,16 +622,17 @@ and the kubelet respectively if you are making use of this tag. ### Container Runtime -Currently, IPAMD uses dockershim socket to pull pod sandboxes information upon its starting. The runtime can be set to others. -The mountPath should be changed to `/var/run/cri.sock` and hostPath should be pointed to the wanted socket, such as -`/var/run/containerd/containerd.sock` for containerd. If using helm chart, the flag `--set cri.hostPath.path=/var/run/containerd/containerd.sock` -can set the paths for you. - -*Note*: - -* When using a different container runtime instead of dockershim in VPC CNI, make sure kubelet is also configured to use the same CRI. -* If you want to enable containerd runtime with the support provided by Amazon AMI, please follow the instructions in our documentation, [Enable the containerd runtime bootstrap flag](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html#containerd-bootstrap) - +For VPC CNI >=v1.12.0, IPAMD have switched to use an on-disk file `/var/run/aws-node/ipam.json` to track IP allocations, thus became container runtime agnostic and no longer requires access to Container Runtime Interface(CRI) socket. + * **Note**: + * Helm chart >=v1.2.0 is released with VPC CNI v1.12.0, thus no longer supports the `cri.hostPath.path`. If you need to install a VPC CNI