3 ms·
Where is networking configured? I assume the system has to have an IP address before containerd can fetch images.
by wmf 3y ago
Where is networking configured? I assume the system has to have an IP address before containerd can fetch images.
- JustinGarrison 3y agoEverything is API driven and static networking can be configured via kernel args https://www.talos.dev/latest/reference/configuration/v1alpha1/config/ https://www.talos.dev/latest/reference/configuration/v1alpha...
- burnte 3y agoDHCP I would assume.
- wmf 3y agoYeah but where is the DHCP client? In the kernel?
- andrewrynhard 3y agoIn machined (PID1 of Talos).
- funcDropShadow 3y agoAnd moving a network protocol implementation into PID1 is good why? So any security vulnerability in the DHCP implementation gives you root.
- birdiesanders 3y agoYou use machineConfigs that are used to provision the base OS and configure it, and the clusterConfig is used to bootstrap k8s on those machines. You can make subtypes and super types, you can have different networking setups, whatever you like, just apply and the OS is driven to state, then k8s is brought up from there. You are presented a kubeconfig after. Changes are done via application of updated machineConfig. Works great in practices and if you write an operator you can manage the config generation via k8s manifests and get wild with it.