I'm new to Kubernetes development, and I have a task to change some features in Kuberenetes services.
I have the Kubernetes local cluster, and also I have a testbed consisting of 4 RPI's, My first changes were done over Kubectl
, and what I have done was cross compiling the binaries on my machine and then replacing the old binaries found in the RPI's (since compiling the code in the RPI's is time-consuming).
Now, I have reached a point where I have to update some changes to Kube-proxy
, in the local cluster the binary files are in _output/bin
, however in the real cluster the Kube-proxy is running in a container (for each node), so changing the binaries would need creating new Docker images and forcing Kubernetes to choose those images instead of the default ones (as far as I understood).
So My questions:
What is the best/easiest way to push the changes on
Kube-proxy
on the running cluster?If I compiled the code in the RPI, the
make
will release a binary file ofKube-proxy
, but how the cluster will take those changes?
Cluster Spec's:
Kubernetes v1.9.
OS hypriotos-v7+.
Architecture arm 32-bit.