This repo consists of a Hello World Http backend App and Cron job of Hello World which runs after every 30 minutes. It shows:
- Run and test the application from Azure CLI
- Use
strm/helloworld-http:latest
docker image - Create Kubernetes deployment and test it
It shows Hello from <hostname>
for every request, making it easier to determine what host received the request.
kubectl apply -f deployment.yaml
curl http://localhost:8080
kubectl apply -f Cronjob_helloWorld.yaml
kubectl get cronjob HelloApp
Please refer to document answer sheet for more details.