Google Container Engine StatefulSets in kubernetes 1.5.1 doesn't seem to work

I have been waiting to use the StatefulSet function from GCE for a while. Their docs claim it is now available in 1.5.1, but it doesn't seem to work at all.

From what I can tell, the applications / v 1alpha1 api still exist, but PetSet no longer exists, but the applications / v 1beta1 that StatefulSet is in are not included.

Documents say it is, but it is not.

The name PetSet changed to StatefulSet in version 1.5. StatefulSet is a beta feature available in regular container clusters, and PetSet is no longer available in Alpha Clusters.

https://cloud.google.com/container-engine/docs/alpha-clusters

and here is the error I get when I try to use StatefulSet in / v 1beta1 applications according to kubernetes docs. (it also does not work with / v 1alpha1 applications, like PetSet in / v 1alpha1 applications)

API version "apps / v1beta1" is not supported, only API versions are supported ["apps / v1alpha1" "componentconfig / v1alpha1" "v1" "authentication.k8s.io/v1beta1" "authorization.k8s.io/v1beta1" "autoscaling / v1 "" batch / v1 "" batch / v2alpha1 "" certificates.k8s.io/v1alpha1 "" extension / v1beta1 "" policy / v1alpha1 "" federation / v1beta1 "" storage.k8s.io/v1beta1 "" Rbac.authorization.k8s .io / v1alpha1 "]; if you decide to ignore these errors, turn off the check with --validate = false

, StatefulSet kubernetes 1.5.1?

+4
1

, Kubernetes, . - - gcloud kubectl -installation, , , 1.4.x. kubectl version .

1.5+ .

+6

Source: https://habr.com/ru/post/1665243/


All Articles