aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-06-04 07:06:39 -0700
committerVictor Morales <victor.morales@intel.com>2018-06-04 07:06:39 -0700
commit0d41bc49d18ebf126faa9a709dbe59b2bccc8ee1 (patch)
tree63b717a3f37cf7419dec51f4a9faa0ff9cc91deb /lib/files
parentbe66121f520203c231fcb7b776f7223dfe92c9f1 (diff)
Increase the number of Pods per Nodes2.0.0-ONAP2.0.0-ONAP
The default maximum number of pods per kubelet node supported is 110. This configuration number can be increased in kubespray thru 'kubelet_max_pods' configuration value. This value has direct relationship with 'kube_network_node_prefix' which define the size of the internal network. Change-Id: I0ba33f2e44e5e243008b467ac8d3e34a07a61e90 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-478
Diffstat (limited to 'lib/files')
-rw-r--r--lib/files/k8s-cluster.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/files/k8s-cluster.yml b/lib/files/k8s-cluster.yml
index 3579e7a..418d67f 100644
--- a/lib/files/k8s-cluster.yml
+++ b/lib/files/k8s-cluster.yml
@@ -1,3 +1,7 @@
+# Configure the amount of pods able to run on single node
+# default is equal to application default
+kubelet_max_pods: 175
+
# Valid bootstrap options (required): ubuntu, coreos, centos, none
bootstrap_os: none
@@ -207,7 +211,7 @@ 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.
-kube_network_node_prefix: 24
+kube_network_node_prefix: 18
# The port the API Server will be listening on.
kube_apiserver_ip: "{{ kube_service_addresses|ipaddr('net')|ipaddr(1)|ipaddr('address') }}"