dhcpd
by kfox1111
Helm chartv0.1.8
Super simple dhcp setup
About this chart
DHCPD
The DHCPD chart launches a simple dhcpd server for your bare metal cluster.
Install Chart
To install the Chart into your Kubernetes cluster :
helm install --namespace "dhcpd" --name "dhcpd" pnnl-miscscripts/dhcpd -f dhcpd-values.yaml
After installation succeeds, you can get a status of Chart
helm status "dhcpd"
If you want to delete your Chart, use this command:
helm delete --purge "dhcpd"
DHCPD configuration
Set your interface(s) like:
interfaces: ['eth0']
Add your subnets to the subnets list like:
config:
subnets:
- start: 172.22.0.0
netmask: 255.255.255.0
Setup a group and add your hosts like:
config:
groups:
- domainName: example.com
domainNameServers: [172.22.0.1]
routers: [172.22.0.1]
subnetMask: 255.255.255.0
hosts:
- name: c1
mac: 00:01:02:aa:bb:cc
ip: 172.22.0.3
Deploy dhcpd with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dhcpd 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 chartdhcpd is pinned at v0.1.8 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