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

Add kubernetes-1.27 package and variants #3046

Merged
merged 1 commit into from
May 8, 2023

Conversation

stmcginnis
Copy link
Contributor

@stmcginnis stmcginnis commented Apr 24, 2023

Issue number:

N/A

Description of changes:

This adds a new package for installing k8s 1.27. It also adds all variants for the -k8s- variant.

Testing done:

  • aarch64 IPv4 conformance tests
  • aarch64 IPv6 conformance tests
  • aarch64 NVIDIA smoke tests
  • x86_64 IPv4 conformance tests
  • x86_64 IPv6 conformance tests
  • x86_64 NVIDIA smoke tests
  • metal-k8s-1.27 validation
  • vmware-k8s-1.27 validation

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

sources/models/README.md Outdated Show resolved Hide resolved
sources/models/README.md Outdated Show resolved Hide resolved
sources/models/README.md Outdated Show resolved Hide resolved
Makefile.toml Outdated Show resolved Hide resolved
@stmcginnis stmcginnis marked this pull request as ready for review May 5, 2023 00:18
Comment on lines +1 to +9
[Service]
# Pull the pause container image before starting `kubelet` so `containerd/cri` wouldn't have to
ExecStartPre=/usr/bin/host-ctr \
--containerd-socket=/run/containerd/containerd.sock \
--namespace=k8s.io \
pull-image \
--source=${POD_INFRA_CONTAINER_IMAGE} \
--registry-config=/etc/host-containers/host-ctr.toml \
--skip-if-image-exists=true
Copy link
Contributor

Choose a reason for hiding this comment

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

Just curious - do we have a path for getting rid of this at some point? It seems weird that kubelet can't handle this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not familiar with it. We should discuss with someone that has more background on the need for it in the first place. If it is not actually needed we should be able to remove it in a follow on patch.

sources/models/shared-defaults/kubernetes-aws.toml Outdated Show resolved Hide resolved
packages/kubernetes-1.27/kubernetes-1.27.spec Outdated Show resolved Hide resolved
@stmcginnis stmcginnis force-pushed the k8s-1.27 branch 2 times, most recently from c10ac77 to cb6d7e0 Compare May 5, 2023 17:53
packages/kubernetes-1.27/Cargo.toml Outdated Show resolved Hide resolved
This adds a new package for installing k8s 1.27. It also adds all
variants for the *-k8s-* variant.

Signed-off-by: Sean McGinnis <[email protected]>
Copy link
Contributor

@yeazelm yeazelm left a comment

Choose a reason for hiding this comment

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

LGTM

@stmcginnis stmcginnis merged commit 789bc27 into bottlerocket-os:develop May 8, 2023
@stmcginnis stmcginnis deleted the k8s-1.27 branch May 8, 2023 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants