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

(IAC-553) move to kubectl 1.22.10 to support k8s 1.23 #236

Merged
merged 3 commits into from
Jun 13, 2022

Conversation

dhoucgitter
Copy link
Member

@dhoucgitter dhoucgitter commented Jun 8, 2022

Changes

Because Viya will support K8s 1.21, 1.22 and 1.23 in June 2022, the version of kubectl needs to be bumped up to 1.22 so that it will be in the required -1/+1 range for supported versions of K8s.

Tests

Cloud Provider kubectl version K8s version Cadence Deployment Stabilized
Azure 1.22.10 1.21.9 Fast:2020 Yes
Azure 1.22.10 1.21.7 Fast:2020 Yes
Azure 1.22.10 1.22.6 Fast:2020 Yes
Azure 1.22.10 1.23.5 Fast:2020 Yes
AWS 1.22.10 1.22.9 Fast:2020 Yes

@dhoucgitter dhoucgitter added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 8, 2022
Copy link
Member

@thpang thpang left a comment

Choose a reason for hiding this comment

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

Looking for an answer on question

Dockerfile Outdated
@@ -45,8 +47,7 @@ ENV HOME=/viya4-deployment
RUN pip install -r ./requirements.txt \
&& ansible-galaxy install -r ./requirements.yaml \
&& chmod -R g=u /etc/passwd /etc/group /viya4-deployment/ \
&& chmod 755 /viya4-deployment/docker-entrypoint.sh \
&& git config --system --add safe.directory /viya4-deployment
Copy link
Member

Choose a reason for hiding this comment

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

Why was this removed? If someone clones this repo it'll have a value.

Copy link
Member Author

@dhoucgitter dhoucgitter Jun 8, 2022

Choose a reason for hiding this comment

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

I removed line 49 since for this Dockerfile the /viya4-deployment folder is not a git managed folder and when I ran "docker build" with that line in place, I got a git error indicating that. Removing the line allowed me to build the container.

Copy link
Member Author

@dhoucgitter dhoucgitter Jun 13, 2022

Choose a reason for hiding this comment

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

@thpang, I restored the deleted line after our discussion, ready for re-review

@AWSmith0216
Copy link
Contributor

I've made similar comments elsewhere, but saying that "Viya will support K8s 1.21, 1.22 and 1.23 in June 2022" isn't quite accurate. Those versions will be supported at fast/2020, but lts/2022.1, which just came out in May 2022, only supports 1.20-1.22. Another LTS won't be released until November or thereabouts. So if kubectl is bumped to 1.22, this project would be using an unsupported kubectl version for LTS deployments into K8S 1.20.

That being said, I'm not saying this update shouldn't occur, and perhaps I'm being nitpicky. But it's something to keep in mind.

Copy link
Member

@thpang thpang left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jarpat jarpat left a comment

Choose a reason for hiding this comment

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

👍

@dhoucgitter dhoucgitter merged commit 362788f into staging Jun 13, 2022
@dhoucgitter dhoucgitter deleted the f-iac-553-only branch June 13, 2022 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants