apiVersion: apps/v1 kind: Deployment metadata: name: rtltcp namespace: adsb spec: selector: matchLabels: app: rtltcp replicas: 1 template: metadata: labels: app: rtltcp spec: tolerations: - key: "rtlsdr" value: "true" effect: "NoSchedule" containers: - image: git.janky.solutions/jankysolutions/rtltcp:latest name: rtltcp args: ["rtl_tcp", "-a", "0.0.0.0"] resources: limits: janky.solutions/rtlsdr: "1" ports: - name: rtltcp containerPort: 1234 --- apiVersion: v1 kind: Service metadata: name: rtltcp namespace: adsb spec: type: NodePort ports: - name: rtltcp port: 1234 nodePort: 30002 selector: app: rtltcp