Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
radiant-cluster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kubernetes
radiant-cluster
Commits
7f5f7e8a
Commit
7f5f7e8a
authored
1 year ago
by
Rob Kooper
Browse files
Options
Downloads
Patches
Plain Diff
Update variables.tf
parent
feb9c487
No related branches found
Branches containing commit
Tags
v3.0.0
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
terraform/modules/rke1/variables.tf
+16
-104
16 additions, 104 deletions
terraform/modules/rke1/variables.tf
with
16 additions
and
104 deletions
terraform/modules/rke1/variables.tf
+
16
−
104
View file @
7f5f7e8a
...
...
@@ -24,31 +24,6 @@ variable "cluster_machines" {
default
=
[]
}
# ----------------------------------------------------------------------
# APPLICATIONS
# ----------------------------------------------------------------------
# DEPRECATED - will move to argocd
variable
"monitoring_enabled"
{
type
=
bool
description
=
"Enable monitoring in rancher"
default
=
true
}
# DEPRECATED - will move to argocd
variable
"longhorn_enabled"
{
type
=
bool
description
=
"Enable longhorn storage"
default
=
true
}
# DEPRECATED - will move to argocd
variable
"longhorn_replicas"
{
type
=
string
description
=
"Number of replicas"
default
=
3
}
# ----------------------------------------------------------------------
# RANCHER
# ----------------------------------------------------------------------
...
...
@@ -72,6 +47,12 @@ variable "rke1_version" {
default
=
"v1.21.14-rancher1-1"
}
variable
"network_plugin"
{
type
=
string
description
=
"Network plugin to be used"
default
=
"weave"
}
# ----------------------------------------------------------------------
# USERS
# ----------------------------------------------------------------------
...
...
@@ -134,20 +115,6 @@ variable "openstack_external_net" {
default
=
"ext-net"
}
# DEPRECATED - new key will always be created
variable
"openstack_ssh_key"
{
type
=
string
description
=
"existing SSH key to use, leave blank for a new one"
default
=
""
}
# DEPRECATED - use cluster.json
variable
"openstack_zone"
{
type
=
string
description
=
"default zone to use for openstack nodes"
default
=
"nova"
}
variable
"openstack_security_kubernetes"
{
type
=
map
(
any
)
description
=
"IP address to allow connections to kube api port, default is rancher nodes"
...
...
@@ -158,12 +125,11 @@ variable "openstack_security_kubernetes" {
}
}
// TODO change this to be ncsa only
variable
"openstack_security_ssh"
{
type
=
map
(
any
)
description
=
"IP address to allow connections to ssh, default is open to
the world
"
description
=
"IP address to allow connections to ssh, default is open to
NCSA
"
default
=
{
"world"
:
"
0.0
.0.0/
0
"
"world"
:
"
141.142
.0.0/
16
"
}
}
...
...
@@ -178,71 +144,17 @@ variable "openstack_os_image" {
type
=
map
(
any
)
description
=
"Map from short OS name to image"
default
=
{
"centos"
=
"CentOS-7-GenericCloud-Latest"
"ubuntu"
=
"Ubuntu Jammy (22.04) latest"
"ubuntu"
=
{
"imagename"
:
"Ubuntu Jammy (22.04) latest"
"username"
:
"ubuntu"
}
"ubuntu22"
=
{
"imagename"
:
"Ubuntu Jammy (22.04) latest"
"username"
:
"ubuntu"
}
}
}
# ----------------------------------------------------------------------
# OPENSTACK NODES
# ----------------------------------------------------------------------
# DEPRECATED - will always start at 1 with cluster.json
variable
"old_hostnames"
{
type
=
bool
description
=
"should old hostname be used (base 0)"
default
=
false
}
# DEPRECATED - use cluster.json
variable
"os"
{
type
=
string
description
=
"Base image to use for the OS"
default
=
"CentOS-7-GenericCloud-Latest"
}
# DEPRECATED - use cluster.json
variable
"controlplane_count"
{
type
=
string
description
=
"Desired quantity of control-plane nodes"
default
=
1
}
# DEPRECATED - use cluster.json
variable
"controlplane_flavor"
{
type
=
string
description
=
"Desired flavor of control-plane nodes"
default
=
"m1.medium"
}
# DEPRECATED - use cluster.json
variable
"controlplane_disksize"
{
type
=
string
description
=
"Desired disksize of control-plane nodes"
default
=
40
}
# DEPRECATED - use cluster.json
variable
"worker_count"
{
type
=
string
description
=
"Desired quantity of worker nodes"
default
=
1
}
# DEPRECATED - use cluster.json
variable
"worker_flavor"
{
type
=
string
description
=
"Desired flavor of worker nodes"
default
=
"m1.large"
}
# DEPRECATED - use cluster.json
variable
"worker_disksize"
{
type
=
string
description
=
"Desired disksize of worker nodes"
default
=
40
}
# ----------------------------------------------------------------------
# NETWORKING
# ----------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment