oracle-terraform-modules / terraform-oci-oke

The Terraform OKE Module Installer for Oracle Cloud Infrastructure provides a Terraform module that provisions the necessary resources for Oracle Container Engine.
https://oracle-terraform-modules.github.io/terraform-oci-oke/
Universal Permissive License v1.0
157 stars 212 forks source link

Allow k8s autoscaler to be installed via local terraform client, rather than remote operator. #894

Open cwiggs opened 9 months ago

cwiggs commented 9 months ago

Community Note

Description

Currently the k8s autoscaler is installed via a remote-exec provisioner here. This works well if you are using the bastion and operator servers, but if you aren't using those servers you aren't able to deploy the autoscaler.

It would be nice to have a variable that allows you to install the autoscaler the same way but using the same machine where Terraform is running.

New or Affected Resource(s)

A variable in the autoscaler.tf file that allows you to use a local provisioner.

Questions

Thanks

cwiggs commented 9 months ago

I opened a draft PR to add this feature here: https://github.com/oracle-terraform-modules/terraform-oci-oke/pull/895