mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 16:06:51 +00:00
Merge pull request #17601 from eosrei/shell-var-MINION-to-NODE
Auto commit by PR queue bot
This commit is contained in:
@@ -250,7 +250,7 @@ cross-AZ-clusters are more convenient.
|
||||
* For auto-scaling, on each nodes it creates a launch configuration and group.
|
||||
The name for both is <*KUBE_AWS_INSTANCE_PREFIX*>-minion-group. The default
|
||||
name is kubernetes-minion-group. The auto-scaling group has a min and max size
|
||||
that are both set to NUM_MINIONS. You can change the size of the auto-scaling
|
||||
that are both set to NUM_NODES. You can change the size of the auto-scaling
|
||||
group to add or remove the total number of nodes from within the AWS API or
|
||||
Console. Each nodes self-configures, meaning that they come up; run Salt with
|
||||
the stored configuration; connect to the master; are assigned an internal CIDR;
|
||||
|
||||
@@ -132,11 +132,11 @@ differentiate it from `docker0`) is set up outside of Docker proper.
|
||||
Example of GCE's advanced routing rules:
|
||||
|
||||
```sh
|
||||
gcloud compute routes add "${MINION_NAMES[$i]}" \
|
||||
gcloud compute routes add "${NODE_NAMES[$i]}" \
|
||||
--project "${PROJECT}" \
|
||||
--destination-range "${MINION_IP_RANGES[$i]}" \
|
||||
--destination-range "${NODE_IP_RANGES[$i]}" \
|
||||
--network "${NETWORK}" \
|
||||
--next-hop-instance "${MINION_NAMES[$i]}" \
|
||||
--next-hop-instance "${NODE_NAMES[$i]}" \
|
||||
--next-hop-instance-zone "${ZONE}" &
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user