Skip to content

[WIP] Add bookworm linux/ppc64le variant to kube-cross #3941

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions images/build/cross/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ steps:
- REVISION=$_REVISION
- PROTOBUF_VERSION=$_PROTOBUF_VERSION
- REGISTRY=$_REGISTRY
- PLATFORMS=$_PLATFORMS
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
# set the home to /root explicitly to if using docker buildx
- HOME=/root
Expand All @@ -45,6 +46,7 @@ substitutions:
_REVISION: '0'
_PROTOBUF_VERSION: '0.0.0'
_REGISTRY: 'fake.repository/registry-name'
_PLATFORMS: 'linux/amd64 linux/arm64'

tags:
- 'kube-cross'
Expand Down
10 changes: 10 additions & 0 deletions images/build/cross/variants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ variants:
GO_MAJOR_VERSION: '1.23'
OS_CODENAME: 'bullseye'
REVISION: '0'
v1.33-go1.23-bookworm:
Copy link
Member

Choose a reason for hiding this comment

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

I think we are not using bookworm right now for cross because it have a newer libc that conflict with the kubelet or something, dont remember exactly

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, @cpanato, you're right! We made this decision because the kubelet binary is not statically linked.

This new variant is being introduced to enable building and testing Kubernetes on the ppc64le architecture with the new infrastructure.

CONFIG: 'go1.23-bookworm'
TYPE: 'default'
IMAGE_VERSION: 'v1.33.0-go1.23.6-bookworm.0'
KUBERNETES_VERSION: 'v1.33.0'
GO_VERSION: '1.23.6'
GO_MAJOR_VERSION: '1.23'
OS_CODENAME: 'bookworm'
REVISION: '0'
PLATFORMS: 'linux/ppc64le'
v1.32-go1.23-bullseye:
CONFIG: 'go1.23-bullseye'
TYPE: 'default'
Expand Down