feat: add cluster network and service options

This commit is contained in:
Robert Kaussow 2023-04-11 12:14:52 +00:00
parent 1cbf94cf5d
commit 99656304ac

View File

@ -28,6 +28,9 @@ Setup K3s cluster nodes.
- [k3s_server_admission_plugins](#k3s_server_admission_plugins) - [k3s_server_admission_plugins](#k3s_server_admission_plugins)
- [k3s_server_bind_ip](#k3s_server_bind_ip) - [k3s_server_bind_ip](#k3s_server_bind_ip)
- [k3s_server_cloud_controller_enabled](#k3s_server_cloud_controller_enabled) - [k3s_server_cloud_controller_enabled](#k3s_server_cloud_controller_enabled)
- [k3s_server_cluster_cidr](#k3s_server_cluster_cidr)
- [k3s_server_cluster_dns](#k3s_server_cluster_dns)
- [k3s_server_cluster_domain](#k3s_server_cluster_domain)
- [k3s_server_components_disabled](#k3s_server_components_disabled) - [k3s_server_components_disabled](#k3s_server_components_disabled)
- [k3s_server_feature_gates](#k3s_server_feature_gates) - [k3s_server_feature_gates](#k3s_server_feature_gates)
- [k3s_server_flannel_backend_enabled](#k3s_server_flannel_backend_enabled) - [k3s_server_flannel_backend_enabled](#k3s_server_flannel_backend_enabled)
@ -38,6 +41,8 @@ Setup K3s cluster nodes.
- [k3s_server_nodes](#k3s_server_nodes) - [k3s_server_nodes](#k3s_server_nodes)
- [k3s_server_resource_creations](#k3s_server_resource_creations) - [k3s_server_resource_creations](#k3s_server_resource_creations)
- [k3s_server_resource_patches](#k3s_server_resource_patches) - [k3s_server_resource_patches](#k3s_server_resource_patches)
- [k3s_server_service_cidr](#k3s_server_service_cidr)
- [k3s_server_service_node_port_range](#k3s_server_service_node_port_range)
- [k3s_server_workload_enabled](#k3s_server_workload_enabled) - [k3s_server_workload_enabled](#k3s_server_workload_enabled)
- [k3s_token](#k3s_token) - [k3s_token](#k3s_token)
- [k3s_version](#k3s_version) - [k3s_version](#k3s_version)
@ -193,6 +198,30 @@ k3s_server_bind_ip: 0.0.0.0
k3s_server_cloud_controller_enabled: true k3s_server_cloud_controller_enabled: true
``` ```
### k3s_server_cluster_cidr
#### Default value
```YAML
k3s_server_cluster_cidr: 10.42.0.0/16
```
### k3s_server_cluster_dns
#### Default value
```YAML
k3s_server_cluster_dns: 10.43.0.10
```
### k3s_server_cluster_domain
#### Default value
```YAML
k3s_server_cluster_domain: cluster.local
```
### k3s_server_components_disabled ### k3s_server_components_disabled
#### Default value #### Default value
@ -275,6 +304,22 @@ k3s_server_resource_creations: []
k3s_server_resource_patches: [] k3s_server_resource_patches: []
``` ```
### k3s_server_service_cidr
#### Default value
```YAML
k3s_server_service_cidr: 10.43.0.0/16
```
### k3s_server_service_node_port_range
#### Default value
```YAML
k3s_server_service_node_port_range: 30000-32767
```
### k3s_server_workload_enabled ### k3s_server_workload_enabled
#### Default value #### Default value