GKE LimitRange limits defaults cpu to 100m
up vote
0
down vote
favorite
Does anyone know how to override what seems to be the default LimitRange in GKE which sets the default request for CPU to 100m?
I've previously updated the limit to be 10m which is still overkill but better than the default using the following manifest;
apiVersion: v1
kind: LimitRange
metadata:
name: limits
namespace: default
spec:
limits:
- defaultRequest:
cpu: 10m
type: Container
This has since been overwritten back to 100m. Can I disable this behaviour?
Clearly I could update my manifest file to always include the request amount on containers but I'm interested to understand how this works in GKE and if it's documented.
kubernetes google-cloud-platform google-kubernetes-engine gke
add a comment |
up vote
0
down vote
favorite
Does anyone know how to override what seems to be the default LimitRange in GKE which sets the default request for CPU to 100m?
I've previously updated the limit to be 10m which is still overkill but better than the default using the following manifest;
apiVersion: v1
kind: LimitRange
metadata:
name: limits
namespace: default
spec:
limits:
- defaultRequest:
cpu: 10m
type: Container
This has since been overwritten back to 100m. Can I disable this behaviour?
Clearly I could update my manifest file to always include the request amount on containers but I'm interested to understand how this works in GKE and if it's documented.
kubernetes google-cloud-platform google-kubernetes-engine gke
This might help. stackoverflow.com/questions/33391748/…
– Ananthu R V
Nov 12 at 10:39
Possible duplicate of How to reduce CPU limits of kubernetes system resources?
– Ananthu R V
Nov 12 at 10:39
@AnanthuRV So I've tried setting the limit to a lower value however it was overwritten as stated in my question.
– Tim Reynolds
Nov 12 at 14:04
Can you try giving10
instead of10m
. Kubernetes example seems to be like that raw.githubusercontent.com/kubernetes/website/master/content/en/…
– Ananthu R V
Nov 13 at 7:32
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Does anyone know how to override what seems to be the default LimitRange in GKE which sets the default request for CPU to 100m?
I've previously updated the limit to be 10m which is still overkill but better than the default using the following manifest;
apiVersion: v1
kind: LimitRange
metadata:
name: limits
namespace: default
spec:
limits:
- defaultRequest:
cpu: 10m
type: Container
This has since been overwritten back to 100m. Can I disable this behaviour?
Clearly I could update my manifest file to always include the request amount on containers but I'm interested to understand how this works in GKE and if it's documented.
kubernetes google-cloud-platform google-kubernetes-engine gke
Does anyone know how to override what seems to be the default LimitRange in GKE which sets the default request for CPU to 100m?
I've previously updated the limit to be 10m which is still overkill but better than the default using the following manifest;
apiVersion: v1
kind: LimitRange
metadata:
name: limits
namespace: default
spec:
limits:
- defaultRequest:
cpu: 10m
type: Container
This has since been overwritten back to 100m. Can I disable this behaviour?
Clearly I could update my manifest file to always include the request amount on containers but I'm interested to understand how this works in GKE and if it's documented.
kubernetes google-cloud-platform google-kubernetes-engine gke
kubernetes google-cloud-platform google-kubernetes-engine gke
asked Nov 10 at 12:50
Tim Reynolds
311113
311113
This might help. stackoverflow.com/questions/33391748/…
– Ananthu R V
Nov 12 at 10:39
Possible duplicate of How to reduce CPU limits of kubernetes system resources?
– Ananthu R V
Nov 12 at 10:39
@AnanthuRV So I've tried setting the limit to a lower value however it was overwritten as stated in my question.
– Tim Reynolds
Nov 12 at 14:04
Can you try giving10
instead of10m
. Kubernetes example seems to be like that raw.githubusercontent.com/kubernetes/website/master/content/en/…
– Ananthu R V
Nov 13 at 7:32
add a comment |
This might help. stackoverflow.com/questions/33391748/…
– Ananthu R V
Nov 12 at 10:39
Possible duplicate of How to reduce CPU limits of kubernetes system resources?
– Ananthu R V
Nov 12 at 10:39
@AnanthuRV So I've tried setting the limit to a lower value however it was overwritten as stated in my question.
– Tim Reynolds
Nov 12 at 14:04
Can you try giving10
instead of10m
. Kubernetes example seems to be like that raw.githubusercontent.com/kubernetes/website/master/content/en/…
– Ananthu R V
Nov 13 at 7:32
This might help. stackoverflow.com/questions/33391748/…
– Ananthu R V
Nov 12 at 10:39
This might help. stackoverflow.com/questions/33391748/…
– Ananthu R V
Nov 12 at 10:39
Possible duplicate of How to reduce CPU limits of kubernetes system resources?
– Ananthu R V
Nov 12 at 10:39
Possible duplicate of How to reduce CPU limits of kubernetes system resources?
– Ananthu R V
Nov 12 at 10:39
@AnanthuRV So I've tried setting the limit to a lower value however it was overwritten as stated in my question.
– Tim Reynolds
Nov 12 at 14:04
@AnanthuRV So I've tried setting the limit to a lower value however it was overwritten as stated in my question.
– Tim Reynolds
Nov 12 at 14:04
Can you try giving
10
instead of 10m
. Kubernetes example seems to be like that raw.githubusercontent.com/kubernetes/website/master/content/en/…– Ananthu R V
Nov 13 at 7:32
Can you try giving
10
instead of 10m
. Kubernetes example seems to be like that raw.githubusercontent.com/kubernetes/website/master/content/en/…– Ananthu R V
Nov 13 at 7:32
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
From reading the attached github article, there is a Limit Range set within the default namespace. If you would like to change the Limit Range, you can create a Limit Range in a non-default namespace. You can read on how to create a Limit Range in a non default namespace here.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
From reading the attached github article, there is a Limit Range set within the default namespace. If you would like to change the Limit Range, you can create a Limit Range in a non-default namespace. You can read on how to create a Limit Range in a non default namespace here.
add a comment |
up vote
0
down vote
From reading the attached github article, there is a Limit Range set within the default namespace. If you would like to change the Limit Range, you can create a Limit Range in a non-default namespace. You can read on how to create a Limit Range in a non default namespace here.
add a comment |
up vote
0
down vote
up vote
0
down vote
From reading the attached github article, there is a Limit Range set within the default namespace. If you would like to change the Limit Range, you can create a Limit Range in a non-default namespace. You can read on how to create a Limit Range in a non default namespace here.
From reading the attached github article, there is a Limit Range set within the default namespace. If you would like to change the Limit Range, you can create a Limit Range in a non-default namespace. You can read on how to create a Limit Range in a non default namespace here.
answered Nov 16 at 18:28
Jason
3788
3788
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53239126%2fgke-limitrange-limits-defaults-cpu-to-100m%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
This might help. stackoverflow.com/questions/33391748/…
– Ananthu R V
Nov 12 at 10:39
Possible duplicate of How to reduce CPU limits of kubernetes system resources?
– Ananthu R V
Nov 12 at 10:39
@AnanthuRV So I've tried setting the limit to a lower value however it was overwritten as stated in my question.
– Tim Reynolds
Nov 12 at 14:04
Can you try giving
10
instead of10m
. Kubernetes example seems to be like that raw.githubusercontent.com/kubernetes/website/master/content/en/…– Ananthu R V
Nov 13 at 7:32