Skip to content
Snippets Groups Projects
Commit 9546de14 authored by Rob Kooper's avatar Rob Kooper
Browse files

fix install on floating ip

parent ddc5ef9f
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ resource "openstack_compute_instance_v2" "controlplane" {
cluster_name = var.cluster_name
node_name = local.controlplane[count.index]
node_command = rancher2_cluster.kube.cluster_registration_token.0.node_command
node_options = "--address eth1 --internal-address eth0 --controlplane --etcd"
node_options = "--address awspublic --internal-address awslocal --controlplane --etcd"
}))
block_device {
......
......@@ -56,12 +56,11 @@ variable "rancher_token" {
description = "Access token for rancher, clusters are created as this user"
}
# get latest version from rancher using:
# curl https://releases.rancher.com/kontainer-driver-metadata/release-v2.6/data.json | jq '.RKEDefaultK8sVersions.default'
# curl -s https://releases.rancher.com/kontainer-driver-metadata/release-v2.6/data.json | jq -r '.K8sVersionRKESystemImages | keys'
variable "rke1_version" {
type = string
description = "Version of rke1 to install."
default = ""
default = "v1.21.14-rancher1-1"
}
# ----------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment