Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
240d4193
Commit
240d4193
authored
7 years ago
by
Miouge1
Committed by
Maxime Guyot
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update information about network sizes
parent
ac66e98a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/large-deployments.md
+3
-0
3 additions, 0 deletions
docs/large-deployments.md
roles/kubespray-defaults/defaults/main.yaml
+9
-1
9 additions, 1 deletion
roles/kubespray-defaults/defaults/main.yaml
with
12 additions
and
1 deletion
docs/large-deployments.md
+
3
−
0
View file @
240d4193
...
...
@@ -34,6 +34,9 @@ For a large scaled deployments, consider the following configuration changes:
``kube_controller_pod_eviction_timeout``
for better Kubernetes reliability.
Check out
[
Kubernetes Reliability
](
kubernetes-reliability.md
)
*
Tune network prefix sizes. Those are
``kube_network_node_prefix``
,
``kube_service_addresses``
and
``kube_pods_subnet``
.
*
Add calico-rr nodes if you are deploying with Calico or Canal. Nodes recover
from host/network interruption much quicker with calico-rr. Note that
calico-rr role must be on a host without kube-master or kube-node role (but
...
...
This diff is collapsed.
Click to expand it.
roles/kubespray-defaults/defaults/main.yaml
+
9
−
1
View file @
240d4193
...
...
@@ -99,7 +99,15 @@ kube_pods_subnet: 10.233.64.0/18
# internal network node size allocation (optional). This is the size allocated
# to each node on your network. With these defaults you should have
# room for 4096 nodes with 254 pods per node.
# room for 64 nodes with 254 pods per node.
# Example: Up to 256 nodes, 100 pods per node (/16 network):
# - kube_service_addresses: 10.233.0.0/17
# - kube_pods_subnet: 10.233.128.0/17
# - kube_network_node_prefix: 25
# Example: Up to 4096 nodes, 100 pods per node (/12 network):
# - kube_service_addresses: 10.192.0.0/13
# - kube_pods_subnet: 10.200.0.0/13
# - kube_network_node_prefix: 25
kube_network_node_prefix
:
24
# The virtual cluster IP, real host IPs and ports the API Server will be
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment