Fix some typos and syntax errors
Fix some typos and syntax errors involving cluster.md, ingress.md and replicaset.mdpull/4941/merge
parent
51cfd800d9
commit
092ab3d509
|
@ -102,7 +102,7 @@ Currently, only integers are supported with `Gt` or `Lt`.
|
||||||
|
|
||||||
## Clusters API reference
|
## Clusters API reference
|
||||||
|
|
||||||
The full clusters API reference is currently in `federation/v1beta1` and more details can be found in details in the
|
The full clusters API reference is currently in `federation/v1beta1` and more details can be found in the
|
||||||
[Federation API reference page](/docs/reference/federation/).
|
[Federation API reference page](/docs/reference/federation/).
|
||||||
|
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
|
@ -78,7 +78,7 @@ You can create a federated ingress in any of the usual ways, for example, using
|
||||||
``` shell
|
``` shell
|
||||||
kubectl --context=federation-cluster create -f myingress.yaml
|
kubectl --context=federation-cluster create -f myingress.yaml
|
||||||
```
|
```
|
||||||
For example ingress YAML configurations, see the [Ingress User Guide](/docs/concepts/services-networking/ingress/)
|
For example ingress YAML configurations, see the [Ingress User Guide](/docs/concepts/services-networking/ingress/).
|
||||||
The '--context=federation-cluster' flag tells kubectl to submit the
|
The '--context=federation-cluster' flag tells kubectl to submit the
|
||||||
request to the Federation API endpoint, with the appropriate
|
request to the Federation API endpoint, with the appropriate
|
||||||
credentials. If you have not yet configured such a context, see the
|
credentials. If you have not yet configured such a context, see the
|
||||||
|
@ -183,7 +183,7 @@ services need to be identical. If you're using a federated service
|
||||||
this is easy to do. Simply pick a node port that is not already
|
this is easy to do. Simply pick a node port that is not already
|
||||||
being used in any of your clusters, and add that to the spec of your
|
being used in any of your clusters, and add that to the spec of your
|
||||||
federated service. If you do not specify a node port for your
|
federated service. If you do not specify a node port for your
|
||||||
federated service, each cluster will choose it's own node port for
|
federated service, each cluster will choose its own node port for
|
||||||
its cluster-local shard of the service, and these will probably end
|
its cluster-local shard of the service, and these will probably end
|
||||||
up being different, which is not what you want.
|
up being different, which is not what you want.
|
||||||
|
|
||||||
|
@ -253,7 +253,7 @@ how to bring up a cluster federation correctly (or have your cluster administrat
|
||||||
|
|
||||||
Check that:
|
Check that:
|
||||||
|
|
||||||
1. Your clusters are correctly registered in the Cluster Federation API (`kubectl describe clusters`)
|
1. Your clusters are correctly registered in the Cluster Federation API. (`kubectl describe clusters`)
|
||||||
2. Your clusters are all 'Active'. This means that the cluster
|
2. Your clusters are all 'Active'. This means that the cluster
|
||||||
Federation system was able to connect and authenticate against the
|
Federation system was able to connect and authenticate against the
|
||||||
clusters' endpoints. If not, consult the event logs of the federation-controller-manager pod to ascertain what the failure might be. (`kubectl --namespace=federation logs $(kubectl get pods --namespace=federation -l module=federation-controller-manager -o name`)
|
clusters' endpoints. If not, consult the event logs of the federation-controller-manager pod to ascertain what the failure might be. (`kubectl --namespace=federation logs $(kubectl get pods --namespace=federation -l module=federation-controller-manager -o name`)
|
||||||
|
@ -276,7 +276,7 @@ Check that:
|
||||||
2. The load balancer controllers in each of your clusters are of the
|
2. The load balancer controllers in each of your clusters are of the
|
||||||
correct type ("GLBC") and have been correctly reconfigured by the
|
correct type ("GLBC") and have been correctly reconfigured by the
|
||||||
federation control plane to share a global GCE load balancer (this
|
federation control plane to share a global GCE load balancer (this
|
||||||
should happen automatically). If they of the correct type, and
|
should happen automatically). If they are of the correct type, and
|
||||||
have been correctly reconfigured, the UID data item in the GLBC
|
have been correctly reconfigured, the UID data item in the GLBC
|
||||||
configmap in each cluster will be identical across all clusters.
|
configmap in each cluster will be identical across all clusters.
|
||||||
See
|
See
|
||||||
|
@ -291,7 +291,7 @@ Check that:
|
||||||
your GLBC will interfere with the behavior of your federated
|
your GLBC will interfere with the behavior of your federated
|
||||||
ingresses created after the reconfiguration (see
|
ingresses created after the reconfiguration (see
|
||||||
[the GLBC docs](https://github.com/kubernetes/ingress/blob/7dcb4ae17d5def23d3e9c878f3146ac6df61b09d/controllers/gce/README.md)
|
[the GLBC docs](https://github.com/kubernetes/ingress/blob/7dcb4ae17d5def23d3e9c878f3146ac6df61b09d/controllers/gce/README.md)
|
||||||
for further information. To remedy this,
|
for further information). To remedy this,
|
||||||
delete any ingresses created before the cluster joined the
|
delete any ingresses created before the cluster joined the
|
||||||
federation (and had its GLBC reconfigured), and recreate them if
|
federation (and had its GLBC reconfigured), and recreate them if
|
||||||
necessary.
|
necessary.
|
||||||
|
|
|
@ -56,7 +56,7 @@ federation ReplicaSet.
|
||||||
|
|
||||||
### Spreading Replicas in Underlying Clusters
|
### Spreading Replicas in Underlying Clusters
|
||||||
|
|
||||||
By default, replicas are spread equally in all the underlying clusters. For ex:
|
By default, replicas are spread equally in all the underlying clusters. For example:
|
||||||
if you have 3 registered clusters and you create a federated ReplicaSet with
|
if you have 3 registered clusters and you create a federated ReplicaSet with
|
||||||
`spec.replicas = 9`, then each ReplicaSet in the 3 clusters will have
|
`spec.replicas = 9`, then each ReplicaSet in the 3 clusters will have
|
||||||
`spec.replicas=3`.
|
`spec.replicas=3`.
|
||||||
|
|
Loading…
Reference in New Issue