Comments (4)
Here's what I get when I run my fork of kind against an eks-distro release of Kubernetes
Using an EKS-Distro release
./bin/kind build node-image --type release --release-url https://distro.eks.amazonaws.com/kubernetes-1-18/releases/1/artifacts/kubernetes/v1.18.9 -v 10
Starting to build Kubernetes
DEBUG: kube/builder_release.go:60] Created tmp dir /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch802099759 for release downloads
DEBUG: kube/builder_release.go:89] Downloading https://distro.eks.amazonaws.com/kubernetes-1-18/releases/1/artifacts/kubernetes/v1.18.9/bin/linux/amd64/kubeadm to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch802099759/kubeadm
DEBUG: kube/builder_release.go:89] Downloading https://distro.eks.amazonaws.com/kubernetes-1-18/releases/1/artifacts/kubernetes/v1.18.9/bin/linux/amd64/kubelet to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch802099759/kubelet
DEBUG: kube/builder_release.go:89] Downloading https://distro.eks.amazonaws.com/kubernetes-1-18/releases/1/artifacts/kubernetes/v1.18.9/bin/linux/amd64/kubectl to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch802099759/kubectl
DEBUG: kube/builder_release.go:89] Downloading https://distro.eks.amazonaws.com/kubernetes-1-18/releases/1/artifacts/kubernetes/v1.18.9/bin/linux/amd64/kube-apiserver.tar to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch802099759/kube-apiserver.tar
DEBUG: kube/builder_release.go:89] Downloading https://distro.eks.amazonaws.com/kubernetes-1-18/releases/1/artifacts/kubernetes/v1.18.9/bin/linux/amd64/kube-controller-manager.tar to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch802099759/kube-controller-manager.tar
DEBUG: kube/builder_release.go:89] Downloading https://distro.eks.amazonaws.com/kubernetes-1-18/releases/1/artifacts/kubernetes/v1.18.9/bin/linux/amd64/kube-scheduler.tar to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch802099759/kube-scheduler.tar
DEBUG: kube/builder_release.go:89] Downloading https://distro.eks.amazonaws.com/kubernetes-1-18/releases/1/artifacts/kubernetes/v1.18.9/bin/linux/amd64/kube-proxy.tar to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch802099759/kube-proxy.tar
Finished building Kubernetes
Building node image ...
DEBUG: docker/pull.go:44] Pulling image: kindest/base:v20201130-23777eca ...
Building in kind-build-1611110900-1567855705
Image build Failed! Failed to get built images: could not find image metadata
Image build Failed! Failed to pull Images: could not find image metadata
ERROR: error building node image: could not find image metadata
Stack Trace:
sigs.k8s.io/kind/pkg/errors.New
sigs.k8s.io/kind/pkg/errors/errors.go:26
sigs.k8s.io/kind/pkg/build/nodeimage/internal/container/docker.GetArchiveTags
sigs.k8s.io/kind/pkg/build/nodeimage/internal/container/docker/archive.go:51
sigs.k8s.io/kind/pkg/build/nodeimage.(*buildContext).getBuiltImages
sigs.k8s.io/kind/pkg/build/nodeimage/build_impl.go:146
sigs.k8s.io/kind/pkg/build/nodeimage.(*buildContext).prePullImages
sigs.k8s.io/kind/pkg/build/nodeimage/build_impl.go:158
sigs.k8s.io/kind/pkg/build/nodeimage.(*buildContext).buildImage
sigs.k8s.io/kind/pkg/build/nodeimage/build_impl.go:120
sigs.k8s.io/kind/pkg/build/nodeimage.(*buildContext).Build
sigs.k8s.io/kind/pkg/build/nodeimage/build_impl.go:52
sigs.k8s.io/kind/pkg/build/nodeimage.Build
sigs.k8s.io/kind/pkg/build/nodeimage/build.go:79
sigs.k8s.io/kind/pkg/cmd/kind/build/nodeimage.runE
sigs.k8s.io/kind/pkg/cmd/kind/build/nodeimage/nodeimage.go:78
sigs.k8s.io/kind/pkg/cmd/kind/build/nodeimage.NewCommand.func1
sigs.k8s.io/kind/pkg/cmd/kind/build/nodeimage/nodeimage.go:47
github.com/spf13/cobra.(*Command).execute
github.com/spf13/[email protected]/command.go:842
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/[email protected]/command.go:950
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/[email protected]/command.go:887
sigs.k8s.io/kind/cmd/kind/app.Run
sigs.k8s.io/kind/cmd/kind/app/main.go:53
sigs.k8s.io/kind/cmd/kind/app.Main
sigs.k8s.io/kind/cmd/kind/app/main.go:35
main.main
sigs.k8s.io/kind/main.go:25
runtime.main
runtime/proc.go:204
runtime.goexit
runtime/asm_amd64.s:1374
Using an upstream release
./bin/kind build node-image --type release --release-url https://dl.k8s.io/v1.20.0 -v 10
Starting to build Kubernetes
DEBUG: kube/builder_release.go:60] Created tmp dir /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch126424401 for release downloads
DEBUG: kube/builder_release.go:89] Downloading https://dl.k8s.io/v1.20.0/bin/linux/amd64/kubeadm to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch126424401/kubeadm
DEBUG: kube/builder_release.go:89] Downloading https://dl.k8s.io/v1.20.0/bin/linux/amd64/kubelet to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch126424401/kubelet
DEBUG: kube/builder_release.go:89] Downloading https://dl.k8s.io/v1.20.0/bin/linux/amd64/kubectl to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch126424401/kubectl
DEBUG: kube/builder_release.go:89] Downloading https://dl.k8s.io/v1.20.0/bin/linux/amd64/kube-apiserver.tar to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch126424401/kube-apiserver.tar
DEBUG: kube/builder_release.go:89] Downloading https://dl.k8s.io/v1.20.0/bin/linux/amd64/kube-controller-manager.tar to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch126424401/kube-controller-manager.tar
DEBUG: kube/builder_release.go:89] Downloading https://dl.k8s.io/v1.20.0/bin/linux/amd64/kube-scheduler.tar to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch126424401/kube-scheduler.tar
DEBUG: kube/builder_release.go:89] Downloading https://dl.k8s.io/v1.20.0/bin/linux/amd64/kube-proxy.tar to /var/folders/x4/p8bgy97s7jbckv8dt2hd5q89mks1dz/T/kind-release-fetch126424401/kube-proxy.tar
Finished building Kubernetes
Building node image ...
DEBUG: docker/pull.go:35] Image: kindest/base:v20201130-23777eca present locally
Building in kind-build-1611111682-1972047106
fixed: k8s.gcr.io/kube-apiserver-amd64 -> k8s.gcr.io/kube-apiserver
fixed: k8s.gcr.io/kube-controller-manager-amd64 -> k8s.gcr.io/kube-controller-manager
fixed: k8s.gcr.io/kube-proxy-amd64 -> k8s.gcr.io/kube-proxy
fixed: k8s.gcr.io/kube-scheduler-amd64 -> k8s.gcr.io/kube-scheduler
Detected built images: k8s.gcr.io/kube-apiserver:v1.20.0, k8s.gcr.io/kube-controller-manager:v1.20.0, k8s.gcr.io/kube-proxy:v1.20.0, k8s.gcr.io/kube-scheduler:v1.20.0
Pulling: k8s.gcr.io/etcd:3.4.13-0
Pulling: k8s.gcr.io/build-image/debian-base:v2.1.0
DEBUG: docker/pull.go:44] Pulling image: k8s.gcr.io/etcd:3.4.13-0 ...
Pulling: k8s.gcr.io/coredns:1.7.0
DEBUG: docker/pull.go:44] Pulling image: k8s.gcr.io/coredns:1.7.0 ...
Pulling: kindest/kindnetd:v20200928-6a47034c
DEBUG: docker/pull.go:44] Pulling image: kindest/kindnetd:v20200928-6a47034c ...
Pulling: rancher/local-path-provisioner:v0.0.14
DEBUG: docker/pull.go:44] Pulling image: rancher/local-path-provisioner:v0.0.14 ...
Pulling: k8s.gcr.io/pause:3.3
DEBUG: docker/pull.go:44] Pulling image: k8s.gcr.io/pause:3.3 ...
DEBUG: docker/pull.go:44] Pulling image: k8s.gcr.io/build-image/debian-base:v2.1.0 ...
fixed: k8s.gcr.io/kube-scheduler-amd64 -> k8s.gcr.io/kube-scheduler
fixed: k8s.gcr.io/kube-scheduler-amd64 -> k8s.gcr.io/kube-scheduler
fixed: k8s.gcr.io/kube-controller-manager-amd64 -> k8s.gcr.io/kube-controller-manager
fixed: k8s.gcr.io/kube-controller-manager-amd64 -> k8s.gcr.io/kube-controller-manager
fixed: k8s.gcr.io/kube-apiserver-amd64 -> k8s.gcr.io/kube-apiserver
fixed: k8s.gcr.io/kube-apiserver-amd64 -> k8s.gcr.io/kube-apiserver
fixed: k8s.gcr.io/kube-proxy-amd64 -> k8s.gcr.io/kube-proxy
fixed: k8s.gcr.io/kube-proxy-amd64 -> k8s.gcr.io/kube-proxy
sha256:e17a653f1a442db772fcc9a239f258161e8616bb5bdf36c13453fa8ad0707335
Image build completed.
from eks-distro.
@vignesh-goutham did build KinD with EKS but I think we need to get it organized before we upstream anything there.
from eks-distro.
The kind images are available in this repository https://gallery.ecr.aws/eks-anywhere/
from eks-distro.
The build scripts for the Kind node image built out of EKS Distro artifacts can be found here
from eks-distro.
Related Issues (20)
- K8s Security: [kubernetes-announce] [Ingress-nginx Security Advisory] CVE-2023-5043: Ingress nginx annotation injection causes arbitrary command execution HOT 1
- K8s Security: [kubernetes-announce] [Ingress-nginx Security Advisory] CVE-2022-4886: Ingress-nginx `path` sanitization can be bypassed with `log_format` directive HOT 1
- K8s Security: [Security Advisory] CVE-2023-5528: Insufficient input sanitization in in-tree storage plugin leads to privilege escalation on Windows nodes
- K8s Security: [kubernetes-announce] [Security Advisory] CVE-2023-5528: Insufficient input sanitization in in-tree storage plugin leads to privilege escalation on Windows nodes HOT 1
- Create 1-29 Foundation HOT 1
- AWS::EKS::AccessEntry/AccessEntry: CREATE_FAILED ( eksctl create cluster ) HOT 1
- Kops is unable to read kube-apiserver.docker_tag with error 403 Forbidden HOT 4
- K8s Security: [Security Advisory] CVE-2024-3177: Bypassing mountable secrets policy imposed by the ServiceAccount admission plugin
- K8s Security: [kubernetes-announce] [Security Advisory] CVE-2024-3177: Bypassing mountable secrets policy imposed by the ServiceAccount admission plugin HOT 1
- K8s Security: [Security Advisory] CVE-2024-3744: azure-file-csi-driver discloses service account tokens in logs HOT 1
- K8s Security: [kubernetes-announce] [Security Advisory] CVE-2024-3744: azure-file-csi-driver discloses service account tokens in logs HOT 1
- [Question]: Are the images in this repo are the same ones used for the EKS control plane? HOT 1
- K8s Security: Re: [Security Advisory] CVE-2024-3744: azure-file-csi-driver discloses service account tokens in logs HOT 1
- K8s Security: [kubernetes-announce] Re: [Security Advisory] CVE-2024-3744: azure-file-csi-driver discloses service account tokens in logs HOT 1
- Not able to setup the cluster using v1.30.1 HOT 1
- K8s Security: [Security Advisory] CVE-2024-5321: Incorrect permissions on Windows containers logs
- K8s Security: [kubernetes-announce] [Security Advisory] CVE-2024-5321: Incorrect permissions on Windows containers logs
- Create Foundation for 1.31 HOT 1
- K8s Security: [Ingress-nginx Security Advisory] CVE-2024-7646: Ingress-nginx Annotation Validation Bypass
- K8s Security: [kubernetes-announce] [Ingress-nginx Security Advisory] CVE-2024-7646: Ingress-nginx Annotation Validation Bypass
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eks-distro.