Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configMapRef db-access not found #10

Open
robertmcnees opened this issue Aug 30, 2022 · 6 comments
Open

configMapRef db-access not found #10

robertmcnees opened this issue Aug 30, 2022 · 6 comments

Comments

@robertmcnees
Copy link
Contributor

The yml in module 1 section 4 be-deploy.yml and db-deploy.yml both make reference to a configMapRef that isn't in my environment or specified in the files given.
Have I missed where this is defined? I am getting Error: configmap "db-access" not found on the store-db pod and the store-backend initContainer never completes.

@dorlugasigal
Copy link

I get this as well,
anyway you can see that the db-admin is up, so both containers started (or at least tried) simultaneously

@chrisxfire
Copy link
Contributor

Just stumbled upon this as well. This is an error in the task, I think.

@ash3rr
Copy link

ash3rr commented Mar 23, 2023

Same error for me too. Woop wah.

ash3rr pushed a commit to ash3rr/ckad that referenced this issue Mar 23, 2023
nigelpoulton added a commit that referenced this issue Mar 27, 2023
fixed: configMapRef db-access not found #10
@andreasbotsikas
Copy link

andreasbotsikas commented Jun 6, 2023

Thanks @nigelpoulton, it works as expected. Out of curiosity, during the exam, will the instructions give us the kubectl apply -f db-configmap.yml command or will we have to describe the pod, see the Error: configmap "db-access" not found error message and then search for the ConfigMap?

PS: I guess the back end is never supposed to run. I created the postgres service for the check-db to be able to resolve the postgres host and then ended up with ErrImageNeverPull status. Did I miss a step?

@ChrisProlls
Copy link

@andreasbotsikas same behavior on my side - the initContainer never reach the postgres server even when I successfully launch the postgres Pod.

@redbullhorns
Copy link

initContainer is failing to check if the postgres db is running on port 5432. Tried to change the host from postgres to the container name, db it is still failing. May be the solution is to create a service and the initContainer check if the postgres db is running through the service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants