forked from k-space/kube
argocd
authelia
camtiler
cert-manager
drone
drone-execution
elastic-system
etherpad
external-dns
freescout
harbor
keel
kube-system
kubernetes-dashboard
local-path-storage
logging
longhorn-system
meta-operator
metallb-system
mongodb-operator
mysql-operator
phpmyadmin
prometheus-operator
README.md
application.yml
blackbox-exporter.yml
bundle.yml
mikrotik-exporter.yml
node-exporter.yml
snmp-exporter.yml
snmp.yml
reloader
rosdump
shared
tigera-operator
traefik
wildduck
.drone.yml
.gitignore
CONTRIBUTORS.md
LICENSE.md
README.md
cluster-role-bindings.yml
Prometheus operator
curl -L https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.59.0/bundle.yaml | sed -e 's/namespace: default/namespace: prometheus-operator/g' > bundle.yml
kubectl create namespace prometheus-operator
kubectl apply --server-side -n prometheus-operator -f bundle.yml
kubectl delete -n prometheus-operator configmap snmp-exporter
kubectl create -n prometheus-operator configmap snmp-exporter --from-file=snmp.yml
kubectl apply -n prometheus-operator -f application.yml -f node-exporter.yml -f blackbox-exporter.yml -f snmp-exporter.yml -f mikrotik-exporter.yml
Slack
kubectl create -n prometheus-operator secret generic slack-secrets \
--from-literal=webhook-url=https://hooks.slack.com/services/...
Mikrotik exporter
kubectl create -n prometheus-operator secret generic mikrotik-exporter \
--from-literal=MIKROTIK_PASSWORD='f7W!H*Pu' \
--from-literal=PROMETHEUS_BEARER_TOKEN=$(cat /dev/urandom | base64 | head -c 30)