+ Chris for DM. On Mon, Jul 3, 2017 at 10:03 AM, <gilbert....@datastax.com> wrote:
> Hi Nic, > > I am also trying to create a Google Deployment Manager template which uses > statefulsets and happened to receive the same error you had there. Did you > by any chance fix this issue? > > Thanks, > Gilbert > > > On Tuesday, January 10, 2017 at 8:53:25 PM UTC-8, Nic wrote: > > I am trying to get the zookeeper statefulset example here: > http://kubernetes.io/docs/tutorials/stateful-application/zookeeper/ > working on GKE running K8 1.5.1. > > > > > > I am using Deployment Manager. Could not find any example of doing this > with CDM. I got part of the example working with a ReplicationController > just to verify rest of config and it was fine. Issue seems to be access > apiVersion apps/v1beta1 > > > > > > I can see via the Rest interface the API is available in the cluster: > > > > > > .../swaggerapi/apis/apps/v1beta1 > > > > "apis": [ > > { > > "path": "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets", > > "description": "API at /apis/apps/v1beta1", > > "operations": [ > > { > > "type": "v1beta1.StatefulSetList", > > > > > > ... > > > > > > and have tried the following Deployment Manager template and multiple > variants with no luck. > > > > > > > > > > {% set CLUSTER_TYPE = env['project'] + '/' + properties['cluster'] + > '-type' %} > > > > > > > > - name: zk-headless > > type: {{ CLUSTER_TYPE }}:/apis/apps/v1beta1/namespaces/{namespace}/ > statefulsets > > properties: > > apiVersion: apps/v1beta1 > > kind: StatefulSet > > namespace: default ....What I get is :ERROR: > (gcloud.deployment-manager.deployments.create) Error in Operation > operation-1484109524923-545ca2d0a7279-50cbda2b-3393a7c2: > > errors: > > - code: COLLECTION_NOT_FOUND > > location: /typeProviders/k8-dev-cluster-type->$.descriptorUrl->$.apis > > message: Collection > > '/apis/apps/v1beta1/namespaces/{namespace}/statefulsets' > not > > found in discovery doc 'https://.../swaggerapi/api/v1' > > > > I found this issue that looks related https://github.com/kubernetes/ > kubernetes/issues/37393 > > Anyone managed to get Statefulsets working in GKE/1.5.1? Has the above > fix made it for 1.5.1 or we need to wait for 1.5.2? > > Does anyone have a Deployment Manager based example using Statefulsets > they could share? > > Thanks, > > Nic > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Kubernetes user discussion and Q&A" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to kubernetes-users+unsubscr...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > Visit this group at https://groups.google.com/group/kubernetes-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.