Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 458 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 458 Bytes

Pod Info

Description

Simple Go web app which returns some env variables from pod

Build Docker Image

docker build --platform linux/amd64 -t andriktr/pod-info .     
docker push andriktr/pod-info

Deploy to kubernetes

kubectl apply -f pod-info.yaml --namespace=<<your namespace>>

Test the app

kubectl port-forward --namespace=<<your namespace>> infra services/pod-info 8080:80
curl http://localhost:8080