apiVersion: v1 kind: Pod metadata: name: supervisor-pod labels: app: supervisor spec: hostNetwork: true # Use host networking containers: - name: supervisor image: profitap-supervisor:v1.1.0 # Use the image name after loading imagePullPolicy: IfNotPresent # Use IfNotPresent since the image is local # env: # - name: SUPERVISOR_THREADS # value: "8" volumeMounts: - mountPath: /data # Path in the container name: supervisor-storage # Name of the volume volumes: - name: supervisor-storage # Volume name hostPath: path: /home/profitap/supervisor-data # Updated local path on the host nodeSelector: kubernetes.io/hostname: workernode1 # Updated hostname