From 9a1c1922112507539ed96819d966f2b8983b214f Mon Sep 17 00:00:00 2001 From: Thomas Peitz Date: Wed, 11 Jan 2017 10:35:57 +0100 Subject: [PATCH] Update docs for --node-security-groups/--master-security-groups --- docs/advanced_create.md | 4 ++- docs/cli/kops_create_cluster.md | 48 +++++++++++++++++---------------- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/docs/advanced_create.md b/docs/advanced_create.md index 9a9be87e11..6a2b804108 100644 --- a/docs/advanced_create.md +++ b/docs/advanced_create.md @@ -10,8 +10,10 @@ kops create cluster \ --dns-zone kubernetes.com \ --node-size t2.medium \ --master-size t2.medium \ + --node-security-groups i-123456 \ + --master-security-groups i-123456,i-123457 \ --topology private \ --networking weave \ --image 293135079892/k8s-1.4-debian-jessie-amd64-hvm-ebs-2016-11-16 \ ${NAME} -``` \ No newline at end of file +``` diff --git a/docs/cli/kops_create_cluster.md b/docs/cli/kops_create_cluster.md index 4195a3f39b..3a288e27e8 100644 --- a/docs/cli/kops_create_cluster.md +++ b/docs/cli/kops_create_cluster.md @@ -14,29 +14,31 @@ kops create cluster ### Options ``` - --admin-access string Restrict access to admin endpoints (SSH, HTTPS) to this CIDR. If not set, access will not be restricted by IP. - --associate-public-ip Specify --associate-public-ip=[true|false] to enable/disable association of public IP for master ASG and nodes. Default is 'true'. (default true) - --bastion Pass the --bastion flag to enable a bastion instance group. Only applies to private topology. - --channel string Channel for default versions and configuration to use (default "stable") - --cloud string Cloud provider to use - gce, aws - --dns-zone string DNS hosted zone to use (defaults to longest matching zone) - --image string Image to use - --kubernetes-version string Version of kubernetes to run (defaults to version in channel) - --master-size string Set instance size for masters - --master-zones string Zones in which to run masters (must be an odd number) - --model string Models to apply (separate multiple models with commas) (default "config,proto,cloudup") - --network-cidr string Set to override the default network CIDR - --networking string Networking mode to use. kubenet (default), classic, external, cni, kopeio-vxlan, weave, calico. (default "kubenet") - --node-count int Set the number of nodes - --node-size string Set instance size for nodes - --out string Path to write any local output - --project string Project to use (must be set on GCE) - --ssh-public-key string SSH public key to use (default "~/.ssh/id_rsa.pub") - --target string Target - direct, terraform (default "direct") - -t, --topology string Controls network topology for the cluster. public|private. Default is 'public'. (default "public") - --vpc string Set to use a shared VPC - --yes Specify --yes to immediately create the cluster - --zones string Zones in which to run the cluster + --admin-access string Restrict access to admin endpoints (SSH, HTTPS) to this CIDR. If not set, access will not be restricted by IP. + --associate-public-ip Specify --associate-public-ip=[true|false] to enable/disable association of public IP for master ASG and nodes. Default is 'true'. (default true) + --bastion Pass the --bastion flag to enable a bastion instance group. Only applies to private topology. + --channel string Channel for default versions and configuration to use (default "stable") + --cloud string Cloud provider to use - gce, aws + --dns-zone string DNS hosted zone to use (defaults to longest matching zone) + --image string Image to use + --kubernetes-version string Version of kubernetes to run (defaults to version in channel) + --master-security-groups string Add precreated additional security groups to masters. + --master-size string Set instance size for masters + --master-zones string Zones in which to run masters (must be an odd number) + --model string Models to apply (separate multiple models with commas) (default "config,proto,cloudup") + --network-cidr string Set to override the default network CIDR + --networking string Networking mode to use. kubenet (default), classic, external, cni, kopeio-vxlan, weave, calico. (default "kubenet") + --node-count int Set the number of nodes + --node-security-groups string Add precreated additional security groups to nodes. + --node-size string Set instance size for nodes + --out string Path to write any local output + --project string Project to use (must be set on GCE) + --ssh-public-key string SSH public key to use (default "~/.ssh/id_rsa.pub") + --target string Target - direct, terraform (default "direct") + -t, --topology string Controls network topology for the cluster. public|private. Default is 'public'. (default "public") + --vpc string Set to use a shared VPC + --yes Specify --yes to immediately create the cluster + --zones string Zones in which to run the cluster ``` ### Options inherited from parent commands