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

[Terraform] - Provisioning VMs onto PVE platform for building k8s cluster #1

Merged
merged 2 commits into from
Nov 13, 2021

Conversation

esirgithub
Copy link
Contributor

@esirgithub esirgithub commented Nov 10, 2021

Summary

Terraform module for provisioning VMs onto PVE platform for building k8s cluster

Description

Add more context to describe the changes

Details

  • Added new module for provisioning VMs tailored to building k8s cluster on Proxmox Virtualization Environment

Checks

  • Already tested changes in staging environment

Notes

  • Some awesome notes

@piyoki piyoki requested a review from kunish November 10, 2021 01:51
@piyoki piyoki added documentation Improvements or additions to documentation terraform feature labels Nov 10, 2021
@piyoki
Copy link
Member

piyoki commented Nov 10, 2021

I will be introducing pre-commit in a second

@piyoki piyoki assigned piyoki and unassigned piyoki Nov 10, 2021
@piyoki piyoki self-requested a review November 10, 2021 02:47
Copy link
Member

@piyoki piyoki left a comment

Choose a reason for hiding this comment

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

In general, looks good

@piyoki piyoki changed the title Provisioning VMs onto PVE platform for building k8s cluster [Terraform] - Provisioning VMs onto PVE platform for building k8s cluster Nov 10, 2021
Copy link
Member

@kunish kunish left a comment

Choose a reason for hiding this comment

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

It's a boilerplate we can use for now.
Will be tweaked little later.

@piyoki piyoki merged commit 6547568 into techprober:master Nov 13, 2021
@kunish kunish linked an issue Nov 13, 2021 that may be closed by this pull request
1 task
piyoki added a commit that referenced this pull request Jan 21, 2024
piyoki added a commit that referenced this pull request Jan 27, 2024
…ge (#406)

* initial commit

* chore: don't track config.json

* docs: update reference list

* patch(bootstrap.ops): remove deprecated warning arg

* patch(playbooks): make minor patches

* feat(playbooks): add debian-12-server playbook

* patch(apt.ops/set-sources.ops): add debian support

* feat: add proxmox-packer-debian-template

* fix(apt.ops/set-sources.ops): fix syntax

* feat: set tags in post-build

* docs: update bake cli usage

* patch: refine bake cli helper

* refactor: use new naming convention to link vm templates

* feat(playbook/apt): add more common base packages

* feat(playbook/apt): add dnsutils to user-defined pkg

* refactor: rename config.json.example -> host.json.example

* Delete packer-templates/host.json

* refactor: do not use *.example in vars/

* docs: fix typo

* docs: update usage

* docs: add warning notes

* docs: update bootstrap script usage

* patch: remove existing debian source

* update ignore list

* fix: fix var parsing

* feat: add bootstrap inventory hosts (proxmox-servers)

* feat: add remote.cloudimg bootstrap role

* feat: update bootstrap vars

* feat: add bootstrap playbook (stage #1)

* feat: add global ansible.cfg

* patch: update default debian_12 template vars

* patch: update debian-12 default packer template

* fix: fix typo

* feat: add local.packer-build role

* feat: add bake playbook

* chore: ignore build.log

* patch: update default var naming

* docs: update readme

* feat: add vars/

* chore: update gitignore

* chore(readme): remove telegram badge

* chore(readme): remove deprecated post

* patch: update default mem size

* chore(readme): add build.log inspect guide

* chore(readme): add PM_PASS export guide

* patch: update default disk size from 20g to 10g

* feat: add install packer binary step

* refactor: relocate  default vars for packer download

* feat(local.packer-build): add unzip step

* patch: add missing state for file permission mod

* feat: add logic to install unzip

* feat: add step to install required packer plugins

* refactor: separate install-unzip task

* feat: add set parent dir step

* patch: tweak parent_dir reference

* patch: fix syntax err

* feat: add multiple pub keys

* fix: fix syntax

* test: temporarily disable local-shell provisioners

* feat: add post-install role

* patch: fix include_task conflict

* fix: fix naming convention

* refactor: move templates/ to the remote.post-install.cloudinit role

* fix: fix syntax error

* fix: fix syntax error

* feat: use group_vars

* refactor: rename group_vars.yml -> group_vars/proxmox_servers.yml

* refactor: separate vars into groups

* patch: fix internal conflicts

* patch: fix internal conflicts

* refactor: use a single all.yml var file

* test: test var inheritence

* chore(readme): add vars description

* chore(readme): add eol

* chore(readme): fix quote text

* chore(readme): fix quote

* chore(readme): fix quote text

* test: test regex

* test: test fileglob

* patch: use single unified key.pub store

* feat: add dependency chain

* feat: add tags in each play

* fix: fix internal conflicts

* chore(readme): update run instruction

* chore(readme): remove jq from prerequisites

* chore: update task name

* refactor: demise deprecated resources

* feat: add opensuse support

* feat: add opensuse-tumbleweed support

* feat: add ubuntu configuration

* feat: add fedora support

* feat: add more distro options

* feat: add ansible-vault support

* feat(ansible-playbooks): update encryption examples

* fix: remove unnecessary file

* feat: add dedicated disable-password-login role

* fix: fix locale conflict

* fix: fix packer permission issue

* patch: add playbook_file to packer-build.pkvars

* chore(readme): run playbook with -K (required sudo access)

* fix: apply minor patches

* chore(readme): update instructions

* fix: fix syntax

* fix: fix syntax

* fix: fix syntax

* refactor(playbooks): deprecated out-of-support playbooks

* fix: fix install_packer condition

* chore(readme): add instructions on bootstrap packer plugins

* refactor: clean up

* refactor(playbook): custom.yml -> deprecated/

* feat(post-install): add locale support

* refactor: migrate locale.ops role

* refactor: rename locale.ops/ -> locales.ops/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature terraform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Features] - Open discussion for feature requests
3 participants