rancher / rke2

https://docs.rke2.io/
Apache License 2.0
1.58k stars 268 forks source link

Terraform Standalone Use Case: Testing #4769

Open matttrach opened 1 year ago

matttrach commented 1 year ago

This tracks progress on satisfying a QA RKE2 use case.

We will need different install types (air-gapped and not) We will need to ensure IPv4 and IPv6 We will need Elastic IPs We will need external load balancing for control plane nodes We will need DNS addressing

matttrach commented 1 year ago

We will need private registry and system-default-registry installs

matttrach commented 1 year ago

Different install types complete: https://github.com/rancher/terraform-null-rke2-install/pull/43

matttrach commented 1 year ago

Need to be able to set the AZ for HA clusters: https://github.com/rancher/terraform-aws-server/pull/16

matttrach commented 1 year ago

Rhel9 and CIS: https://github.com/rancher/terraform-aws-server/pull/20 Need to propagate this change to the install and rke2 modules, then add examples for injecting the selinux policy installation

matttrach commented 1 year ago

Propagate CIS to install module with example cis configuration: https://github.com/rancher/terraform-null-rke2-install/pull/51

matttrach commented 1 year ago

rke2 selinux policy is installed by default on rke2 installs with type rpm now

matttrach commented 1 year ago

Status

matttrach commented 8 months ago

This is the current living example of what I have working: https://github.com/rancher/terraform-aws-rke2-live-example This generates an RKE2 node with immutable infrastructure paradigms fully operated by CI workflows.

matttrach commented 8 months ago

Progress and Plans:

matttrach commented 8 months ago

Prioritizing by difficulty/time consumption:

matttrach commented 8 months ago

I need to split this issue to set realistic timelines.

These items can be done relatively quickly:

These items will take longer:

matttrach commented 8 months ago

This ticket will remain for the "quick" items above, and I will create another for the "longer" items to place in our backlog.

matttrach commented 7 months ago

With version 2.0.0 of the access mod, load balancing, dns, and multiple availability zones are covered.

matttrach commented 7 months ago

Moving back to next up for the next phases of this.

matttrach commented 7 months ago

I am currently working on updating the server mod, its next release will include SLE micro as an image type.

matttrach commented 4 months ago

Next challenge is implementing the embedded image registry