-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Update c.pod_design.md #357
base: main
Are you sure you want to change the base?
Conversation
Adding more ways to scale the deployment to 5 replicas
Updated ns name from one to limitrange as mentioned in the LimitRange first question.
Added grep command to view the taints on a node
#edit replicas to 5 | ||
kubctl replace -f replicaset-definition.yml | ||
``` | ||
or |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: empty line
```bash | ||
kubectl get deploy nginx -o yaml > nginx-deploy.yaml | ||
#edit replicas to 5 | ||
kubctl replace -f replicaset-definition.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be kubectl
@@ -253,7 +253,7 @@ Taint a node: | |||
|
|||
```bash | |||
kubectl taint node node1 tier=frontend:NoSchedule # key=value:Effect | |||
kubectl describe node node1 # view the taints on a node | |||
kubectl describe node node1 | grep i taint # view the taints on a node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
grep is unnecessary here IMO, user can use descript to view the full output including the taints
Added grep command to view the taints on a node