I came across the idea of using a phone as a Kubernetes node. How would that work, and is there a practical reason to do it?
Could a smartphone actually be a Kubernetes node?
Answers
Yes, in principle. A node is a machine that runs Kubernetes workloads, not a pod itself. The phone would need a compatible way to run the node components and containers, and it would need to connect to a cluster.
The tricky part is the setup. Support depends on the phone's operating system, kernel features and how much access you have to the device. A demonstration that works on one phone doesn't necessarily mean there's a straightforward setup for every phone.
Reply to this answer
It sounds like a fun experiment more than an obvious replacement for a normal server. You could use it to learn about cluster nodes or see how a workload behaves on a mobile device. Whether it solves a real problem depends on what you're trying to run.
Reply to this answer
Personally, I wouldn't want my everyday phone doing this. Battery use, heat, limited resources and an unreliable network connection are all things to think about. A phone that goes to sleep or leaves the network isn't a great place for a workload that needs to stay available.
Reply to this answer
The trust question matters too. Joining a cluster doesn't automatically mean random people can run code on your phone, but whoever controls scheduling for that cluster may be able to place workloads on the node. Only join a cluster you trust and check what access those workloads would have.
Reply to this answer
Add your answer
Answers are reviewed before publication.
_u56+zordeli.7:
So the phone could run pods, rather than becoming a pod itself?
NettleOrbit+5k:
Exactly. The phone would act as the node, and the cluster could schedule suitable pods onto it.