# Docker image configuration for the Duino-Coin miner image: repository: git.kopic.hr/tomislav/duino-coin-docker/duino-coin # Docker image repository pullPolicy: IfNotPresent # When to pull the image (IfNotPresent / Always) tag: "latest" # Image tag; if empty, defaults to Chart appVersion imagePullSecrets: [] # Optional secrets for private registries # Optional overrides for chart naming nameOverride: "" fullnameOverride: "" # Node selection and scheduling, deploys to all nodes by default nodeSelector: {} # Resource requests and limits for the miner container resources: limits: cpu: 1 # Maximum CPU the container can use memory: 128Mi # Maximum memory the container can use requests: cpu: 0 # Minimum CPU guaranteed (optional, can leave 0) memory: 0 # Minimum memory guaranteed (optional) # Kubernetes priority class to make pods low priority priorityClassName: "duino-miner-lowest" # Environment variables for the Duino-Coin miner env: DUCO_USERNAME: "your_actual_username" # Your Duino-Coin wallet or username DUCO_MINING_KEY: "your_actual_mining_key" # Mining key DUCO_INTENSITY: "95" # Mining intensity (0–100) DUCO_THREADS: "1" # Number of threads to use DUCO_START_DIFF: "MEDIUM" # Difficulty setting DUCO_DONATE: "5" # Donation percentage DUCO_ALGORITHM: "DUCO-S1" # Algorithm type DUCO_LANGUAGE: "english" # Language for logs/messages DUCO_SOC_TIMEOUT: "20" # SOC timeout DUCO_REPORT_SEC: "300" # Reporting interval in seconds DUCO_RASPI_LEDS: "n" # Raspberry Pi LED usage DUCO_RASPI_CPU_IOT: "n" # Raspberry Pi CPU I/O tuning DUCO_DISCORD_RP: "n" # Discord Rich Presence # Directory where miner config is located is mounted as an EmptyDir ducoDir: "/duino-coin/Duino-Coin PC Miner 4.3" # Service account settings serviceAccount: create: true # Create a dedicated service account automount: true # Automatically mount service account token annotations: {} # Optional annotations for the service account name: "" # Custom name; leave blank to auto-generate # Pod annotations and labels podAnnotations: {} # Optional Kubernetes annotations for pods podLabels: {} # Optional Kubernetes labels for pods # Security contexts podSecurityContext: {} # Pod-level security settings securityContext: {} # Container-level security settings livenessProbe: exec: command: - /bin/sh - -c # Check if any Python process is running (assumes your miner runs via Python) # If no process is found, the command exits with a non-zero code → Kubernetes marks container as unhealthy - "pidof python > /dev/null" initialDelaySeconds: 30 # Wait 30 seconds before first check to allow the miner to start periodSeconds: 60 # Check every 60 seconds readinessProbe: exec: command: - /bin/sh - -c # Same check as liveness: ensures a Python process is running before marking the pod ready - "pidof python > /dev/null" initialDelaySeconds: 10 # Wait 10 seconds before first check to allow container startup periodSeconds: 30 # Check every 30 seconds