Comments (5)
Thanks, now stunner is running :-)
from stunner.
Hi @krajcikondra ,
This can happen when your k8ss cluster does not support LoadBalancer services on UDP ports.
First thing to check: Do you use self-managed or managed kubernetes? If it is managed, does the provider support UDP load balancers? If it is managed, extra annotations might be required, see #32
If it is self-managed, you can install a load balancer (e.g., MetalLB or in case of minikube, minikube tunnel
). As a last resort you can use stunner via its NodePort
.
Hope this helps your troubleshooting.
from stunner.
I have managed kubernetes cluster on digital ocean and UDP load balancers are supported. But for UDP load balancer is needed implementation of health check.
https://docs.digitalocean.com/products/kubernetes/how-to/configure-load-balancers/#health-checks
I cannot say I fully understand what exactly should I do. After add two lines from documentation is load balancer status still Pending.
apiVersion: v1
kind: Service
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"gateway.networking.k8s.io/v1alpha2","kind":"Gateway","metadata":{"annotations":{},"name":"udp-gateway","namespace":"stunner"},"spec":{"gatewayClassName":"stunner-gatewayclass","listeners":[{"name":"udp-listener","port":3478,"protocol":"UDP"}]}}
stunner.l7mp.io/related-gateway-name: stunner/udp-gateway
# I added following two lines
service.beta.kubernetes.io/do-loadbalancer-healthcheck-port: "80"
service.beta.kubernetes.io/do-loadbalancer-healthcheck-protocol: "http"
finalizers:
- service.kubernetes.io/load-balancer-cleanup
labels:
app: stunner
stunner.l7mp.io/owned-by: stunner
name: udp-gateway
namespace: stunner
ownerReferences:
- apiVersion: gateway.networking.k8s.io/v1alpha2
kind: Gateway
name: udp-gateway
uid: f8481e46-507a-4c6d-8102-3c31f2ed4c45
spec:
allocateLoadBalancerNodePorts: true
clusterIP: 10.245.215.188
clusterIPs:
- 10.245.215.188
externalTrafficPolicy: Cluster
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: udp-gateway-udp
nodePort: 31780
port: 3478
protocol: UDP
targetPort: 3478
selector:
app: stunner
sessionAffinity: None
type: LoadBalancer
status:
loadBalancer: {}
Can somebody help what is next step?
from stunner.
Good news is that STUNner "supports" Digital Ocean.
This is the default config for the built-in STUNner healthcheck service:
service.beta.kubernetes.io/do-loadbalancer-healthcheck-port: "8086"
service.beta.kubernetes.io/do-loadbalancer-healthcheck-protocol: "http"
service.beta.kubernetes.io/do-loadbalancer-healthcheck-path: "/live"
Can you please try to apply these annotations instead of the default DO-recommended lines?
from stunner.
Just to give more context, the annotations come from here: https://github.com/l7mp/stunner/blob/main/docs/GATEWAY.md#gateway
from stunner.
Related Issues (20)
- Cannot apply GatewayClass from README.md on K8s v1.27 HOT 2
- Integrity check fails on passwords containing `$` [was: Auth server return bad url] HOT 24
- Stunner gateway operator `ERROR updater cannot update service` on AWS + EKS + ALB due to `"cannot upsert service \"stunner/udp-gateway\": Service \"udp-gateway\" is invalid: spec.loadBalancerClass: Invalid value: \"null\": may not change once set"` HOT 7
- help - intermitent failures connecting to workers on `cloudretro` example on AWS + EKS + ALB HOT 16
- On GKE, how to specify an IP for udp-gateway HOT 11
- No timeout for inactive peers? HOT 2
- Mediasoup example is not listed on readthedocs HOT 3
- cds-client ERROR: failed to init CDS watcher HOT 4
- turn ERROR: Failed to handle datagram: failed to handle CreatePermission-request from [ip]:37462: no allocation found [ip]:37462:[::]:3478 HOT 2
- feat: Release turncat binaries
- Issue UDP port loadbalancer HOT 7
- Stunner gateway operator can't be started HOT 1
- Question about debugging message on UDP gateway pod HOT 9
- Is stunner FedRamp compliant? HOT 11
- Meetecho Janus integration HOT 7
- doc: Code snippets of some examples rendered incorrectly on readthedocs HOT 5
- Stunner service still in pending status HOT 5
- Pod Can't connect the stunner server HOT 2
- How debug problem? HOT 8
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 stunner.