Azure-Samples / azure-voting-app-redis

Azure voting app used in docs.
MIT License
371 stars 3.26k forks source link

Improve the k8s manifest and other minor details #98

Open hartou opened 1 year ago

hartou commented 1 year ago
  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