Closed uover822 closed 6 months ago
Hi @uover822 welcome and thanks for reporting the problem.
Can you elaborate on "launching from k3d, which works fine"?
Does it work with some vCluster distros, but not others?
Thanks, @heiko-braun I'm sorry for this confusion - meaning if I configure a k3d cluster directly (no vCluster), it works. Also, I haven't yet tried with earlier vCluster versions.
Hi @uover822 :wave: ,
The format of values.yaml that you have used is the new format and will only work starting v0.20.0. Since, you are using v0.19.5, you may want to refer to the format from here and set the values appropriately.
Do try that out and let us know if you face any issues still.
Thanks for this tip, @neogopher :-) I'll check it out.
Hi @uover822 ,
Closing this issue for now, but feel free to reopen in case the issue persists or if you have any further questions on this.
Thanks @neogopher, @heiko-braun :-) A few details below, for future reference.
After adopting the v0.19.5 configuration as suggested and customizing the following values:
persistentvolumes:
- enabled: false
+ enabled: true
storageclasses:
- enabled: false
+ enabled: true
I created the base storage class, persistent volume, and pv claim in the parent k3d/ k3s cluster, then launched my vcluster and created the inheriting storage class, persistent volume, and pv claim, and the pv claim now binds, like:
$ k get pvc
Handling connection for 10731
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE
msr-claim Bound msr-volume 3Gi RWX msr-sc <unset> 33m
Thanks for the great work/ assistance/ tips :-)
What happened?
Hi All :-) I'm having a similar issue to https://github.com/loft-sh/vcluster/issues/145, as my vCluster PVCs seem stuck in Pending, launching from k3d, which works fine.
My claim describes as follows:
And my values file updates are here:
My storage class seems ok:
As does my persistent volume:
Has anyone seen similar/ have particular thoughts/ ideas on this? I've also tried syncing with combinations of k3d resources w/o success.
Thanks :-)
What did you expect to happen?
I'm anticipating PVCs reaching Bound state and Pods reaching Running state.
How can we reproduce it (as minimally and precisely as possible)?
My storage class/ volume/ claim definitions are here:
Anything else we need to know?
Thanks :-)
Host cluster Kubernetes version
Host cluster Kubernetes distribution
vlcuster version
Vcluster Kubernetes distribution(k3s(default)), k8s, k0s)
OS and Arch