New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How does k8s set the port number to be used through environment variables #3346
Comments
|
thanks
- mountPath: /mediamtx.yml
name: mediamtx-config
subPath: mediamtx.yml
volumes:
- configMap:
name: mediamtx-config
name: mediamtx-config |
Please use "questions" to ask "questions" instead of "feature request" and ask a question at a time as mentioned in the instructions. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the feature
Description
question1: this is docker start demo,How does k8s set the port number to be used through environment variables
docker run --rm -it
-e MTX_PROTOCOLS=tcp
-e MTX_WEBRTCADDITIONALHOSTS=192.168.x.x
-p 8554:8554
-p 1935:1935
-p 8888:8888
-p 8889:8889
-p 8890:8890/udp
-p 8189:8189/udp
bluenviron/mediamtx
The environment variable specifies -e MTX_PROTOCOLS=tcp. Is public network access on port 8189 open for tcp or udp?
question 2:
I mounted it with a modified external profile to /mediamtx.yml
error log:
CreateContainerError (Error response from daemon: invalid volume specification: '/var/lib/kubelet/pods/5696e68d-3557-40a7-a008-9bcae27ef4e6/volume-subpaths/mediamtx-config/mediamtx/0:/:ro': invalid mount config for type "bind": invalid specification: destination can't be '/'
The text was updated successfully, but these errors were encountered: