Skip to content
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

make cluster-up fails #260

Open
husky-parul opened this issue Sep 29, 2023 · 6 comments
Open

make cluster-up fails #260

husky-parul opened this issue Sep 29, 2023 · 6 comments

Comments

@husky-parul
Copy link
Collaborator

Steps to reproduce

[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
kind version
kind v0.20.0 go1.20.4 linux/amd64
  • git clone https://github.com/sustainable-computing-io/kepler-operator.git

  • Output of make cluster-up attached in the issue

make cluster-up output.txt

@vprashar2929
Copy link
Collaborator

Are you using podman or docker?

@husky-parul
Copy link
Collaborator Author

podman

@sthaha
Copy link
Collaborator

sthaha commented Oct 5, 2023

@husky-parul does kind create cluster work for you?

From the logs, it seems not :(

I0929 11:18:57.279156     168 round_trippers.go:553] GET https://kind-control-plane:6443/api/v1/nodes/kind-worker?timeout=10s 404 Not Found in 3 milliseconds
I0929 11:18:57.778875     168 round_trippers.go:553] GET https://kind-control-plane:6443/api/v1/nodes/kind-worker?timeout=10s 404 Not Found in 3 milliseconds
I0929 11:18:58.279112     168 round_trippers.go:553] GET https://kind-control-plane:6443/api/v1/nodes/kind-worker?timeout=10s 404 Not Found in 3 milliseconds
I0929 11:18:58.787997     168 round_trippers.go:553] GET https://kind-control-plane:6443/api/v1/nodes/kind-worker?timeout=10s 404 Not Found in 11 millisecond

The other anomaly that caught my eye was that, although you mentioned podman, the CTR_CMD is docker

        Configuration
cluster provider   : kind
kubeconfig file    : /home/parsingh/.kube/config


container runtime  : docker
registry port      : 5001

I also feel we should move this to https://github.com/sustainable-computing-io/local-dev-cluster

@vprashar2929
Copy link
Collaborator

Found somewhat similar issue with creating kind cluster using podman

@husky-parul
Copy link
Collaborator Author

@sthaha kind create cluster works. I ended up creating the cluster using these steps

@husky-parul
Copy link
Collaborator Author

Found somewhat similar issue with creating kind cluster using podman

@vprashar2929 @sthaha when I followed the steps in the docs for Local cluster setup it worked with podman

podman ps
CONTAINER ID  IMAGE                                                                                           COMMAND     CREATED     STATUS      PORTS                      NAMES
e2b5b620c0a7  docker.io/kindest/node@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72              6 days ago  Up 6 days   127.0.0.1:41873->6443/tcp  kind-control-plane

docker ps
bash: docker: command not found...
Packages providing this file are:
'moby-engine'
'podman-docker'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants