A Kubernetes App Journey – From container to TKG

What will this journey look like? There is a lot of information out there on the pieces of how to build a container or run Kubernetes, but I have not found one that puts it all together. So my goal for this series is to do just that. Each post will be a different step in that process. I will be doing everything from a photon OS maching that can be downloaded from VMware's github site, https://vmware.github.io/photon/. Create your own NGINX container image I will walk you through the setting up a linux VM, based on VMware's Photon OS, configure docker, run a nginx container, create a custom webpage, and finally create a container image using a Dockerfile. We will build on this post by using that container image for Kubernetes. Setting up Kubernetes using KinD (Coming soon...) I will walk you through the process of setting up Kubernetes on a Photon OS linux box using docker. ...
Read More

Create your own NGINX container image

Overview For this post, I will not be walking you through the installation of the linux VM but will start with configuring it with the tools needed to build a container image. I will be using VMware's Photon OS, but you can use any linux distribution you prefer. The steps will be similar. If you want to follow along with me on Photon OS, please download the latest version of VMware's Photon OS from github: Photon OS Configure your Linux VM Open the console and log on as root. The default password is changeme. You will be asked to immediately change the default password. Please do so. The first thing you will need to do is set a static IP address for this VM. The network configuration file is located in the /etc/systemd/network directory. By default the configration files is setup for DHCP, let's change that to a static IP address. To change...
Read More