DevOps Engineer Challenge Solution
docker build acceleration-a/ -t acceleration-a
docker build acceleration-dv/ -t acceleration-dv
docker build acceleration-calc/ -t acceleration-calc
- push to registry or Load the images to a local registry if using kind or minikube
helm install join acceleration-full-app
export NODE_PORT=$(kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services acceleration-full-app)`
export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}")
curl "http://$NODE_IP:$NODE_PORT/calc?vf=200&vi=5&t=123"