- The reason for restarting the containers is described in the PR description;
- an image was created based on the
nginx:latest
image, starting from a user with UID #1001; - manifest
web-pod.yaml
was created; - manifest
frontend-pod.yaml
was generated; - manifest
frontend-pod.yaml
was fixed and saved asfrontend-pod-healthy.yaml
.
Run web:
kubectl apply -f web-pod.yaml
kubectl port-forward web 8000:8000
Run frontend:
kubectl apply -f frontend-pod-healthy.yaml
sudo kubectl port-forward frontend 8080:8080