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

October 2024 revamp #88

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

e-minguez
Copy link
Contributor

@e-minguez e-minguez commented Sep 24, 2024

  • Replaced Bird by native MetalLB
  • Setup Ingress IP properly
  • Deploy an extra Ingress to handle the Global IP (instead of abusing the regular Ingress that makes unable to expose cluster-wide apps and only global ones)
  • Added Rancher deployment (Rancher flavor and version can be provided)
  • K3s or RKE2 (any version can be specified)
  • Added a helper script to perform the Rancher bootstrap process automatically as well as importing all the clusters to it
  • Added shfmt to the pre-commit action
  • Switched to Terraform >= 1.9.0 (as required to include a new validation)
  • Fixed pre-commit action -> Action started failing recently pre-commit/action#210

Closes #53, closes #81, closes #67, closes #66

@e-minguez e-minguez marked this pull request as draft September 24, 2024 14:48
@e-minguez e-minguez force-pushed the rancher-rke2-metal3-bird branch 5 times, most recently from 86630a4 to 5048824 Compare September 30, 2024 17:13
@e-minguez e-minguez changed the title [DRAFT] Replaced Bird by native MetalLB [DRAFT] October 2024 revamp Sep 30, 2024
@e-minguez e-minguez force-pushed the rancher-rke2-metal3-bird branch 2 times, most recently from c4e45cd to 59a9c9b Compare October 2, 2024 16:52
@e-minguez e-minguez marked this pull request as ready for review October 2, 2024 16:53
@e-minguez e-minguez changed the title [DRAFT] October 2024 revamp October 2024 revamp Oct 2, 2024
modules/kube_cluster/outputs.tf Show resolved Hide resolved
modules/kube_cluster/variables.tf Show resolved Hide resolved
variables.tf Show resolved Hide resolved
@e-minguez
Copy link
Contributor Author

What about encoding the initial password in base64? It is just an initial password, you still need to perform the Rancher bootstrap process :)

main.tf Show resolved Hide resolved
displague
displague previously approved these changes Oct 3, 2024
Copy link
Member

@displague displague left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

terraform apply of examples/demo_cluster succeeded.

Cluster and demo app ingress was accessible. NodeIP was private.

lgtm

spec:
  podCIDR: 10.42.0.0/24
  podCIDRs:
  - 10.42.0.0/24
  providerID: k3s://demo-cluster-cp-aio
status:
  addresses:
  - address: 10.25.17.3
    type: InternalIP
  - address: 147.28.227.125
    type: ExternalIP
  - address: demo-cluster-cp-aio
    type: Hostname

@displague
Copy link
Member

I want to walk through the RKE deployment and the optional rancher deployment too. I'll give these a try later today.

@e-minguez e-minguez marked this pull request as draft October 3, 2024 14:25
@e-minguez e-minguez marked this pull request as ready for review October 3, 2024 14:38
@e-minguez
Copy link
Contributor Author

I want to walk through the RKE deployment and the optional rancher deployment too. I'll give these a try later today.

Great! I've just pushed a new version. Now contains a helper script to perform the Rancher bootstrap process automatically as well as importing all the clusters to it.

@e-minguez e-minguez force-pushed the rancher-rke2-metal3-bird branch 5 times, most recently from e2c81ac to ce9b45c Compare October 3, 2024 15:38
- Replaced Bird by native MetalLB
- Setup Ingress IP properly
- Deploy an extra Ingress to handle the Global IP (instead of abusing the regular Ingress that makes unable to expose cluster-wide apps and only global ones)
- Added Rancher deployment (Rancher flavor and version can be provided)
- K3s or RKE2 (any version can be specified)
- Added a helper script to perform the Rancher bootstrap process automatically as well as importing all the clusters to it
- Added `shfmt` to the pre-commit action
- Switched to Terraform >= 1.9.0 (as required to include a new validation)
- Fixed pre-commit action -> pre-commit/action#210

Closes equinix-labs#53, closes equinix-labs#81, closes equinix-labs#67, closes equinix-labs#66
Copy link
Contributor

@dcallao dcallao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@e-minguez LGTM. I tested your changes and don't see anything outstanding.

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