-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Unable to start valkey cluster on minikube #9
Comments
Given that you're on a mac I'd try a default minikube install.
|
I deleted all the minkube profile and started from the scratch to avoid any left overs. I ran
|
this is most likely due to minikube storage provider not supporting non-root access kubernetes/minikube#1990 you can try applying the storage hack in scripts/ |
The Container images should now properly download (they're public now) And the storage hack is part of the startup script
|
I have to say - this time it was much smoother. By Post that ran samples However, the containers don't start completely.
The logs from an example pod
Events part :
|
interesting, what's the output of |
its :
|
hmmm, the PV hack may not work with Macs, it might be a good time to try and build out the root-ful mode |
Not clear how would I build in root-ful mode. |
I did a little research and went with an initContainer to set the PVC file permissions, changes have been released to v0.0.8 and can be used like so: apiVersion: hyperspike.io/v1
kind: Valkey
metadata:
name: keyval
spec:
volumePermissions: true to leverage an existing deployment you will need to delete all
|
I pulled the latest from git. Deleted the north namespace/minikube profile Noticed that valkey.yaml in the root looks similar to you have mentioned.
Also applied the I am still facing the same issue on this machine.Logs are same. From events:
From the controller logs if it helps
|
Hmmmm, I wonder if the liveness and readiness probes are simply expiring before the daemon comes up. Can you try bumping the failure threshold from 5 to 25? |
Tried with following for both LivenessProbe and ReadinessProbe
no changes in the results. |
@arpan57 are we good to close? |
I am going to try it on k8s cluster instead of minikube. TBH it has worked on one of my personal macbooks, but not other. I would shelf the issue for now. Thank you for all the follow up. |
Thank you for the initiative first of all.
Here are the steps I have followed.
git clone https://github.com/hyperspike/valkey-operator.git
cd valkey-operator
make docker-build
make install ( customresourcedefinition.apiextensions.k8s.io/valkeys.hyperspike.io created)
Stopped my existing minikube session
$ make minikube
It created a new kubectx - north
$ kubectx north
It did create the valkey-operator-system namespace and three pods.
However, all the three pods do not run/ stuck in FailedScheduling status
The text was updated successfully, but these errors were encountered: