What are these .service files and where are they located? is this systemd unit . . .

Patrick Putman:
What are these .service files and where are they located? is this systemd unit files?

Alistair Mackay:
Yes, those are systemd unit files.
It would only be set up that way on clusters not installed with kubeadm, i.e. the scheduler and other components are services an not pods.

You can locate any systemd unit file using the service name (eg kube-scheduler.service)

systemctl cat kube-scheduler.service

The first line of the output is a comment containing the full path to the file.

Try it with kubelet in any lab. kubelet is always a service

systemctl cat kubelet.service

Patrick Putman:
Thanks!

Patrick Putman:
so for the cka, are clusters set up with kube-adm in the exam, or are they services?

Alistair Mackay:
Generally kubeadm, but external ectd is possible too - as in you need to know both etcd backup methods.

Patrick Putman:
great, thank you