Capture creation of cluster into Helm chart
[icn.git] / deploy / clusters / static-values.yaml
1 # The dictionary of clusters to create.
2 clusters:
3   # The cluster name.
4   static:
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: 1
14
15     # The number of worker nodes.
16     numWorkerMachines: 1
17
18     # The control plane endpoint is set to the statically configured
19     # baremetal network address of node1.  The host selector is
20     # defined below to ensure that node1 is the control plane.
21     controlPlaneEndpoint: 10.10.110.23
22     controlPlanePrefix: 24
23
24     # Labels added to the BareMetalHost resources may be used here to
25     # select specific machines for control plane or workers.  This is
26     # required here to ensure that node1 will host the control plane
27     # endpoint.
28     controlPlaneHostSelector:
29       matchLabels:
30         machine: node1
31     workersHostSelector:
32       matchLabels:
33         machine: node2
34
35     # The user account created in all the machines.
36     userData:
37       name: ubuntu
38       # mkpasswd --method=SHA-512 --rounds 4096 "mypasswd"
39       hashedPassword: $6$rounds=4096$acxyX2VqfHJSAc2$sgVf5uTHHPCX6u50NHnJmhIoqbcL9J12jlBAaWKvd3w8uYO0iXgcBrEhtvHLgSGU7dcU.eqm9JwXEYbbRjPAi1
40       # This key will also be authorized to login as the root user
41       sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCrxu+fSrU51vgAO5zP5xWcTU8uLv4MkUZptE2m1BJE88JdQ80kz9DmUmq2AniMkVTy4pNeUW5PsmGJa+anN3MPM99CR9I37zRqy5i6rUDQgKjz8W12RauyeRMIBrbdy7AX1xasoTRnd6Ta47bP0egiFb+vUGnlTFhgfrbYfjbkJhVfVLCTgRw8Yj0NSK16YEyhYLbLXpix5udRpXSiFYIyAEWRCCsWJWljACr99P7EF82vCGI0UDGCCd/1upbUwZeTouD/FJBw9qppe6/1eaqRp7D36UYe3KzLpfHQNgm9AzwgYYZrD4tNN6QBMq/VUIuam0G1aLgG8IYRLs41HYkJ root@jump
42
43     # Flux bootstrapping of the cluster.  When enabled, the Flux
44     # controllers will be installed into the cluster and begin
45     # reconciling the resources located at the specified location.
46     flux:
47       repositoryName: icn
48       url: https://gerrit.akraino.org/r/icn
49       branch: master
50       # The path at the repository to the resources to be applied to the
51       # cluster
52       path: ./deploy/test-site/static
53
54     # The containerRuntime may be containerd or docker.
55     containerRuntime: containerd
56
57     # The POD CIDR.
58     podCidr: 10.244.64.0/18
59
60     # The only currently supported CNI is flannel.
61     cni: flannel
62
63     # All the version info is captured in one block here.  Care must
64     # be taken to ensure that the OS, Kubernetes, and CRI (containerd
65     # or docker) versions are all compatible.
66     #
67     # Refer to the below for further information:
68     # - https://github.com/kubernetes/kubernetes/blob/master/build/dependencies.yaml
69     # - https://download.docker.com/linux/ubuntu/dists/bionic/stable/binary-amd64/Packages
70     #
71     # The OS image.
72     imageName: bionic-server-cloudimg-amd64.img
73     # The version of Kubernetes installed.
74     k8sVersion: v1.21.6
75     # The version of the kubelet, kubeadm, and kubectl packages.
76     kubeVersion: 1.21.6-00
77     # The version of the CRI installed.
78     containerdVersion: 1.4.11-1
79     dockerVersion: 5:20.10.10~3-0~ubuntu-bionic