Remove docker as container runtime choice
[icn.git] / deploy / cluster / values.yaml
1 # clusterName is the name of the cluster.
2 clusterName: cluster-1
3
4 # clusterLabels is a dictionary of labels.  The provider label is
5 # shown as an example only; additional labels may be provided.
6 clusterLabels:
7   provider: icn
8
9 # numControlPlaneMachines is the number of control plane nodes.
10 numControlPlaneMachines: 1
11
12 # numWorkerMachines is the number of worker nodes.
13 numWorkerMachines: 1
14
15 # controlPlaneEndpoint is the address of the control plane endpoint.
16 # With a highly-available control plane this would typically be a
17 # load-balanced virtual IP, however other configurations are possible
18 # as shown below.
19 controlPlaneEndpoint: 192.168.151.254
20 # controlPlanePrefix is the network mask of the control plane
21 # endpoint.
22 controlPlanePrefix: 24
23
24 # keepalived is one mechanism to provide a virtual control plane
25 # endpoint.  keepalived uses the VRRP protocol to assign the control
26 # plane endpoint among the control plane nodes.
27 #keepalived:
28 #  # The interface must be the same as the baremetal interface.
29 #  interface: ens6
30 #  routerId: 3
31
32 # controlPlaneHostSelector uses labels added to the BareMetalHost
33 # resources to select specific machines for the control plane. Using
34 # this mechanism for example, one could assign a static address of a
35 # known machine to the control plane endpoint.
36 #controlPlaneHostSelector:
37 #  matchLabels:
38 #    machine: machine-1
39 # controlPlaneHostSelector uses labels added to the BareMetalHost
40 # resources to select specific machines for workers.
41 #workersHostSelector:
42 #  matchLabels:
43 #    machine: machine-2
44
45 # ipPools are used to provide addresses to the networks value.
46 #ipPools:
47 #  baremetal:
48 #    # start is the beginning of the address range in the pool.
49 #    start: 192.168.151.10
50 #    # end is the end of the address range in the pool.
51 #    end: 192.168.151.20
52 #    # prefix is the network prefix of addresses in the range.
53 #    prefix: 24
54 #    # gateway is optional.
55 #    #gateway: 192.168.151.1
56 #    # preAllocations are optional.  Note that if the pool overlaps
57 #    # with the gateway, then a pre-allocation is required.
58 #    #preAllocations:
59 #    #  controlPlane: 192.168.151.254
60
61 # networks is used when the network configuration of each machine may
62 # be provided with a template containing the names of the baremetal
63 # and provisioning interfaces.
64 #networkData:
65 #  links:
66 #    ethernets:
67 #      baremetal:
68 #        interface: ens6
69 #      provisioning:
70 #        interface: ens5
71 #  networks:
72 #    ipv4DHCP:
73 #      provisioning: {}
74 #    ipv4:
75 #      baremetal:
76 #        # link is optional and defaults to the network name.
77 #        #link: baremetal
78 #        fromIPPool: baremetal
79 #  services:
80 #    dns:
81 #    - 8.8.8.8
82
83 # userData is used to provide cloud-init data for machines in the
84 # cluster.  See
85 # https://cloudinit.readthedocs.io/en/latest/topics/modules.html#users-and-groups
86 # for more information.
87 userData:
88   name: ubuntu
89   # hashedPasswd was created with `mkpasswd --method=SHA-512 --rounds
90   # 10000 "mypasswd"`.
91   hashedPassword: $6$rounds=10000$PJLOBdyTv23pNp$9RpaAOcibbXUMvgJScKK2JRQioXW4XAVFMRKqgCB5jC4QmtAdbA70DU2jTcpAd6pRdEZIaWFjLCNQMBmiiL40.
92   # sshAuthorizedKey key will also be authorized to login as the root
93   # user.
94   sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCrxu+fSrU51vgAO5zP5xWcTU8uLv4MkUZptE2m1BJE88JdQ80kz9DmUmq2AniMkVTy4pNeUW5PsmGJa+anN3MPM99CR9I37zRqy5i6rUDQgKjz8W12RauyeRMIBrbdy7AX1xasoTRnd6Ta47bP0egiFb+vUGnlTFhgfrbYfjbkJhVfVLCTgRw8Yj0NSK16YEyhYLbLXpix5udRpXSiFYIyAEWRCCsWJWljACr99P7EF82vCGI0UDGCCd/1upbUwZeTouD/FJBw9qppe6/1eaqRp7D36UYe3KzLpfHQNgm9AzwgYYZrD4tNN6QBMq/VUIuam0G1aLgG8IYRLs41HYkJ root@jump
95
96 # flux provides bootstrapping configuration of the cluster.  When
97 # enabled, the Flux controllers will be installed into the cluster and
98 # begin reconciling the resources located at the specified location.
99 flux:
100   repositoryName: icn
101   url: https://gerrit.akraino.org/r/icn
102   branch: master
103   # path is the repository to the resources to be applied to the
104   # cluster.
105   path: ./deploy/site/cluster-icn
106   # decryptionSecret is the SOPS secret key used by Flux to decrypt
107   # any SOPS-encrypted data stored in the resources at path.
108   #decryptionSecret: |
109   #  -----BEGIN PGP PRIVATE KEY BLOCK-----
110   #  ...
111
112 # containerRuntime may be containerd.
113 containerRuntime: containerd
114
115 # ipam may be ipv4, dualstack, or ipv6.  This configures IP address
116 # allocation in the cluster to use IPv4 only, dual stack, or IPv6
117 # only.
118 ipam: ipv4
119
120 # podCidr is the Pod CIDR.
121 podCidrBlocks:
122 - 10.244.64.0/18
123
124 # serviceCidr is the Service CIDR.
125 serviceCidrBlocks:
126 - 10.244.0.0/18
127
128 # cni is the cluster CNI.  Supported CNIs include calico and flannel.
129 cni: calico
130
131 # All the version info is captured in one block here.  Care must be
132 # taken to ensure that the OS, Kubernetes, and CRI versions are all
133 # compatible.
134 #
135 # Refer to the below for further information:
136 # - https://github.com/kubernetes/kubernetes/blob/master/build/dependencies.yaml
137 # - https://download.docker.com/linux/ubuntu/dists/focal/stable/binary-amd64/Packages
138 #
139 # imageName is the OS image.
140 imageName: focal-server-cloudimg-amd64.img
141 # k8s is the version of Kubernetes installed.
142 k8sVersion: v1.21.6
143 # kubeVersion is the version of the kubelet, kubeadm, and kubectl
144 # packages.
145 kubeVersion: 1.21.6-00
146 # containerd is the version of containerd installed.
147 containerdVersion: 1.4.11-1
148 # dockerRegistryMirrors are optional mirrors for docker.io, in priority order
149 #dockerRegistryMirrors: ["https://myregistry.com:5000"]
150 # preKubeadmCommands execute on the provisioned machine before the
151 # container runtime or K8s is configured
152 #preKubeadmCommands:
153 #- apt-get update -y
154 #- apt-get install -y unzip