Skip to content

Commit

Permalink
kubernetes-resume-challenge
Browse files Browse the repository at this point in the history
  • Loading branch information
TomiwaAribisala-git committed Mar 21, 2024
1 parent fbcaafc commit 18b2b92
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,10 @@ docker run -d —network some-network —name ecom-web -p 8080:80 ecom-web:v1

## Autoscale the application; preparing for a marketing campaign
- Current number of running pods: `kubectl get pods`

![kubectl get pods](./images/pods.png)

- Using `kubectl scale deployment/ecom-web --replicas=6` to handle the increased load
- Observing the deployment scaling up with `kubectl get pods`
- Observing the deployment scaling up with `kubectl get pods`

![kubectl get pods](./images/scale-pods.png)
Binary file added images/pods.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/scale-pods.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 18b2b92

Please sign in to comment.