Comments (5)
kubectl describe cm stunner-config
Name: stunner-config
Namespace: default
Labels: <none>
Annotations: <none>
Data
====
STUNNER_DURATION:
----
86400
STUNNER_LOGLEVEL:
----
all:INFO
STUNNER_MAX_PORT:
----
20000
STUNNER_MIN_PORT:
----
10000
STUNNER_PASSWORD:
----
abcd
STUNNER_SHARED_SECRET:
----
my-shared-secret
STUNNER_AUTH_TYPE:
----
plaintext
STUNNER_PORT:
----
3478
STUNNER_PUBLIC_ADDR:
----
172.16.8.24
STUNNER_PUBLIC_PORT:
----
30478
STUNNER_REALM:
----
abcd.abcd
STUNNER_USERNAME:
----
abcd
BinaryData
====
Events: <none>
here is my configMap
from stunner.
kubectl describe svc stunner
Name: stunner
Namespace: default
Labels: app=stunner
Annotations: field.cattle.io/publicEndpoints:
[{"addresses":["172.16.8.24"],"port":30478,"protocol":"UDP","serviceName":"default:stunner","allNodes":true}]
Selector: app=stunner
Type: NodePort
IP Family Policy: SingleStack
IP Families: IPv4
IP: 10.43.194.42
IPs: 10.43.194.42
Port: stunner-udp 3478/UDP
TargetPort: 3478/UDP
NodePort: stunner-udp 30478/UDP
Endpoints: 10.42.4.87:3478
Session Affinity: None
External Traffic Policy: Cluster
Events: <none>
from stunner.
Hi imcom,
First of all if you install stunner with helm the deployment will fallback to nodeport if there is no load balancer in your cluster. So, basically you just have to deploy it with helm.
For the publicly visible POD_IP there is a small description in the [security doc].(https://github.com/l7mp/stunner/blob/main/doc/SECURITY.md)
from stunner.
Hi @VidarHUN sorry for the late reply, but I still did not get it to work. I installed Metallb in my cluster so I have LoadBalancer service now.
Here is my setup, it looks OK from my perspective
NAME READY STATUS RESTARTS AGE
pod/stunner-664f79d558-q9dp7 2/2 Running 0 14m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/stunner LoadBalancer 10.43.67.42 172.16.8.21 3478:30729/UDP 12m
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/stunner 1/1 1 1 14m
NAME DESIRED CURRENT READY AGE
replicaset.apps/stunner-664f79d558 1 1 1 14m
172.16.8.21 is the "public IP" I could use for TURN relay. However I am still getting this POD IP
from stunner. What could be the cause? Am I doing something weirdly wrong here ?
{"level":"info","ts":1660359351.5038614,"logger":"trickleCmd","caller":"cmd/trickle.go:45","msg":"Created a new PeerConnection for candidates gathering"}
{"level":"info","ts":1660359351.5075831,"logger":"trickleCmd","caller":"cmd/trickle.go:55","msg":"ICECandidate: udp4 relay 10.42.4.98:46833 related 0.0.0.0:45877"}
Thanks in advance
from stunner.
Oh, I get it, the relay candidate indeed should be the POD IP. Sorry for the confusion. Once I have a LoadBalancer in place, this is working smoothly!
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
- Rewrite `stunnerctl` in Go HOT 5
- Generate static yamls on release HOT 3
- Publish workflow fails if separately pushed commits are too rapid
- Make a better job at documenting that STUNner ignores the port in backend Services HOT 1
- Question: Can stunner be used as a pure relay server HOT 3
- Use of Nodeport instead of LoadBalancer HOT 10
- UDPRoutes from other namespaces are not getting attached HOT 11
- Question: Route based on host? HOT 10
- doc: Code snippets of some examples rendered incorrectly on readthedocs HOT 5
- Stunner service External IP still pending 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.