pixiecore-simpleconfig
by kfox1111
Helm chart for simple config of pixiecore
About this chart
pixiecore-simpleconfig is a chart that lets you quickly setup a backend for pixiecore
You can put the pixiecore json files directly into config, keyed by mac address.
For example, to pxe boot 00:11:22:33, use values file:
config:
"00:11:22:33": |
{
"kernel": "http://xxx.xxx.xxx.xxx:9090/vmlinuz",
"initrd": ["http://xxx.xxx.xxx.xxx:9090/initrd.img"],
"cmdline": "ks=http://xxx.xxx.xxx.xxx:9091/v1/boot/ks.cfg ksdevice=ens1 console=ttyS1,115200"
}
Install like:
helm install pnnlmiscscripts/pixiecore-simpleconfig \
--name pixiecore-simpleconfig \
--namespace provision \
-f pixiecore-simpleconfig-values.yaml
Then point your pixiecore at the pixiecore-simpleconfig.
The config value gets mapped directly to a configmap, so its possible to put other things in there such as kickstart files if that simplifies your setup.
Deploy pixiecore-simpleconfig with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has pixiecore-simpleconfig on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartpixiecore-simpleconfig is pinned at v0.1.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply