How to autoscale a deployment in Minishift?

0 votes

Hi Guys,

I have launched an application in Minishift Cluster. I want to autoscale the deployment. How can I do that?

Aug 26 in DevOps Tools by akhtar
• 29,340 points
37 views

1 answer to this question.

0 votes

Hi@akhtar,

MiniShift can autoscale a deployment or a deployment configuration based on the current load on the application pods, by means of a HorizontalPodAutoscaler resource type. The recommended way to create a horizontal pod autoscaler resource is using the oc autoscale command as shown below.

$ oc autoscale dc/hello --min 1 --max 10 --cpu-percent 80 
answered Aug 26 by MD
• 67,840 points

Related Questions In DevOps Tools

0 votes
1 answer

How to create a new-app in Minishift?

Hi@MD, You can use oc new-app command in ...READ MORE

answered Aug 18 in DevOps Tools by akhtar
• 29,340 points
50 views
0 votes
1 answer

How to create a group in Minishift?

Hi@akhtar, To create a group in Minishift, you ...READ MORE

answered Aug 18 in DevOps Tools by MD
• 67,840 points
44 views
0 votes
1 answer

How to assign cluster-level role to a user in Minishift?

Hi@akhtar, You can use oc adm policy command ...READ MORE

answered Aug 18 in DevOps Tools by MD
• 67,840 points
41 views
0 votes
1 answer

How to add user to a group in Minishift?

Hi@akhtar, You can add a user to a ...READ MORE

answered Aug 19 in DevOps Tools by MD
• 67,840 points
53 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
740 views
+2 votes
1 answer
0 votes
1 answer

How to create a secret from literals in Minishift Cluster?

Hi@akhtar, You can create a secret using generic ...READ MORE

answered Aug 18 in DevOps Tools by MD
• 67,840 points
54 views
0 votes
1 answer

How to add edit role to a user in Minishift?

Hi@akhtar, You can give different roles to different ...READ MORE

answered Aug 18 in DevOps Tools by MD
• 67,840 points
43 views