apiVersion: apps/v1 kind: StatefulSet metadata: name: labels: app: spec: serviceName: minReadySeconds: 10 replicas: 1 selector: matchLabels: app: template: metadata: labels: app: spec: volumes: - name: -vol persistentVolumeClaim: claimName: -pvc containers: - image: "" #imagePullPolicy: Never name: app volumeMounts: - mountPath: /path name: -vol ports: - containerPort: 3003 # hostPort: 8085