Comments (8)
This seems to be coming from the API so I don't think it's an Autoneg issue. Also I don't believe we support the zones
annotation. You have two types of backend services, global and regional (regional being used when you specify region
in the annotation) and they come with various limitations with regards to load balancing modes.
from gke-autoneg-controller.
With or without the region, I have the same issue. Even if I use the given parameters in the README.md from this repo, I have the same error about balancing :( I don't understand where the issue is.
Thanks !
from gke-autoneg-controller.
Can you show me what kind of load balancer was set up and how?
from gke-autoneg-controller.
I deployed the LB using this example (I used the exact same code):
https://github.com/terraform-google-modules/terraform-google-lb-http/tree/v7.0.0/modules/dynamic_backends
from gke-autoneg-controller.
Can you try this annotation:
controller.autoneg.dev/neg: '{"backend_services":{"80":[{"name":"gke-development-ingress-backend-web"],"rate":100}}'
from gke-autoneg-controller.
oh my bad, I used that example: https://github.com/terraform-google-modules/terraform-google-lb-http/tree/v7.0.0/examples/dynamic-backend.
Will try your advice, thanks
from gke-autoneg-controller.
Still the same issue :(
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Sync 13m autoneg-controller Synced NEGs for "traefik/traefik" as backends to backend service "gke-development-ingress-backend-default" (port 80)
Normal Create 13m (x5 over 34m) neg-controller Created NEG "k8s1-c278397d-traefik-traefik-80-230eaa9a" for traefik/traefik-k8s1-c278397d-traefik-traefik-80-230eaa9a--web/80-web-GCE_VM_IP_PORT-L7 in "us-central1-b".
Normal Create 13m (x5 over 34m) neg-controller Created NEG "k8s1-c278397d-traefik-traefik-80-230eaa9a" for traefik/traefik-k8s1-c278397d-traefik-traefik-80-230eaa9a--web/80-web-GCE_VM_IP_PORT-L7 in "us-central1-c".
Normal Attach 13m (x5 over 34m) neg-controller Attach 1 network endpoint(s) (NEG "k8s1-c278397d-traefik-traefik-80-230eaa9a" in zone "us-central1-b")
Warning BackendError 2m51s (x10 over 13m) autoneg-controller googleapi: Error 400: Invalid value for field 'resource.backends[0]': '{ "resourceGroup": "https://www.googleapis.com/compute/v1/projects/xxxx/zones/us-cen...'. CONNECTION balancing mode is not supported for protocol HTTPS, invalid
Here is the annotations:
metadata:
annotations:
cloud.google.com/neg: '{"exposed_ports": {"80":{}}}'
cloud.google.com/neg-status: '{"network_endpoint_groups":{"80":"k8s1-c278397d-traefik-traefik-80-230eaa9a"},"zones":["us-central1-b","us-central1-c"]}'
controller.autoneg.dev/neg: '{"backend_services":{"80":[{"name":"gke-development-ingress-backend-default","rate":100}]}}'
controller.autoneg.dev/neg-status: '{"backend_services":{"80":{"gke-development-ingress-backend-default":{"name":"gke-development-ingress-backend-default"}}},"network_endpoint_groups":null,"zones":null}'
Also, am I supposed to see something appearing on loadbalancer ?
from gke-autoneg-controller.
Instead of rate
, use max_rate_per_endpoint
.
from gke-autoneg-controller.
Related Issues (20)
- Autoneg does not provide default configuration for max-rate-per-endpoint and max-connections-per-endpoint HOT 1
- capacityScaler can't be set to zero for global load balancer HOT 23
- Do you have plans for create Helm Chart for Autoneg installation? HOT 4
- #109 overrides external managed capacity scaling HOT 9
- Add "lifecycle" key in terraform module HOT 3
- Update Docker image HOT 5
- Workload identity 401 invalid credentials error
- deploy/autoneg.yaml referring incorrect kubernetes service account HOT 3
- Configurable default capacityScaler HOT 1
- Custom role error when recreating project
- Unauthorized metrics endpoint HOT 2
- Observing ACCESS_TOKEN_SCOPE_INSUFFICIENT when creating service HOT 11
- NEGs are not deleted during service deletion HOT 7
- Update Ginkgo due to deprecation warning HOT 1
- Controller user agent hardcoded to 0.9.7-dev HOT 1
- Update guide or description of compatibility guarantees HOT 3
- Additional pod and container hardening HOT 1
- Mixed logging when configuring structured logging
- Unused ConfigMap in deploy manifest HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gke-autoneg-controller.