Skip to content

Commit

Permalink
k8s: provide additional information in kcli info kube generic
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Apr 16, 2020
1 parent 2fd4bee commit 3e93a43
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 93 deletions.
7 changes: 7 additions & 0 deletions kvirt/kubeadm/kcli_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ network: default
cluster: testk
domain: karmalabs.com
pool: default
numcpus: 4
master_memory: 6144
master_tpm: false
master_rng: false
Expand All @@ -17,3 +18,9 @@ sdn: flannel
multus: false
notifycmd: "kubectl get pod -A"
notify: false
info: |
Deploys kubernetes using kubeadm on an arbitrary number of masters and workers.
when using more than a master, a load balancer gets deployed (as an haproxy vm if not running on cloud)
default image is centos7, but there's also support for ubuntu based ones
sdn can be choosen between flannel, weavenet, calico, canal or romana
nfs can be set to deploy an initial set of pvcs on the first master node
91 changes: 0 additions & 91 deletions kvirt/kubeadm/kcli_plan.yml

This file was deleted.

2 changes: 1 addition & 1 deletion kvirt/kubeadm/masters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% for number in range(0, masters) %}
{{cluster}}-master-{{ number }}:
image: {{ image }}
numcpus: 2
numcpus: {{ numcpus }}
memory: {{ master_memory }}
{% if masters > 1 %}
reservedns: true
Expand Down
2 changes: 1 addition & 1 deletion kvirt/kubeadm/workers.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% for number in range(0, workers) %}
{{cluster }}-worker-{{ number }}:
image: {{ image }}
numcpus: 2
numcpus: {{ numcpus }}
memory: {{ worker_memory }}
reservedns: false
domain: {{ domain }}
Expand Down

0 comments on commit 3e93a43

Please sign in to comment.