104 lines
2.7 KiB
Markdown
104 lines
2.7 KiB
Markdown
## Requirements
|
|
|
|
The following requirements are needed by this module:
|
|
|
|
- <a name="requirement_kubernetes"></a> [kubernetes](#requirement\_kubernetes) (~> 2.11)
|
|
|
|
## Providers
|
|
|
|
The following providers are used by this module:
|
|
|
|
- <a name="provider_kubernetes"></a> [kubernetes](#provider\_kubernetes) (~> 2.11)
|
|
|
|
## Modules
|
|
|
|
No modules.
|
|
|
|
## Resources
|
|
|
|
The following resources are used by this module:
|
|
|
|
- [kubernetes_cluster_role_binding.this](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/cluster_role_binding) (resource)
|
|
- [kubernetes_config_map.this](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) (resource)
|
|
- [kubernetes_daemonset.this](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/daemonset) (resource)
|
|
- [kubernetes_service.prometheus](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/service) (resource)
|
|
- [kubernetes_service_account.this](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/service_account) (resource)
|
|
|
|
## Required Inputs
|
|
|
|
The following input variables are required:
|
|
|
|
### <a name="input_cluster_cidr"></a> [cluster\_cidr](#input\_cluster\_cidr)
|
|
|
|
Description: Kubernetes cluster CIDR
|
|
|
|
Type: `string`
|
|
|
|
### <a name="input_kubernetes_server"></a> [kubernetes\_server](#input\_kubernetes\_server)
|
|
|
|
Description: Kubernetes (master) server address (eg: https://k8s.my.domain:6443/)
|
|
|
|
Type: `string`
|
|
|
|
### <a name="input_kubernetes_version"></a> [kubernetes\_version](#input\_kubernetes\_version)
|
|
|
|
Description: Kubernetes cluster version (eg: 1.23.5)
|
|
|
|
Type: `string`
|
|
|
|
## Optional Inputs
|
|
|
|
The following input variables are optional (have default values):
|
|
|
|
### <a name="input_additional_config"></a> [additional\_config](#input\_additional\_config)
|
|
|
|
Description: n/a
|
|
|
|
Type: `map(any)`
|
|
|
|
Default: `{}`
|
|
|
|
### <a name="input_daemonset_name"></a> [daemonset\_name](#input\_daemonset\_name)
|
|
|
|
Description: n/a
|
|
|
|
Type: `string`
|
|
|
|
Default: `"kube-proxy"`
|
|
|
|
### <a name="input_mode"></a> [mode](#input\_mode)
|
|
|
|
Description: n/a
|
|
|
|
Type: `string`
|
|
|
|
Default: `"iptables"`
|
|
|
|
### <a name="input_namespace"></a> [namespace](#input\_namespace)
|
|
|
|
Description: n/a
|
|
|
|
Type: `string`
|
|
|
|
Default: `"kube-system"`
|
|
|
|
## Outputs
|
|
|
|
The following outputs are exported:
|
|
|
|
### <a name="output_cluster_role_binding"></a> [cluster\_role\_binding](#output\_cluster\_role\_binding)
|
|
|
|
Description: n/a
|
|
|
|
### <a name="output_configmap"></a> [configmap](#output\_configmap)
|
|
|
|
Description: n/a
|
|
|
|
### <a name="output_daemonset"></a> [daemonset](#output\_daemonset)
|
|
|
|
Description: n/a
|
|
|
|
### <a name="output_service_account"></a> [service\_account](#output\_service\_account)
|
|
|
|
Description: n/a
|