koki / short

Manageable Kubernetes manifests through a composable, reusable syntax
https://docs.koki.io/short
Apache License 2.0
122 stars 14 forks source link

Unable to create statefulset #219

Open chrislovecnm opened 6 years ago

chrislovecnm commented 6 years ago

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 commented 6 years ago

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

https://github.com/kubernetes/kubernetes/issues/42503