apiVersion: apps/v1 kind: Deployment metadata: name: lan-play labels: app.kubernetes.io/name: lan-play spec: replicas: 1 strategy: type: Recreate selector: matchLabels: app.kubernetes.io/name: lan-play template: metadata: labels: app.kubernetes.io/name: lan-play spec: nodeSelector: kubernetes.io/hostname: ai.tail2fe2d.ts.net tolerations: - key: workload operator: Equal value: ai effect: NoSchedule containers: - name: lan-play image: ultradesu/lan-play:latest imagePullPolicy: Always ports: - name: http containerPort: 8080 protocol: TCP volumeMounts: - name: media mountPath: /media readinessProbe: tcpSocket: port: http initialDelaySeconds: 5 periodSeconds: 10 livenessProbe: tcpSocket: port: http initialDelaySeconds: 20 periodSeconds: 30 resources: requests: cpu: "2" memory: 2Gi securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL volumes: - name: media hostPath: path: /k8s/lan-play type: DirectoryOrCreate securityContext: seccompProfile: type: RuntimeDefault