Created a Kubernetes cluster running on Scaleway Instances (v1.21+).
→ Not my case, I use ElascticMetal machine != Scaleway instances.
I have currently no pv / storageclass on my cluster:
kubectl get pv
No resources found
kubectl get storageclass
No resources found
I then deploy a qovery database on that cluster (using postgresql), it logically run into a persistence volume error:
🛰 Database at new version 15 has 1 pods: 0 running, 1 starting, 0 terminating and 0 in error
┃ |__ Pod postgres-zbd790d29-test-0 is STARTING
┃ |__ ⚠️ 0/1 nodes are available: pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
┃
┃ 💽 Network volume data-postgres-zbd790d29-test-0 is STARTING
┃ |__ ⚠️ storageclass.storage.k8s.io "scw-sbv-ssd-0" not found
→ My goal is to have qovery database to be able to allocate persistent volume on my BYOK cluster:
Does the storageclass required by qovery database is fixed to “scw-sbv-ssd-0” ?
Could I leverage a storageclass hostpath in a PV that would allow me to make qovery databases run on a BYOK ? (not clear how to do so)
I still didn’t manage to make BYOK work with persistence volume, has anyone the same problem, is there any solution to make qovery sql container use other storage class ?
automatic - linux - nix
=> Referring to this URL, I tried qovery install cluster on selfhost server
I checked with rancher and there is no storage class. Should I create one?
I actually don’t know much about kubernetes… This is my first time using k8s in a long time ago to use qovery on self-host.
OS: ubuntu 22
(base) PS C:\Users\Seon-ho> qovery cluster install
Cluster Type:
v Other
You already have self-managed clusters in your organization.
Do you want to reuse one of them or create a new one?
v Reuse a Cluster
Select the cluster you want to reuse:
v epic-off1-cluster1
Use the arrow keys to navigate: ↓ ↑ → ←
v Yes
Url of your registry: https://docker.io
Url of your registry: https://docker.io
Username to use to login to your registry: epicmobile181
Username to use to login to your registry: epicmobile181
Password to use to login to your registry: dckr_pat_hphtsX
Password to use to login to your registry: dckr_pat_hpht
We need to know the storage class name that your kubernetes cluster uses to deploy app with network storage.
Error: items <nil> is not a slice
(base) PS C:\Users\Seon-ho> kubectl get storageclass
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
hostpath (default) docker.io/hostpath Delete Immediate false 23m