Create helm chart
This commit is contained in:
81
values.yaml
Normal file
81
values.yaml
Normal file
@@ -0,0 +1,81 @@
|
||||
# Docker image configuration for the Duino-Coin miner
|
||||
image:
|
||||
repository: simeononsecurity/duinocoin # 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
|
||||
|
||||
# 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_IDENTIFIER: "Auto" # Worker identifier
|
||||
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
|
||||
|
||||
# Optional overrides for chart naming
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
# 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
|
||||
|
||||
# Liveness probe to check if the miner process is running
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- "pgrep -x duino-miner > /dev/null"
|
||||
initialDelaySeconds: 30 # Delay before first check
|
||||
periodSeconds: 60 # Check interval
|
||||
|
||||
# Readiness probe to check if the miner is ready
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- "pgrep -x duino-miner > /dev/null"
|
||||
initialDelaySeconds: 10 # Delay before first check
|
||||
periodSeconds: 30 # Check interval
|
||||
|
||||
# Volumes and mounts (if needed)
|
||||
volumes: [] # Define extra volumes here
|
||||
volumeMounts: [] # Define mounts inside the container here
|
||||
|
||||
# Node selection and scheduling
|
||||
nodeSelector: {}
|
Reference in New Issue
Block a user