Skip to content

Unable to create statefulset #219

Description

@chrislovecnm

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"}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions