You now understand two different techniques for starting a container on Kubernetes. Nginx is commonly used for serving up web content and as you can see is easy to start on Kubernetes. There are thousands of other containers that can easily be started with these same basic steps.
With these steps you have learned:
- ✔ how to use the basics of the kubectl CLI tool,
- ✔ how to install Nginx on Kubernetes,
- ✔ how containers are deployed as Deployments in Pods,
- ✔ how a Service can provide access to replications of Pods.
Hopefully, you also understand how Kubernetes is a new type of data center operating system that can run your applications - across multiple nodes on your local laptop, a rack of servers, or any cloud target. If you are considering deploying multiple containers that make up a larger solution consider layering on Helm as a package manager for these manifests.
For a deeper understanding of these topics and more join
at various conferences, symposiums, workshops and meetups.
Software Architectures ★ Speaker ★ Workshop Hosting ★ Kubernetes & Java Specialist