Updated 10. Setting the solution up in ACS Kubernetes (markdown)
parent
9d7db7fb03
commit
56ab4ab973
@ -308,8 +308,11 @@ If any of the pods had any issue, you might see like it has 0 (CERO) instances.
|
|||||||
In that case, you can try to resume/restart that specific deployment by executing the following Kubernetes CLI command using KUBECTL, like any of the following:
|
In that case, you can try to resume/restart that specific deployment by executing the following Kubernetes CLI command using KUBECTL, like any of the following:
|
||||||
|
|
||||||
`kubectl rollout resume <serviceName> `
|
`kubectl rollout resume <serviceName> `
|
||||||
|
|
||||||
`kubectl rollout resume deployments/webspa `
|
`kubectl rollout resume deployments/webspa `
|
||||||
|
|
||||||
`kubectl rollout resume deployments/frontend `
|
`kubectl rollout resume deployments/frontend `
|
||||||
|
|
||||||
`kubectl rollout resume deployments/catalog `
|
`kubectl rollout resume deployments/catalog `
|
||||||
|
|
||||||
Then, check if the deployment was performed successfully by using the Kubernetes dashboard or by using the following command:
|
Then, check if the deployment was performed successfully by using the Kubernetes dashboard or by using the following command:
|
||||||
@ -321,6 +324,7 @@ In order to explicitly scale out any specific service, you can also use KUBECTL.
|
|||||||
For instance, let's say you want to scale out the NGINX frontend or the CATALOG service to 5 instances. You just need to run any of the following commands:
|
For instance, let's say you want to scale out the NGINX frontend or the CATALOG service to 5 instances. You just need to run any of the following commands:
|
||||||
|
|
||||||
`kubectl scale --replicas=5 deployments/frontend`
|
`kubectl scale --replicas=5 deployments/frontend`
|
||||||
|
|
||||||
`kubectl scale --replicas=5 deployments/catalog `
|
`kubectl scale --replicas=5 deployments/catalog `
|
||||||
|
|
||||||
### Autoscale
|
### Autoscale
|
||||||
|
Loading…
x
Reference in New Issue
Block a user