Hi,
I’m trying for the first time the Mock Exams chapter within the CKS course and in the first question, I’m required to limit access to a frontend site but there are multiple problems with the environment:
- I’m supposed to limit access to
/usr/share/nginx/html/internal
because it allows access to an internal site and I have the “site” link above to the terminal to test the access to the given site in path/internal/
, but the site cannot be loaded as the pod is unable to pull the image with the following error:
Warning Failed 66s (x3 over 3m1s) kubelet Failed to pull image “nginx:alpine”: failed to pull and unpack image “docker.io/library/nginx:alpine”: failed to copy: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/library/nginx/manifests/sha256:1e67a3c8607fe555f47dc8a72f25424b10273639136c061c508628da3112f90e: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: Understanding Your Docker Hub Rate Limit | Docker
This causes the pod to be in a “ErrImagePull” state - thus, not allowing me to advance in any way with this question.
- I’m supposed to use the least privileged serviceAccount, and when checking all the existing serviceAccount’s I see only two: fe and frontend.
When checking the solution for the question, I see that I’m expected to use a serviceAccount called “frontend-default” but such a serviceAccount doesn’t exist and the question asks me to use an existing such serviceAccount and not create a new one - thus, another reason why I cannot finish the question.
Update:
Because of the image pull issue in this environment, none of the questions in this exam and the second exam can be finished, I see no reason to check the other labs as I believe they’re all impacted by the same issue.
This issue should be fixed a.s.a.p as I cannot advance in the course.
I’ve attached relevant screenshots.
Please advise,
Itai