committed by
Kubernetes Prow Robot
parent
e0bc7049cb
commit
63e57d102e
@@ -73,7 +73,7 @@ that must be set:
|
||||
The `kubectl` command also supports update commands driven by an aspect of the object.
|
||||
Setting this aspect may set different fields for different object types:
|
||||
|
||||
- `set` <field>: Set an aspect of an object.
|
||||
- `set` `<field>`: Set an aspect of an object.
|
||||
|
||||
{{< note >}}
|
||||
In Kubernetes version 1.5, not every verb-driven command has an associated aspect-driven command.
|
||||
@@ -160,5 +160,3 @@ kubectl create --edit -f /tmp/srv.yaml
|
||||
- [Kubectl Command Reference](/docs/reference/generated/kubectl/kubectl/)
|
||||
- [Kubernetes API Reference](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/)
|
||||
{{% /capture %}}
|
||||
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ Here are some ideas for how to use Init Containers:
|
||||
|
||||
* Register this Pod with a remote server from the downward API with a command like:
|
||||
|
||||
curl -X POST http://$MANAGEMENT_SERVICE_HOST:$MANAGEMENT_SERVICE_PORT/register -d 'instance=$(<POD_NAME>)&ip=$(<POD_IP>)'
|
||||
`curl -X POST http://$MANAGEMENT_SERVICE_HOST:$MANAGEMENT_SERVICE_PORT/register -d 'instance=$(<POD_NAME>)&ip=$(<POD_IP>)'`
|
||||
|
||||
* Wait for some time before starting the app Container with a command like `sleep 60`.
|
||||
* Clone a git repository into a volume.
|
||||
|
||||
@@ -73,14 +73,14 @@ If you have a DNS Deployment, your scale target is:
|
||||
|
||||
Deployment/<your-deployment-name>
|
||||
|
||||
where <dns-deployment-name> is the name of your DNS Deployment. For example, if
|
||||
where `<your-deployment-name>` is the name of your DNS Deployment. For example, if
|
||||
your DNS Deployment name is coredns, your scale target is Deployment/coredns.
|
||||
|
||||
If you have a DNS ReplicationController, your scale target is:
|
||||
|
||||
ReplicationController/<your-rc-name>
|
||||
|
||||
where <your-rc-name> is the name of your DNS ReplicationController. For example,
|
||||
where `<your-rc-name>` is the name of your DNS ReplicationController. For example,
|
||||
if your DNS ReplicationController name is kube-dns-v20, your scale target is
|
||||
ReplicationController/kube-dns-v20.
|
||||
|
||||
@@ -238,6 +238,3 @@ is under consideration as a future development.
|
||||
Learn more about the
|
||||
[implementation of cluster-proportional-autoscaler](https://github.com/kubernetes-incubator/cluster-proportional-autoscaler).
|
||||
{{% /capture %}}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user