Closed Mik4sa closed 7 months ago
I'm also looking for new flannel images but cannot find any.
Is the workaround to build them yourself for now?
See https://github.com/kubernetes-sigs/sig-windows-tools/issues/336#issuecomment-1633854019
To build your own images prepare a docker installation powered by linux containers on a windows system. Execute this command to create the builder needed to build flannel and kube-proxy:
docker buildx create --name img-builder --use --platform windows/amd64
Afterwars clone this repo and checkout the master branch. Open this folder in a terminal
/hostprocess/flannel/flanneld
. Set$flannelVersion
and$repository
accordingly. I used for example$flannelVersion="v0.21.5"
and$repository="mik4sa"
. Last but not least execute this command to build and push your image:docker buildx build --provenance=false --sbom=false --platform windows/amd64 --output=type=registry --pull --build-arg=flannelVersion=$flannelVersion -f Dockerfile -t $repository/flannel:$flannelVersion-hostprocess .
Next open this folder in a terminal
/hostprocess/flannel/kube-proxy
. Set$proxyVersion
and$repository
accordingly. I used for example$proxyVersion="v1.27.1"
and$repository="mik4sa"
. Last but not least execute this command to build and push your image:docker buildx build --provenance=false --sbom=false --platform windows/amd64 --output=type=registry --pull --build-arg=k8sVersion=$proxyVersion -f Dockerfile -t $repository/kube-proxy:$proxyVersion-flannel-hostprocess .
In the manifest you apply, so
flannel-overlay.yml
andkube-proxy.yml
you need to reference the image you just created. So changeimage: sigwindowstools/[...]
toimage: mik4sa/[...]
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
Describe the bug The images, atleast for flannel and kube-proxy, are outdated (see https://github.com/kubernetes-sigs/sig-windows-tools/pull/308#issuecomment-1551110003 and #316). We should push a new version to docker hub.
Also I feel like we should add an action to automatically push new Versions. Do you agree?