infra/k8s/adsb/rtltcp.yaml

42 lines
767 B
YAML
Raw Permalink Normal View History

2024-05-19 04:44:05 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: rtltcp
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
2024-06-15 07:36:26 +00:00
args: ["rtl_tcp", "-a", "0.0.0.0", "-d", "1"]
2024-05-19 04:44:05 +00:00
resources:
limits:
janky.solutions/rtlsdr: "1"
ports:
- name: rtltcp
containerPort: 1234
---
apiVersion: v1
kind: Service
metadata:
name: rtltcp
spec:
type: NodePort
ports:
- name: rtltcp
port: 1234
nodePort: 30002
selector:
app: rtltcp