Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update kubectl version to 1.21.8 #21

Merged

Conversation

maxsokolovsky
Copy link
Contributor

No description provided.

@@ -5,7 +5,7 @@ RUN make -C /helm
FROM alpine:3.12 AS build
ARG ARCH=amd64
RUN apk add -U curl xz
ENV KUBECTL_VERSION v1.19.7
ENV KUBECTL_VERSION v1.21.8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you confirm that this is valid with k8s 1.17 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, checked using Rancher Desktop with Kubernetes v1.17.17 and kubectl v1.21.8.
On regular operations, like kubectl run/get/describe, there are no errors or warnings.
There is a warning, however, in kubectl version:

./kubectl version --short               
Client Version: v1.21.8
Server Version: v1.17.17+k3s1
WARNING: version difference between client (1.21) and server (1.17) exceeds the supported minor version skew of +/-1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh so officially its +/- 1, then doing 1 down from the latest makes most sense, which for 2.6.4 is 1.21.

@maxsokolovsky maxsokolovsky merged commit 355ab25 into rancher:master Jan 4, 2022
@maxsokolovsky maxsokolovsky deleted the update-kubectl-to-1.22.8 branch February 2, 2022 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants