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

Kepler helm chart on k3d on mac intel #14

Open
AntonioDiTuri opened this issue Apr 26, 2023 · 3 comments
Open

Kepler helm chart on k3d on mac intel #14

AntonioDiTuri opened this issue Apr 26, 2023 · 3 comments

Comments

@AntonioDiTuri
Copy link

AntonioDiTuri commented Apr 26, 2023

Since I was not able to run kepler on minikube I tried out k3d on a mac like this:

k3d cluster create kepler-cluster

This is the output of k get nodes

NAME                          STATUS   ROLES                  AGE   VERSION
k3d-kepler-cluster-server-0   Ready    control-plane,master   22s   v1.25.7+k3s1

After I tried to deploy kepler with the helm chart with the following command:
helm install kepler . --values values.yaml --create-namespace --namespace kepler

But the pod does not get created and it is stuck in the ContainerCreating state due to a Failed Mount:

Unable to attach or mount volumes: unmounted volumes=[usr-src], 
unattached volumes=[lib-modules tracing proc usr-src kube-api-access-2bh9r]: timed out waiting for the condition
MountVolume.SetUp failed for volume "usr-src" : hostPath type check failed: /usr/src is not a directory

/usr/src is not a directory in Mac.

I was taking a look at this stack overflow question: https://stackoverflow.com/questions/34141228/does-usr-local-src-on-mac-not-exist. Shall I force the creation of the directory in the file system?

Any idea on how to solve it?

I am still stuck and could not deploy Kepler locally for testing purposes

@bradmccoydev
Copy link
Member

Hello @AntonioDiTuri If you are wanting to try for testing purposes have you seen the makefile in the kepler repo. It has a entry for cluster-up this might be an easier way for testing instead of the helm chart on the mac??

You can find it at the bottom of the makefile

https://github.com/sustainable-computing-io/kepler/blob/main/Makefile

@SamYuan1990
Copy link
Contributor

as there no Cgroup or ebpf on MacOS, as those things are linux specific. if you run kepler ... on mac. well, there will be lots of limitation. in other words, do we support macOS for now? @rootfs

@rootfs
Copy link
Contributor

rootfs commented May 20, 2023

refer to this #12 (comment)

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

4 participants