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

Improve the k8s manifest and other minor details #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hartou
Copy link

@hartou hartou commented Apr 3, 2023

  1. Use resource requests and limits for both azure-vote-back and azure-vote-front containers to ensure they have predictable resource usage and prevent resource starvation.

  2. Set up liveness and readiness probes for both containers to improve the self-healing capabilities of your deployments and ensure the availability of your services.

Changes made

  1. Added memory requests and limits to both azure-vote-back and azure-vote-front containers.
  2. Changed nodeSelector key from beta.kubernetes.io/os to kubernetes.io/os as the beta label has been deprecated.
  3. Added liveness

Copy link
Author

@hartou hartou left a comment

Choose a reason for hiding this comment

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

Please accept my changes. Read notes.md for more info

@@ -0,0 +1,7 @@
{

Choose a reason for hiding this comment

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

Please remove the .vs/ folder from this PR

git rm -r .vs --cached or something similar would work

@@ -0,0 +1,12 @@
[[source]]

Choose a reason for hiding this comment

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

If the images aren't reading from this Pipfile, it can be removed

@@ -1,3 +1,13 @@
FROM tiangolo/uwsgi-nginx-flask:python3.6

Choose a reason for hiding this comment

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

please remove the commented lines and the comment. The git history is sufficient to explain the change

@@ -1,4 +1,7 @@
FROM tiangolo/uwsgi-nginx-flask:python3.6
# FROM tiangolo/uwsgi-nginx-flask:python3.6

Choose a reason for hiding this comment

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

Remove the commented line

Choose a reason for hiding this comment

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

Please remove this from the branch and copy the contents into the PR description

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.

2 participants