-
Please provide an in-depth description of the question you have: When you run the following command to install the cluster, the installation fails ➜ kwok kwokctl create cluster --name kwok1 --runtime kind
Creating cluster cluster=kwok1
Pull image cluster=kwok1 image=docker.io/kindest/node:unknown
Error response from daemon: manifest for kindest/node:unknown not found: manifest unknown: manifest unknown
ERROR Failed to setup configcluster=kwok1 err="docker pull docker.io/kindest/node:unknown: exit status 1"
Cluster is cleaned up cluster=kwok1
ERROR Execute exit err="docker pull docker.io/kindest/node:unknown: exit status 1" What do you think about this question?: The cause is that the values of environment variables var (
Version = "unknown"
KubeVersion = "unknown"
ImagePrefix = "registry.k8s.io/kwok"
BinaryPrefix = "https://github.com/kubernetes-sigs/kwok/releases/download"
BinaryName = "kwok-" + runtime.GOOS + "-" + runtime.GOARCH
) So I understand is it possible to provide a default installation version when the user does not specify environment variables or parameters? Environment: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
refer to https://github.com/kubernetes-sigs/kwok/pull/94/files We didn't actually release the latest tag,
|
Beta Was this translation helpful? Give feedback.
-
@wzshiming if [[ "${VERSION}" != "" ]]; then
LDFLAGS+=("-X sigs.k8s.io/kwok/pkg/consts.Version=${VERSION}")
fi
if [[ "${KUBE_VERSION}" != "" ]]; then
LDFLAGS+=("-X sigs.k8s.io/kwok/pkg/consts.KubeVersion=${KUBE_VERSION}")
fi |
Beta Was this translation helpful? Give feedback.
refer to https://github.com/kubernetes-sigs/kwok/pull/94/files
We didn't actually release the latest tag,
docker.io/kindest/node
is the same as us.