Check out my post for background: http://pawa.lt/posts/2019/07/automating-k3s-deployment-on-proxmox/
pawalt / proxmox-k3s Goto Github PK
View Code? Open in Web Editor NEWZero-touch k3s deployment on Proxmox
Zero-touch k3s deployment on Proxmox
Check out my post for background: http://pawa.lt/posts/2019/07/automating-k3s-deployment-on-proxmox/
I have my lab on a vlan - 10.0.60.1/22
However regardless of how I set this up, I am not seeing the ips inside of the vms via serial shell.
I see 0.0.0.0
I am able to create VM's manually and do dhcp reservation/static with no issues.
I am a novice with both ansible/terraform however I have a pretty rounded knowledge of k3s.
What would the correct configuration be?
name_prefix = "k3s-node" ips = [ "10.0.60.100", "10.0.60.101", "10.0.60.102", "10.0.60.103", ]
So for 10.0.60.100 cloud-init states - 10.0.60.100/24 with gateway 10.0.60.1
Not seeing anything hit my router, and output of ip a is
0.0.0.0 in the interface.
hi,
very nice one.
there can be improved by using ansible playbook to create the cloud-init vm
If I have time I make it.
Cheers,
Mihai
I fully acknowledge this may be entirely my fault. That being said, when running terraform init
I'm getting this error: "Error: Failed to query available provider packages" and it's attempting to find hashicorp/proxmox on Terraform's registry. I have specifically defined telmate/proxmox as a required providers source, and it actually does download and install that from the registry. But it also fails because it's failing to find hashicorp/proxmox in addition. It says run terraform providers
to find out which module is requiring this provider, which tells me:
Providers required by configuration:
.
├── provider[registry.terraform.io/telmate/proxmox]
└── module.k3s-cluster
└── provider[registry.terraform.io/hashicorp/proxmox]
If I'm reading that correctly, it's the k3s-cluster module that is causing Terraform to search in the wrong place, however I can't figure out where this is defined or how to override it.
I'm running Terraform 1.0.4 with the latest proxmox provider 2.7.4.
Would you be so kind as to point me in the right direction?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.