Build the Docker image:
docker build -t api-server-caller .
Run the Docker image to see if it works:
docker run --rm -it api-server-caller
Log in to Azure, Azure Container Registry:
az login
az acr login --name agtestingregistry
Push the image to ACR:
./push-image-to-acr.sh api-server-caller
Use the image in deployment:
kubectl apply -f Deployment.yaml