Skip to content
opencl ethminer dockerfile
Dockerfile Smarty Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Run ethermine in Kubernetes!

amdgpu-pro driver must be downloaded from amd website.

Run local docker registry

docker run -d -p 5000:5000 --name registry registry:2

Rebuilding Image (without cache)

make build ARGS=--no-cache

Specifying version

make build ARGS="--no-cache \
  --build-arg amdgpu_ver=18.20-606296 \
  --build-arg ethminer_ver=0.15.0rc2"


make benchmark

start docker registry

docker run -d -p 5000:5000 --restart=always --name=registry registry:2

k8s deploy

sudo swapoff -a
sudo kubeadm init --pod-network-cidr=

k8s init

mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
kubectl apply -f
kubectl apply -f

helm install

# optional - in case tainted error
kubectl taint nodes --all
helm init --upgrade

helm permission

kubectl create serviceaccount --namespace kube-system tiller
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller --upgrade
helm update repo .

enable k8s gpu plugin

kubectl create -f k8s-ds-amdgpu-dp.yaml

deploy helm

helm install --dry-run --debug ./chart

k8s teardown

kubectl drain secret --delete-local-data --force --ignore-daemonsets
kubectl delete node secret
kubeadm reset
You can’t perform that action at this time.