Backend Services quota on GKE
up vote
2
down vote
favorite
My question is regarding quotas of Google Kubernetes Engine.
I have an instance running 4 pods, each pod is referring to a microservice (api) containing 3 containers:
- Spring Boot App
- esp: endpoints
- cloudsqlproxy
For each pod (microservice), I have a deployment yaml which includes a nodeport service. Along with that, there is an ingress mapping all these services. Now
I need to deploy another microservice (pod with same 3 containers), but the quota of 5 backend services is in the limit.
I dont know if I'm doing something wrong or this quota is very small. I think, four microservices is very little for a technology that supports this approach.
So, Am I missing something in this architecture / configuration? Something that I'm doing wrong?
Here is my Ingress configuration:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: sigma-ingress
annotations:
# type of controller to use:
kubernetes.io/ingress.class: "gce"
# CORS
ingress.kubernetes.io/enable-cors: "true"
#
# ingress.kubernetes.io/rewrite-target: /
# Don't rediret to HTTPS
ingress.kubernetes.io/ssl-redirect: "false"
# Block HTTP requests
kubernetes.io/ingress.allow-http: "false"
spec:
tls:
- secretName: sigma-ssl
rules:
- http:
paths:
- path: /agro/*
backend:
serviceName: api-agro
servicePort: 443
- path: /fazendas
backend:
serviceName: api-fazenda
servicePort: 443
- path: /fazendas/*
backend:
serviceName: api-fazenda
servicePort: 443
- path: /clima
backend:
serviceName: api-clima
servicePort: 443
- path: /clima/*
backend:
serviceName: api-clima
servicePort: 443
- path: /ocorrencias
backend:
serviceName: api-inspecao
servicePort: 443
- path: /ocorrencias/*
backend:
serviceName: api-inspecao
servicePort: 443
Thanks in advance
Peter
kubernetes microservices gke
add a comment |
up vote
2
down vote
favorite
My question is regarding quotas of Google Kubernetes Engine.
I have an instance running 4 pods, each pod is referring to a microservice (api) containing 3 containers:
- Spring Boot App
- esp: endpoints
- cloudsqlproxy
For each pod (microservice), I have a deployment yaml which includes a nodeport service. Along with that, there is an ingress mapping all these services. Now
I need to deploy another microservice (pod with same 3 containers), but the quota of 5 backend services is in the limit.
I dont know if I'm doing something wrong or this quota is very small. I think, four microservices is very little for a technology that supports this approach.
So, Am I missing something in this architecture / configuration? Something that I'm doing wrong?
Here is my Ingress configuration:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: sigma-ingress
annotations:
# type of controller to use:
kubernetes.io/ingress.class: "gce"
# CORS
ingress.kubernetes.io/enable-cors: "true"
#
# ingress.kubernetes.io/rewrite-target: /
# Don't rediret to HTTPS
ingress.kubernetes.io/ssl-redirect: "false"
# Block HTTP requests
kubernetes.io/ingress.allow-http: "false"
spec:
tls:
- secretName: sigma-ssl
rules:
- http:
paths:
- path: /agro/*
backend:
serviceName: api-agro
servicePort: 443
- path: /fazendas
backend:
serviceName: api-fazenda
servicePort: 443
- path: /fazendas/*
backend:
serviceName: api-fazenda
servicePort: 443
- path: /clima
backend:
serviceName: api-clima
servicePort: 443
- path: /clima/*
backend:
serviceName: api-clima
servicePort: 443
- path: /ocorrencias
backend:
serviceName: api-inspecao
servicePort: 443
- path: /ocorrencias/*
backend:
serviceName: api-inspecao
servicePort: 443
Thanks in advance
Peter
kubernetes microservices gke
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
My question is regarding quotas of Google Kubernetes Engine.
I have an instance running 4 pods, each pod is referring to a microservice (api) containing 3 containers:
- Spring Boot App
- esp: endpoints
- cloudsqlproxy
For each pod (microservice), I have a deployment yaml which includes a nodeport service. Along with that, there is an ingress mapping all these services. Now
I need to deploy another microservice (pod with same 3 containers), but the quota of 5 backend services is in the limit.
I dont know if I'm doing something wrong or this quota is very small. I think, four microservices is very little for a technology that supports this approach.
So, Am I missing something in this architecture / configuration? Something that I'm doing wrong?
Here is my Ingress configuration:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: sigma-ingress
annotations:
# type of controller to use:
kubernetes.io/ingress.class: "gce"
# CORS
ingress.kubernetes.io/enable-cors: "true"
#
# ingress.kubernetes.io/rewrite-target: /
# Don't rediret to HTTPS
ingress.kubernetes.io/ssl-redirect: "false"
# Block HTTP requests
kubernetes.io/ingress.allow-http: "false"
spec:
tls:
- secretName: sigma-ssl
rules:
- http:
paths:
- path: /agro/*
backend:
serviceName: api-agro
servicePort: 443
- path: /fazendas
backend:
serviceName: api-fazenda
servicePort: 443
- path: /fazendas/*
backend:
serviceName: api-fazenda
servicePort: 443
- path: /clima
backend:
serviceName: api-clima
servicePort: 443
- path: /clima/*
backend:
serviceName: api-clima
servicePort: 443
- path: /ocorrencias
backend:
serviceName: api-inspecao
servicePort: 443
- path: /ocorrencias/*
backend:
serviceName: api-inspecao
servicePort: 443
Thanks in advance
Peter
kubernetes microservices gke
My question is regarding quotas of Google Kubernetes Engine.
I have an instance running 4 pods, each pod is referring to a microservice (api) containing 3 containers:
- Spring Boot App
- esp: endpoints
- cloudsqlproxy
For each pod (microservice), I have a deployment yaml which includes a nodeport service. Along with that, there is an ingress mapping all these services. Now
I need to deploy another microservice (pod with same 3 containers), but the quota of 5 backend services is in the limit.
I dont know if I'm doing something wrong or this quota is very small. I think, four microservices is very little for a technology that supports this approach.
So, Am I missing something in this architecture / configuration? Something that I'm doing wrong?
Here is my Ingress configuration:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: sigma-ingress
annotations:
# type of controller to use:
kubernetes.io/ingress.class: "gce"
# CORS
ingress.kubernetes.io/enable-cors: "true"
#
# ingress.kubernetes.io/rewrite-target: /
# Don't rediret to HTTPS
ingress.kubernetes.io/ssl-redirect: "false"
# Block HTTP requests
kubernetes.io/ingress.allow-http: "false"
spec:
tls:
- secretName: sigma-ssl
rules:
- http:
paths:
- path: /agro/*
backend:
serviceName: api-agro
servicePort: 443
- path: /fazendas
backend:
serviceName: api-fazenda
servicePort: 443
- path: /fazendas/*
backend:
serviceName: api-fazenda
servicePort: 443
- path: /clima
backend:
serviceName: api-clima
servicePort: 443
- path: /clima/*
backend:
serviceName: api-clima
servicePort: 443
- path: /ocorrencias
backend:
serviceName: api-inspecao
servicePort: 443
- path: /ocorrencias/*
backend:
serviceName: api-inspecao
servicePort: 443
Thanks in advance
Peter
kubernetes microservices gke
kubernetes microservices gke
asked Nov 12 at 16:29
Peter Pennings
132
132
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
accepted
You are probably hitting the GCP Load balancer backend limit which is usually low (mine is 9) This if you several other load balancers with configured backends that are making you hit that limit and you are mentioning that you already have other NodePort services (are they using another load balancer with a different backend?)
Your ingress should use just one backend that points to all the nodes in your cluster.
Besides the gcloud command line, you can see the limit from the UI.
You can also see the details on the load balancer that is serving your Ingress.
And you can see all your load balancer too:
You can request a backend quota increase from GCP, or you can remove unused load balancers.
add a comment |
up vote
0
down vote
You can check the list of backends with gcloud compute backend-services list
or go to the quotas page in the gcloud web console and it should show you both your allowed usage and current usage. You should also be able to see there at what level it is set from (it may come from a parent project policy). You can also request an increase from the same page using the edit button.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f53266337%2fbackend-services-quota-on-gke%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
You are probably hitting the GCP Load balancer backend limit which is usually low (mine is 9) This if you several other load balancers with configured backends that are making you hit that limit and you are mentioning that you already have other NodePort services (are they using another load balancer with a different backend?)
Your ingress should use just one backend that points to all the nodes in your cluster.
Besides the gcloud command line, you can see the limit from the UI.
You can also see the details on the load balancer that is serving your Ingress.
And you can see all your load balancer too:
You can request a backend quota increase from GCP, or you can remove unused load balancers.
add a comment |
up vote
0
down vote
accepted
You are probably hitting the GCP Load balancer backend limit which is usually low (mine is 9) This if you several other load balancers with configured backends that are making you hit that limit and you are mentioning that you already have other NodePort services (are they using another load balancer with a different backend?)
Your ingress should use just one backend that points to all the nodes in your cluster.
Besides the gcloud command line, you can see the limit from the UI.
You can also see the details on the load balancer that is serving your Ingress.
And you can see all your load balancer too:
You can request a backend quota increase from GCP, or you can remove unused load balancers.
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
You are probably hitting the GCP Load balancer backend limit which is usually low (mine is 9) This if you several other load balancers with configured backends that are making you hit that limit and you are mentioning that you already have other NodePort services (are they using another load balancer with a different backend?)
Your ingress should use just one backend that points to all the nodes in your cluster.
Besides the gcloud command line, you can see the limit from the UI.
You can also see the details on the load balancer that is serving your Ingress.
And you can see all your load balancer too:
You can request a backend quota increase from GCP, or you can remove unused load balancers.
You are probably hitting the GCP Load balancer backend limit which is usually low (mine is 9) This if you several other load balancers with configured backends that are making you hit that limit and you are mentioning that you already have other NodePort services (are they using another load balancer with a different backend?)
Your ingress should use just one backend that points to all the nodes in your cluster.
Besides the gcloud command line, you can see the limit from the UI.
You can also see the details on the load balancer that is serving your Ingress.
And you can see all your load balancer too:
You can request a backend quota increase from GCP, or you can remove unused load balancers.
answered Nov 12 at 22:21
Rico
25.5k94864
25.5k94864
add a comment |
add a comment |
up vote
0
down vote
You can check the list of backends with gcloud compute backend-services list
or go to the quotas page in the gcloud web console and it should show you both your allowed usage and current usage. You should also be able to see there at what level it is set from (it may come from a parent project policy). You can also request an increase from the same page using the edit button.
add a comment |
up vote
0
down vote
You can check the list of backends with gcloud compute backend-services list
or go to the quotas page in the gcloud web console and it should show you both your allowed usage and current usage. You should also be able to see there at what level it is set from (it may come from a parent project policy). You can also request an increase from the same page using the edit button.
add a comment |
up vote
0
down vote
up vote
0
down vote
You can check the list of backends with gcloud compute backend-services list
or go to the quotas page in the gcloud web console and it should show you both your allowed usage and current usage. You should also be able to see there at what level it is set from (it may come from a parent project policy). You can also request an increase from the same page using the edit button.
You can check the list of backends with gcloud compute backend-services list
or go to the quotas page in the gcloud web console and it should show you both your allowed usage and current usage. You should also be able to see there at what level it is set from (it may come from a parent project policy). You can also request an increase from the same page using the edit button.
edited Nov 12 at 22:44
answered Nov 12 at 16:47
Ryan Dawson
2,9273324
2,9273324
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%2f53266337%2fbackend-services-quota-on-gke%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