This Terraform module deploys Rancher on a Kubernetes cluster, providing an open-source platform for managing Kubernetes and containerized applications.
- Automatic generation of Kubernetes resources
- Support for deploying Rancher on a single node or multiple nodes
Rancher Helm Chart Version | K8s supported version (EKS, AKS & GKE) |
---|---|
2.7.0 | 1.23,1.24 |
2.7.2 | 1.23,1.24,1.25,1.26 |
2.8.2 | 1.23,1.24,1.25,1.26,1.27 |
This module is compatible with EKS, AKS, and GKE, making it ideal for deployments on AWS, Azure, and GCP. Review the documentation, meet configuration requirements, and test thoroughly to ensure proper functionality.
module "rancher" {
source = "saturnops/rancher/kubernetes"
rancher_config = {
email = "[email protected]"
hostname = ""
values_yaml = ""
}
}
- Refer AWS examples for more details.
- Refer Azure examples for more details.
- Refer GCP examples for more details.
The required IAM permissions to create resources from this module can be found here
No requirements.
Name | Version |
---|---|
helm | n/a |
kubernetes | n/a |
random | n/a |
No modules.
Name | Type |
---|---|
helm_release.rancher | resource |
kubernetes_limit_range_v1.rancher_limit | resource |
kubernetes_namespace.cattle_system | resource |
kubernetes_resource_quota_v1.rancher_resource_quota | resource |
random_password.rancher_password | resource |
kubernetes_secret.rancher_password | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
chart_version | Version of the Rancher chart that will be used to deploy Rancher application. | string |
"2.8.2" |
no |
create_resource_limit | Whether enable or disble the resource limit For cattle-system namespace | bool |
false |
no |
create_resource_quota | Whether enable or disble the resource quota For cattle-system namespace | bool |
false |
no |
namespace | Name of the Kubernetes namespace where the Rancher deployment will be deployed. | string |
"cattle-system" |
no |
rancher_config | Specify the configuration settings for Rancher including the hostname,email, and custom YAML values. | any |
{ |
no |
rancher_resource_limit | Specify the configuration settings for Rancher resources limits including cpu, mem, pvc storage for Pods and Container. | any |
{ |
no |
rancher_resource_quota | Specify the configuration settings for Rancher resources quota in a namespace. | any |
{ |
no |
Name | Description |
---|---|
rancher | Rancher_Info |
Please give our GitHub repository a ⭐️ to show your support and increase its visibility.