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

Unable to create statefulset #219

Open
chrislovecnm opened this issue Apr 10, 2018 · 1 comment
Open

Unable to create statefulset #219

chrislovecnm opened this issue Apr 10, 2018 · 1 comment

Comments

@chrislovecnm
Copy link

chrislovecnm commented Apr 10, 2018

I am using master and the default skeleton for a stateful set. I am getting an error with the template for the PVC:

  Warning  ProvisioningFailed  1s (x4 over 33s)  persistentvolume-controller  Failed to provision volume with StorageClass "demo": claim.Spec.Selector is not supported for dynamic provisioning on GCE

Using https://docs.koki.io/short/skel/stateful-set.short.skel.yaml

With the command

 short -k -f 03-statefulset-short.yaml | k create -f -

The PVC does not create.

I am on GKE and:

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.6", GitCommit:"6260bb08c46c31eea6cb538b34a9ceb3e406689c", GitTreeState:"clean", BuildDate:"2017-12-21T06:34:11Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"8+", GitVersion:"v1.8.8-gke.0", GitCommit:"6e5b33a290a99c067003632e0fd6be0ead48b233", GitTreeState:"clean", BuildDate:"2018-02-16T18:26:58Z", GoVersion:"go1.8.3b4", Compiler:"gc", Platform:"linux/amd64"}
@wlan0
Copy link
Member

wlan0 commented Apr 11, 2018

@chrislovecnm AFAICT, this is not an issue with koki/short - pls ref:

kubernetes/kubernetes#42503

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

2 participants