Introducing Kubernetes API Version v1beta3
We've been hard at work on cleaning up the API over the past several months (see
We would like you to move to this new API version as soon as possible. v1beta1 and v1beta2 are deprecated, and will be removed by the end of June, shortly after we introduce the v1 API. As of the latest release, v0.15.0, v1beta3 is the primary, default API. We have changed the default kubectl and client API versions as well as the default storage version (which means objects persisted in etcd will be converted from v1beta1 to v1beta3 as they are rewritten). You can take a look at v1beta3 examples such as:
To aid the transition, we've also created a conversion . And the most recently generated Swagger specification of the API is here:
More details about our approach to API versioning and the transition can be found here:
id is now called name.name, labels, annotations, and other metadata are now nested in a map called metadatadesiredState is now called spec, and currentState is now called status/minions has been moved to /nodes, and the resource has kind Node/api/v1beta3/namespaces/{namespace}/{resource_collection}/{resource_name}replicationControllers, usereplicationcontrollers.?watch=true URL parameter along with the desired resourceVersion parameter to watch from.entrypoint has been renamed to command, and command has been renamed to args.resources{cpu:1}) rather than as individual fields, and resource values support
source is inlined into volume rather than nested.