Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.6] RKE v1.6.4 support #483

Closed
jiaqiluo opened this issue Dec 2, 2024 · 2 comments
Closed

[1.6] RKE v1.6.4 support #483

jiaqiluo opened this issue Dec 2, 2024 · 2 comments
Assignees
Milestone

Comments

@jiaqiluo
Copy link
Member

jiaqiluo commented Dec 2, 2024

This issue is used to track the effort for supporting RKE v1.6.4 https://github.com/rancher/rke/releases/tag/v1.6.4

@jiaqiluo jiaqiluo added this to the v1.6.1 milestone Dec 2, 2024
@jiaqiluo jiaqiluo self-assigned this Dec 2, 2024
@jiaqiluo
Copy link
Member Author

jiaqiluo commented Dec 2, 2024

This issue can be validated on v1.6.1-rc1

@markusewalker
Copy link

Validated that this is addressed. See details below:

ENVIRONMENT DETAILS

  • TFP-RKE version: v1.6.1-rc1
  • RKE version: v1.30.6

TEST RESULT

# Scenario Result
1 Provision RKE1 cluster using TFP-RKE v1.6.1-rc1

VALIDATION STEPS

Scenario 1

  1. On client node, utilize the following main.tf:
terraform {
  required_providers {
    rke = {
      source  = "terraform.local/local/rke"
      version = "1.6.1-rc1"
    }
  }
}

provider "rke" {
  log_file = var.log_file
}

resource "rke_cluster" "cluster" {
  nodes {
    address = var.address1
    user    = var.user
    role    = ["controlplane", "worker", "etcd"]
    ssh_key = file(var.ssh_key_path)
  }
  nodes {
    address = var.address2
    user    = var.user
    role    = ["controlplane", "worker", "etcd"]
    ssh_key = file(var.ssh_key_path)
  }
  nodes {
    address = var.address3
    user    = var.user
    role    = ["controlplane", "worker", "etcd"]
    ssh_key = file(var.ssh_key_path)
  }
  enable_cri_dockerd = true
}

NOTE: The kubeconfig is in outputs.tf and will not be shared here.
2. Run terraform apply.
3. Using the kubeconfig defined in outputs.tf, place that in ~/HOME/.kube/config.
4. Run kubectl get nodes:

$ kubectl get nodes
NAME            STATUS   ROLES                      AGE   VERSION
<omitted>   Ready    controlplane,etcd,worker   84s   v1.30.6
<omitted>   Ready    controlplane,etcd,worker   84s   v1.30.6
<omitted>   Ready    controlplane,etcd,worker   84s   v1.30.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants