bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
10.74k stars 1.4k forks source link

K8s Deployment goes wrong without giving any useful hint #3236

Closed manfredipist closed 2 months ago

manfredipist commented 2 months ago

Which version are you using?

v1.6.0

Which operating system are you using?

Describe the issue

Description

Describe how to replicate the issue

I'm deploying the following configMap and deployment to my cluster

apiVersion: v1
kind: ConfigMap
metadata:
  name: mediamtx-config
  namespace: mytv
data:
  MTX_LOGLEVEL: "debug"
  MTX_PROTOCOLS: "tcp"
  MTX_RTMPDISABLE: "no"
apiVersion: v1
kind: Secret
metadata:
  name: mediamtx-secret
  namespace: mytv
type: Opaque
stringData:
  MTX_PATHS_ALL_PUBLISHUSER: "user"
  MTX_PATHS_ALL_PUBLISHPASS: "pass"
apiVersion: apps/v1
kind: Deployment
metadata:
  name: mediamtx-deployment
  namespace: mytv
spec:
  selector:
    matchLabels:
      app: mediamtx
  template:
    metadata:
      labels:
        app: mediamtx
    spec:
      containers:
      - image: bluenviron/mediamtx:latest-ffmpeg
        imagePullPolicy: IfNotPresent
        name: mediamtx
        ports:
          - containerPort: 8554
            protocol: TCP
          - containerPort: 1935
            protocol: TCP
          - containerPort: 8888
          - containerPort: 8889
        envFrom:
          - configMapRef:
              name: mediamtx-config
          - secretRef:
              name: mediamtx-secret
        livenessProbe:
          tcpSocket:
            port: 8554
          initialDelaySeconds: 5
          periodSeconds: 15
          failureThreshold: 3
        resources:
          limits:
            cpu: 1000m
            memory: 1024Mi
          requests:
            cpu: 500m
            memory: 512Mi

Did you attach the server logs?

ERR: all_others, all and '~^.*$' are aliases
ERR: all_others, all and '~^.*$' are aliases
ERR: all_others, all and '~^.*$' are aliases
ERR: all_others, all and '~^.*$' are aliases
github-actions[bot] commented 2 months ago

This issue is being automatically closed because it does not follow the issue template. Please reopen the issue and make sure to include all sections of the template.