Capture creation of cluster into Helm chart
[icn.git] / deploy / clusters / ha-dhcp-values.yaml
1 # The dictionary of clusters to create.
2 clusters:
3   # The cluster name.
4   ha-dhcp:
5
6     # Example provider and site labels; additional labels may be
7     # provided.
8     clusterLabels:
9       provider: icn
10       site: test-site
11
12     # The number of control plane nodes.
13     numControlPlaneMachines: 3
14
15     # The number of worker nodes.
16     numWorkerMachines: 2
17
18     # The control plane endpoint of the cluster.  This is a virtual IP
19     # managed by keepalived.
20     controlPlaneEndpoint: 192.168.151.254
21     controlPlanePrefix: 24
22
23     # keepalived uses the VRRP protocol to assign the control plane
24     # endpoint among the control plane nodes.
25     keepalived:
26       # This interface must be the same as the baremetal interface.
27       interface: ens6
28       routerId: 3
29
30     # Since DHCP is present, the network configuration of each machine
31     # may be provided with a template containing the names of the
32     # baremetal and provisioning interfaces.
33     networks:
34       baremetal:
35         interface: ens6
36       provisioning:
37         interface: ens5
38
39     # The user account created in all the machines.
40     userData:
41       name: ubuntu
42       # mkpasswd --method=SHA-512 --rounds 4096 "mypasswd"
43       hashedPassword: $6$rounds=4096$acxyX2VqfHJSAc2$sgVf5uTHHPCX6u50NHnJmhIoqbcL9J12jlBAaWKvd3w8uYO0iXgcBrEhtvHLgSGU7dcU.eqm9JwXEYbbRjPAi1
44       # This key will also be authorized to login as the root user
45       sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCrxu+fSrU51vgAO5zP5xWcTU8uLv4MkUZptE2m1BJE88JdQ80kz9DmUmq2AniMkVTy4pNeUW5PsmGJa+anN3MPM99CR9I37zRqy5i6rUDQgKjz8W12RauyeRMIBrbdy7AX1xasoTRnd6Ta47bP0egiFb+vUGnlTFhgfrbYfjbkJhVfVLCTgRw8Yj0NSK16YEyhYLbLXpix5udRpXSiFYIyAEWRCCsWJWljACr99P7EF82vCGI0UDGCCd/1upbUwZeTouD/FJBw9qppe6/1eaqRp7D36UYe3KzLpfHQNgm9AzwgYYZrD4tNN6QBMq/VUIuam0G1aLgG8IYRLs41HYkJ root@jump
46
47     # Flux bootstrapping of the cluster.  When enabled, the Flux
48     # controllers will be installed into the cluster and begin
49     # reconciling the resources located at the specified location.
50     flux:
51       repositoryName: icn
52       url: https://gerrit.akraino.org/r/icn
53       branch: master
54       # The path at the repository to the resources to be applied to the
55       # cluster
56       path: ./deploy/test-site/ha-dhcp
57
58     # The containerRuntime may be containerd or docker.
59     containerRuntime: containerd
60
61     # The POD CIDR.
62     podCidr: 10.244.64.0/18
63
64     # The only currently supported CNI is flannel.
65     cni: flannel
66
67     # All the version info is captured in one block here.  Care must
68     # be taken to ensure that the OS, Kubernetes, and CRI (containerd
69     # or docker) versions are all compatible.
70     #
71     # Refer to the below for further information:
72     # - https://github.com/kubernetes/kubernetes/blob/master/build/dependencies.yaml
73     # - https://download.docker.com/linux/ubuntu/dists/bionic/stable/binary-amd64/Packages
74     #
75     # The OS image.
76     imageName: bionic-server-cloudimg-amd64.img
77     # The version of Kubernetes installed.
78     k8sVersion: v1.21.6
79     # The version of the kubelet, kubeadm, and kubectl packages.
80     kubeVersion: 1.21.6-00
81     # The version of the CRI installed.
82     containerdVersion: 1.4.11-1
83     dockerVersion: 5:20.10.10~3-0~ubuntu-bionic