Successfully Scaled and deployed Weather-app using docker & Kubernetes#8
Open
AnirbanB13 wants to merge 5 commits intorachanahegde:masterfrom
Open
Successfully Scaled and deployed Weather-app using docker & Kubernetes#8AnirbanB13 wants to merge 5 commits intorachanahegde:masterfrom
AnirbanB13 wants to merge 5 commits intorachanahegde:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi Rachna!
Thank you very much for creating this awesome weather application which work really well on smartphone as well on any web browser.
This pull request introduces the configuration and deployment setup for the weather-app on Kubernetes. The primary changes include the creation of a Kubernetes Deployment, Service, and configuration to ensure the app runs in a scalable and reliable environment.
Description:
This pull request introduces the configuration and deployment setup for the
weather-appon Kubernetes. The primary changes include the creation of a KubernetesDeployment,Service, and configuration to ensure the app runs in a scalable and reliable environment.Changes Included:
Containerised!:
Dockerised this application by writing a dockerfile and then creating a docker image.
Created docker image was pushed to Docker Hub at : https://hub.docker.com/repository/docker/anirbanb13/devops-projects-images/general
and can pull this docker image for testing purpose using
docker push anirbanb13/devops-projects-images:latest
Deployment Configuration:
Deploymentto manage the app's pods with 3 replicas.Secret.Service Configuration:
LoadBalancerservice to expose the app externally via a stable IP address.Namespace Usage:
weather-appnamespace to ensure proper isolation and organization.Scaling:
Changes to Secrets:
weather-app-secrethas been created in theweather-appnamespace to store theOWM_API_KEYsecurely. Ensure this secret is created before deployment.Testing:
Deployment:
The app was deployed successfully in the
weather-appnamespace with the desired number of pods.Service:
The service has been exposed externally with a stable IP address via AWS Load Balancer.
Next Steps:
weather-app-secrethas been configured properly with the correct API key.Additional Notes:
replicascount in theDeploymentconfiguration.