docker build -t bitcoin-exporter:1.0.0 .
# now you should have an image bitcoin-exporter with tag 1.0.0
kubectl create ns wix
kubectl apply -f deployment.yaml
# to test if deployment is working
kubectl port-forward deployment/bitcoin-exporter 8000:8000 -n wix
# go to browser and try localhost:8000 it should return metrics.
kubectl apply -f service.yaml
# to test if service is working
kubectl port-forward svc/bitcoin-exporter 8000:8000 -n wix
# go to browser and try localhost:8000 it should return metrics.
helm upgrade --install ingress-nginx ingress-nginx \
--repo https://kubernetes.github.io/ingress-nginx \
--namespace ingress-nginx --create-namespace
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
helm upgrade --install prometheus prometheus-community/prometheus -f values.yaml -n wix