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

support baremetal deployment (i.e. no infra automation) #1

Open
snowch opened this issue Feb 17, 2022 · 2 comments
Open

support baremetal deployment (i.e. no infra automation) #1

snowch opened this issue Feb 17, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@snowch
Copy link
Contributor

snowch commented Feb 17, 2022

@erdincka - does this look like it could work?

baremetal/myvars.tfvars

...
workers_private_ip = [ 1.2.3.4 ]
workers_private_dns = [  a.b.c ]
worker_count = [ 2 ]

baremetal/variables.tf

variable workers_private_ip { default = [] }
variable workers_private_dns { default = [ ] }
variable worker_count { default = [] }
...
output "workers_private_ip" {
  value = vars.workers_private_ip
}
output "workers_private_dns" {
  value = vars.workers_private_dns
}
output "worker_count" {
  value = vars.worker_count
}

We should just need these files and a config.json file?

@snowch snowch added the enhancement New feature or request label Feb 17, 2022
@erdincka
Copy link
Contributor

@snowch, I tried to document adding a new target in the ./CONTRIBUTING.md file. Also might be helpful to check ./server/mac folder. That uses terraform to run a script and generate the required output. Similar to what you have here, but few more options are needed, such as gateway_public_dns, (gateway|controller|worker)_prv_ips etc.

@erdincka
Copy link
Contributor

The comment above is not valid anymore :)
This should work with "dc" (on-prem) deployment module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants