WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@dembygenesis
Copy link
Collaborator

Changes:

  • fixed frontend BASE_URL config map env var to point to the correct backend cluster IP

targetPort: 80
selector:
run: backend-app
run: backend-appa
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo here. I would also use the conventional app: backend-app selector and change line 14 in deployments.yaml as well to use app instead of run. Same for frontend.

Also, the selectors in deployment.yaml are not needed as they are used to match on which nodes the pods are scheduled to, not relevant for this use case as all nodes are equal. Missed that in the previous review.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, should I ignore this ?
image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The IDE and you are correct, nowadays it should be there. 👍

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

Successfully merging this pull request may close these issues.

3 participants