Yet another Docker image for tpruvot/ccminer with Kubernetes support.
Start mining
💡 Please read ccminer docs before using this image.
docker run --rm --gpus all \
ghcr.io/ebiiim/ccminer \
-a lyra2v2 \
-o stratum+tcp://example.com:9200 \
-u username \
-p password
Start mining with config.json
docker run --rm --gpus all \
-v "$(pwd)"/config.json:/work/config.json \
ghcr.io/ebiiim/ccminer \
-c config.json
This manifest runs ccminer Pods as a DaemonSet on GPU nodes.
💡 Please make sure GPUs are enabled on your cluster.
First, download kustomization.yaml
and copy your config.json
to it.
curl -Lo https://raw.githubusercontent.com/ebiiim/ccminer-docker/main/k8s/kustomization.yaml
patchesStrategicMerge:
# [ConfigMap] Put your config.json here. {{hostname}} will be replaced with the hostname of the Node.
- |-
apiVersion: v1
kind: ConfigMap
metadata:
name: ccminer-config
data:
config.json: |-
- {
- "algo": "lyra2v2",
- "url": "stratum+tcp://hoge.example.com:9200",
- "user": "hoge.ccminer-{{hostname}}",
- "pass": "hoge"
- }
+ PUT YOUR config.json HERE
Then create the namespace,
kubectl create ns ccminer
and apply manifests.
kubectl apply -k kustomization.yaml
1.0.0 - 2023-03-23
- initial release
- tpruvot/ccminer: 1eb8dc686cbd93bd1692a3ae1ca0840c9e6547e5 2020-12-13