Accessing a Host’s Resources through hostPath Volumes
Learn about the hostPath volume type and how to access the host's resources through it.
Building docker images
Sooner or later, we’ll have to build our images. A simple solution would be to execute the docker image build
command directly from a server. However, that might cause problems. Building images on a single host means that there is uneven resource utilization and that there is a single point of failure. Wouldn’t it be better if we could build images anywhere inside a Kubernetes cluster?
Instead of executing the docker image build
command, we could create a Pod based on the docker
image. Kubernetes will make sure that the Pod is scheduled somewhere inside the cluster and so distribute resource usage much better.
Get hands-on with 1400+ tech skills courses.