Skip to content

feat: update deployment and service configurations#48

Merged
Arpit529Srivastava merged 1 commit intoArpit529Srivastava:mainfrom
khushiiagrawal:some
Oct 31, 2025
Merged

feat: update deployment and service configurations#48
Arpit529Srivastava merged 1 commit intoArpit529Srivastava:mainfrom
khushiiagrawal:some

Conversation

@khushiiagrawal
Copy link
Collaborator

This pull request introduces several improvements to the Kubernetes deployment and service configurations for the web application. The main focus is on enhancing deployment reliability, scheduling, and internal traffic routing. Below are the most important changes grouped by theme:

Deployment strategy and reliability:

  • Added a revisionHistoryLimit of 3 to keep a history of previous ReplicaSets for easier rollbacks.
  • Configured a RollingUpdate deployment strategy with maxUnavailable: 0 and maxSurge: 1 to ensure zero downtime during updates.

Pod scheduling improvements:

  • Introduced podAntiAffinity rules to prefer spreading web pods across different nodes, improving availability in case of node failures.

Service configuration enhancements:

  • Added version: v1 label to both frontend and static web services for better version tracking and selection.
  • Set internalTrafficPolicy: Cluster on both services to ensure traffic is routed cluster-wide rather than node-local, which can improve load balancing.

Signed-off-by: Khushi Agrawal <149886195+khushiiagrawal@users.noreply.github.com>
@vercel
Copy link

vercel bot commented Oct 31, 2025

@khushiiagrawal is attempting to deploy a commit to the Arpit_Srivastava's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Arpit529Srivastava
Copy link
Owner

/lgtm

@github-actions github-actions bot added the lgtm Look Good To Me. Only for the codeowners label Oct 31, 2025
@Arpit529Srivastava Arpit529Srivastava merged commit 4cd669a into Arpit529Srivastava:main Oct 31, 2025
4 of 8 checks passed
@Arpit529Srivastava
Copy link
Owner

nicely done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Look Good To Me. Only for the codeowners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants