What happened:
Cannot specify "1.7.1" version in URL for aws-k8s-cni.yaml file as mentioned in table on https://docs.aws.amazon.com/eks/latest/userguide/update-cluster.html Previously, we'd specify the particular version in a URL template like so: https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/release-{full version here}/config/v{major minor only here}/aws-k8s-cni.yaml. However, due to the lack of a release-1.7.1 branch, which may or may not have been intentional, we can only specify the release-1.7 branch which presumably might result in the patch version being updated as new commits are added to that branch. Should a branch be present which incorporates the full version number or is this approach changing moving forward to prohibit referencing specific versions? Alternatively, should the instructions https://docs.aws.amazon.com/eks/latest/userguide/update-cluster.html be altered to specify use of a github tag based URL instead? Or to not specify a particular patch version of CNI plugin?
Environment:
kubectl version): updating to EKS 1.16cat /etc/os-release):uname -a):Like @rehevkor5 mentioned to me earlier, we can pull the file instead from:
https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/v1.7.1/config/v1.7/aws-k8s-cni.yaml
In this way, I can keep the major.minor.patch versioning in place.
old nodes running on CNI 1.7.1 while newly scaled nodes to have CNI 1.7.2
Pull policy is not relevant here, the version is controlled explicitly in the DaemonSet. (disregard, was in response to deleted text).
You can pull the file instead from:
https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/v1.7.1/config/v1.7/aws-k8s-cni.yaml
Yes, this is what I am referring to in "should the instructions https://docs.aws.amazon.com/eks/latest/userguide/update-cluster.html be altered to specify use of a github tag based URL instead?"
@rehevkor5 Yes, you are absolutely correct. We should rely on the tags instead, since creating "patch" branches was getting too messy. I'll make sure to update the docs ASAP!
@mogren Ok, and if that is the case then should tags like "v1.6.3" be referring to release candidate versions like v1.6.3-rc1 in https://github.com/aws/amazon-vpc-cni-k8s/blob/v1.6.3/config/v1.6/aws-k8s-cni.yaml#L102 or is that a mistake?
@rehevkor5 You are right, we should definitely verify that all the tags are set correctly before updating the docs.
https://github.com/aws/amazon-vpc-cni-k8s/releases/tag/v1.6.3 now points to the correct commit. Also verified that all other tags back to v1.5.3 are pointing to the correct config files.
Hi @rehevkor5
Since @mogren verified the tags to be correct, we will be closing this issue. Please reopen it if you still see any issues.
Thanks.
Most helpful comment
Pull policy is not relevant here, the version is controlled explicitly in the DaemonSet. (disregard, was in response to deleted text).
Yes, this is what I am referring to in "should the instructions https://docs.aws.amazon.com/eks/latest/userguide/update-cluster.html be altered to specify use of a github tag based URL instead?"