Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
485aa7fa
Commit
485aa7fa
authored
Mar 22, 2016
by
Miguel Flores Ruiz de Eguino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to configure the base VPC CIDR
parent
1f8773ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
options.md
cluster/aws/options.md
+9
-0
util.sh
cluster/aws/util.sh
+1
-1
No files found.
cluster/aws/options.md
View file @
485aa7fa
...
...
@@ -141,4 +141,13 @@ export MASTER_IP_RANGE="100.65.0.0/24"
export CLUSTER_IP_RANGE="100.66.0.0/16"
```
**KUBE_VPC_CIDR_BASE**
By default
`kube-up.sh`
will create a VPC with CIDR 172.20.0.0/16.
`KUBE_VPC_CIDR_BASE`
allows to configure
this CIDR. For example you may choose to use
`172.21.0.0/16`
:
```
export KUBE_VPC_CIDR_BASE=172.21
```
[

]()
cluster/aws/util.sh
View file @
485aa7fa
...
...
@@ -102,7 +102,7 @@ export AWS_DEFAULT_OUTPUT=text
AWS_CMD
=
"aws ec2"
AWS_ASG_CMD
=
"aws autoscaling"
VPC_CIDR_BASE
=
172.20
VPC_CIDR_BASE
=
${
KUBE_VPC_CIDR_BASE
:-
172
.20
}
MASTER_IP_SUFFIX
=
.9
VPC_CIDR
=
${
VPC_CIDR_BASE
}
.0.0/16
SUBNET_CIDR
=
${
VPC_CIDR_BASE
}
.0.0/24
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment