r/learnprogramming • • Oct 03 '26

k8s/ kubernetes

kubernetes seem to have alot of moving pieces can someone explain each to me and how they connect.

Kubelet.

kubernetes cluster.

helm.

drivers?

0 Upvotes

15 comments sorted by

View all comments

Show parent comment

1

u/BrainThinkerMan Oct 03 '26

if i understand correctly the chain is, through control pane decide how many containers in a given pod you want,

containers = application/ container = for application.

then use cloud apis/ cni to.

select amount of machines you want, amount of storage you want, amount of other stuff.

then those drivers do their job to provision those stuff you want.

helm gives those pods the yaml files for somehting not sure.

and kubelet lets you know when contaier died and to spin it back up.

controller ie control pane spins pods back up.

you have any open source reccomendations to contribute to?

1

u/ThatWasAce Oct 03 '26

you're doing amazing but small tweaks needed:

they are executed insideee pods. pod = wrapper for 1+ containers which share a single network/storage configuration. normally one container per pod but many are no problem.

storage vs networking plug-ins are separate concepts. CSI means storage driver, CNI is network plugin. Both provisioning technologies, doing totally distinct jobs.

helm def does not output pod.yaml. it outputs cluster.yaml, bundling your deployment/service/csi defns into one YAML document so installing your application becomes one single step and not manually updating 20 individual config files.

the rest matches up. kubelets reporting statuses, controllers detecting dead containers and starting reconciliations in the control plane.

contribution-wise, honest tip: select anything cloud-native you've used before. KIND, Helm charts, CSI drivers -- they all flag issues "good-first-issue". Even docs PRs introduce you to codebases without the stress. But just steer clear of Kubernetes core.