How to set LimitRagne in Minishift

0 votes

Hi Guys,

I have one project in Minishift. I want to set LimitRange on a project. How can I do that?

Aug 26, 2020 in DevOps Tools by akhtar
• 38,260 points
483 views

1 answer to this question.

0 votes

Hi@akhtar,

A LimitRange resource also called a limit, defines the default, minimum, and maximum values for compute resource requests, and limits for a single pod or for a single container defined inside the project. A resource request or limit for a pod is the sum of its containers.

The following listing shows a limit range defined using YAML syntax.

apiVersion: "v1"
kind: "LimitRange"
metadata:
 name: "dev-limits"
spec:
 limits:
 - type: "Pod"
   max:
     cpu: "500m"
     memory: "750Mi"
   min:
     cpu: "10m"
     memory: "5Mi"
 - type: "Container"
   default:
     cpu: "100m"
     memory: "100Mi"
   max:
     cpu: "500m"
     memory: "750Mi"
   min:
     cpu: "10m"
     memory: "5Mi"

answered Aug 26, 2020 by MD
• 95,460 points

Related Questions In DevOps Tools

0 votes
1 answer

How to create Users with the HTPasswd Identity Provider in Minishift?

Hi@akhtar, You can create a user using htpasswd ...READ MORE

answered Aug 18, 2020 in DevOps Tools by MD
• 95,460 points
877 views
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, 2020 in DevOps Tools by MD
• 95,460 points
1,218 views
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, 2020 in DevOps Tools by akhtar
• 38,260 points
852 views
0 votes
1 answer

How to expose an app in Minishift?

Hi@akhtar, To expose your app, you need to ...READ MORE

answered Aug 18, 2020 in DevOps Tools by MD
• 95,460 points
594 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,939 views
+2 votes
1 answer
0 votes
1 answer

How to set quota for a project in Minishift?

Hi@akhtar, You can set a quota for a ...READ MORE

answered Aug 25, 2020 in DevOps Tools by MD
• 95,460 points
581 views
0 votes
1 answer

How to install minishift in windows system?

Hi@akhtar, To install Minishift manually on Windows using Windows Installer, ...READ MORE

answered Aug 18, 2020 in DevOps Tools by MD
• 95,460 points
5,138 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP