Skip to content

public-value-tech/kubernetes-workshop-echo-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubernetes-workshop-echo-demo

deploy a demo application with built in config and with port 8081

How to deploy

Automatically with sed

Execute

sed -i "s/REPLACEME/$(whoami | sed 's/_/-/g')/g" kustomization.yml ingress.yml

Manually

Search for all occurences of REPLACEME. Replace it with your account name, e.g. schulung-5.

Apply

Execute the following command to deploy the demo application to your namespace.

kubectl apply -k .

Checking health

If there are no errors during apply, check the output of kubectl get ingress to verify that the Ingress has been created.

Now you can browse to the shown address.

Build with docker

docker build app -t europe-west3-docker.pkg.dev/swr-schulung-basic-1/swr-schulung-basic-1/echo-demo:latest
docker push europe-west3-docker.pkg.dev/swr-schulung-basic-1/swr-schulung-basic-1/echo-demo:latest

Build with buildah

buildah bud --tag europe-west3-docker.pkg.dev/swr-schulung-basic-1/swr-schulung-basic-1/echo-demo:latest
buildah push europe-west3-docker.pkg.dev/swr-schulung-basic-1/swr-schulung-basic-1/echo-demo:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published