【k8s系列】kwok初体验

环境

1
2
3
4
# wget https://github.com/kubernetes-sigs/kwok/releases/download/v0.5.1/kwokctl-linux-amd64
# wget https://github.com/kubernetes-sigs/kwok/releases/download/v0.5.1/kwok-linux-amd64


步骤

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# kwokctl create cluster
Cluster is creating cluster=kwok
Pull image image=registry.k8s.io/etcd:3.5.11-0 cluster=kwok
Error response from daemon: Head "https://us-west2-docker.pkg.dev/v2/k8s-artifacts-prod/images/etcd/manifests/3.5.11-0": dial tcp 108.177.125.82:443: i/o timeout
ERROR Failed to setup config err="cmd wait: docker pull registry.k8s.io/etcd:3.5.11-0: exit status 1" cluster=kwok
Cluster is cleaned up cluster=kwok
ERROR Execute exit err="cmd wait: docker pull registry.k8s.io/etcd:3.5.11-0: exit status 1"



# docker pull bitnami/etcd:3.5.11
3.5.11: Pulling from bitnami/etcd
3bd5d758f760: Downloading [=====================================> ] 42.63MB/56.64MB
3bd5d758f760: Downloading [======================================> ] 43.16MB/56.64MB
3bd5d758f760: Pull complete
Digest: sha256:4b99cc7a8e7e49ca8a03fba7ae0b5e8913fe2576114ace1bef79166ef0bbe6bf
Status: Downloaded newer image for bitnami/etcd:3.5.11
docker.io/bitnami/etcd:3.5.11


# kwokctl create cluster --name demo --etcd-image bitnami/etcd:3.5.11
Cluster is creating cluster=demo
Pull image image=registry.k8s.io/kube-apiserver:v1.29.0 cluster=demo
Error response from daemon: Head "https://us-west2-docker.pkg.dev/v2/k8s-artifacts-prod/images/kube-apiserver/manifests/v1.29.0": dial tcp 108.177.125.82:443: i/o timeout
ERROR Failed to setup config err="cmd wait: docker pull registry.k8s.io/kube-apiserver:v1.29.0: exit status 1" cluster=demo
Cluster is cleaned up cluster=demo
ERROR Execute exit err="cmd wait: docker pull registry.k8s.io/kube-apiserver:v1.29.0: exit status 1"

【k8s系列】kwok初体验
http://example.com/2024/02/27/k8s/【k8s系列】kwok初体验/
作者
ningan123
发布于
2024年2月27日
许可协议