Skip to content

Commit 739f0f2

Browse files
author
Michal Muransky
committed
fix: merge readme and defaults changes
1 parent 3fb5a45 commit 739f0f2

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

README.md

+9-8
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ rke2_airgap_copy_sourcepath: local_artifacts
167167
# (File extensions in the list and on the real files must be retained)
168168
rke2_airgap_copy_additional_tarballs: []
169169

170-
# Destination for airgap additional images tarballs ( see https://docs.rke2.io/install/airgap/#tarball-method )
170+
# Destination for airgap additional images tarballs ( see https://docs.rke2.io/install/airgap#tarball-method )
171171
rke2_tarball_images_path: "{{ rke2_data_path }}/agent/images"
172172

173173
# Architecture to be downloaded, currently there are releases for amd64 and s390x
@@ -186,12 +186,13 @@ rke2_disable:
186186
# Option to disable kube-proxy
187187
disable_kube_proxy: false
188188

189-
# Option to disable builtin cloud controller - mostly for onprem
189+
# Option to disable builtin cloud controller when working with aws, azure, gce etc
190+
# For onprem environment, this should remain false and keep rke2_cloud_provider_name as "external"
191+
# https://docs.k3s.io/networking/networking-services#deploying-an-external-cloud-controller-manager (same for RKE2)
190192
rke2_disable_cloud_controller: false
191193

192-
# Cloud provider to use for the cluster (aws, azure, gce, harvester, rancher-vsphere, openstack, vsphere, external)
194+
# Cloud provider to use for the cluster (aws, azure, gce, openstack, vsphere, external)
193195
# applicable only if rke2_disable_cloud_controller is true
194-
# Can be set to false to disable setting it in the configuration file
195196
rke2_cloud_provider_name: "external"
196197

197198
# Path to custom manifests deployed during the RKE2 installation
@@ -248,11 +249,11 @@ rke2_etcd_snapshot_destination_dir: "{{ rke2_data_path }}/server/db/snapshots"
248249
rke2_snapshotter: "{{ rke2_snapshooter }}"
249250
rke2_snapshooter: overlayfs # legacy variable that only exists to keep backward compatibility with previous configurations
250251

251-
# Deploy RKE2 with default CNI canal (should be a list)
252+
# Deploy RKE2 with default CNI canal
252253
rke2_cni: [canal]
253254

254255
# Validate system configuration against the selected benchmark
255-
# (Supported value is "cis-1.23" or eventually "cis-1.6" if you are running RKE2 prior 1.25)
256+
# (Supported value is "cis-1.23" or eventually "cis-1.6" if you are running RKE2 prior 1.25 or "cis" for rke2 1.30+)
256257
rke2_cis_profile: ""
257258

258259
# Download Kubernetes config file to the Ansible controller
@@ -335,11 +336,11 @@ rke2_debug: false
335336
# The value for the node-name configuration item
336337
rke2_node_name: "{{ inventory_hostname }}"
337338

338-
# the network to use for Pods.. Set to '10.42.0.0/16' by default.
339+
# default pod network range for rke2
339340
rke2_cluster_cidr:
340341
- 10.42.0.0/16
341342

342-
# the network to use for ClusterIP Services. Set to '10.43.0.0/16' by default.
343+
# default service network range for rke2
343344
rke2_service_cidr:
344345
- 10.43.0.0/16
345346

defaults/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ rke2_snapshotter: "{{ rke2_snapshooter }}"
212212
rke2_snapshooter: overlayfs # legacy variable that only exists to keep backward compatibility with previous configurations
213213

214214
# Deploy RKE2 with default CNI canal
215-
rke2_cni: canal
215+
rke2_cni: [canal]
216216

217217
# Validate system configuration against the selected benchmark
218218
# (Supported value is "cis-1.23" or eventually "cis-1.6" if you are running RKE2 prior 1.25 or "cis" for rke2 1.30+)

0 commit comments

Comments
 (0)