Closed stroebitzer closed 2 years ago
Looking at the event that was emitted, I suspect this is happening because Kubernetes 1.23 set the CSIMigrationGCE
feature gate to true
by default (see https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/#feature-gates-for-alpha-or-beta-features). That wasn't the case for 1.21 and 1.22, so internally Kubernetes is probably trying to do the CSI migration.
Probably we'd need to start shipping CSI driver (in absence of CCM) for GCE.
Looks like they do have stable release https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver
Yes, this is correct -- we need to start applying CSI driver for GCE. We already do that for all other providers, but GCE was forgotten for some reason: https://github.com/kubermatic/kubeone/blob/f7070ab8ecd7b77b286c8b34d25b364a8d3804c3/pkg/addons/ensure.go#L320-L399
Originally, it was planned that CSIMigration*
feature gates support fallback to the in-tree provider, but majority providers didn't implement the fallback properly. AFAIK, the fallback to the in-tree provider only works for OpenStack and maybe vSphere.
We also have #1710 to track this.
What happened?
On setting up a KubeOne cluster with
no PVs will get created. The PVCs are in pending state forever
Expected behavior
The PVs get created
How to reproduce the issue?
kubeone.yaml
storageclass.yaml
pvc.yaml
This is true for Kubernetes version 1.23.7
This is not true for Kubernetes versions 1.22.2 and 1.22.11
The kube-controller-manager pod says the following:
The kube-controller-manager pod looks like this:
The Kubernetes Changelog says the following:
What KubeOne version are you using?
Provide your KubeOneCluster manifest here (if applicable)
please see above
What cloud provider are you running on?
GCP
What operating system are you running in your cluster?
Ubuntu
Additional information