This is the repository used for the Demo App in the VMware Explore 2023 talk: Get Started with Containers,Kubernetes and Tanzu
The talk consists of two parts:
- Building the Container
- Running the container in a Kubernetes environment
This is a very simple static HTML side showing the VMware Explore content and some additional links with more information around the topics. The site is based on HTML5 UP. If you would like to learn more about containers follow these links:
We use the docker daemon to build the container and run it afterwards.
docker build . -t your-docker-hub-account/vmware-explore:1.0
We run the container localy and exposite to the local port 5000
:
docker run -d -p 5000:80 --rm --name vmware-explore your-docker-hub-account/vmware-explore:1.0
We're using a simple deployment file to start the application in our Kubernetes cluster. For more advanced techniques like helm or carvel please have a look at the following content:
We have two files to match the steps in the Demo. First we create the deployment and afterwards we create the Load Balancer. If you want to use your own image, please update the deployment file to reference your image. The default setting is to pull the image from github.
kubectl apply -f deployment/01-vmware-explore-deployment.yaml
kubectl apply -f deployment/02-vmware-explore-service.yaml
Here are the sources for the HTML and images used in the app:
- HTML5 UP
- Photo by Cameron Venti on Unsplash
- Photo by ThisisEngineering RAEng on Unsplash
- Photo by AbsolutVision on Unsplash