devulrix / vmworld-demo-2021

Demo App for the VMworld talk [MCL1257]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VMworld Demo App

This is the repository used for the Demo App in the VMworld 2021 talk: Cloud-Native Fundamentals: Containers and Kubernetes 101 for the VI Admin [MCL1257]

The talk consists of two parts:

  • Building the Container
  • Running the container in a Kubernetes environment

The App

This is a very simple static HTML side showing the VMworld 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:

Build the App

We use the docker daemon to build the container and run it afterwards.

docker build . -t your-docker-hub-account/vmworld:1.0

Use the App

We run the container localy and exposite to the local port 5000:

docker run -d -p 5000:80 --rm --name vmworld your-docker-hub-account/vmworld:1.0

If you just want to test it without building it. We got you covered as well:

docker run -d -p 5000:80 --rm --name vmworld ghcr.io/devulrix/vmworld:1.0

Deployment

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-vmworld-deployment.yaml
kubectl apply -f deployment/02-vmworld-lb.yaml

Credit

Here are the sources for the HTML and images used in the app:

About

Demo App for the VMworld talk [MCL1257]

License:Apache License 2.0


Languages

Language:CSS 83.4%Language:JavaScript 15.0%Language:HTML 1.6%Language:Dockerfile 0.1%