mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 19:21:37 +00:00
Enable Deployments by default
This commit is contained in:
@@ -70,21 +70,6 @@ A typical use case is:
|
||||
* Create a Deployment to bring up a replication controller and pods.
|
||||
* Later, update that Deployment to recreate the pods (for example, to use a new image).
|
||||
|
||||
## Enabling Deployments on a Kubernetes cluster
|
||||
|
||||
Deployment objects are part of the [`extensions` API Group](../api.md#api-groups) and this feature
|
||||
is not enabled by default.
|
||||
Set `--runtime-config=extensions/v1beta1/deployments=true` on the API server to
|
||||
enable it.
|
||||
This can be achieved by exporting `KUBE_ENABLE_DEPLOYMENTS=true` before running the
|
||||
`kube-up.sh` script on GCE.
|
||||
|
||||
Note that Deployment objects effectively have [API version
|
||||
`v1alpha1`](../api.md#api-versioning).
|
||||
Alpha objects may change or even be discontinued in future software releases.
|
||||
However, due to to a known issue, they will appear as API version `v1beta1` if
|
||||
enabled.
|
||||
|
||||
## Creating a Deployment
|
||||
|
||||
Here is an example Deployment. It creates a replication controller to
|
||||
|
Reference in New Issue
Block a user