Warning
This repository is for demo purposes only and should be modified for production use.
- install kind cluster (https://kind.sigs.k8s.io/)
helm repo add bitnami https://charts.bitnami.com/bitnami
helm install aaa bitnami/memcached
helm install bbb bitnami/memcached
- install memcached using helm
** Please be patient while the chart is being deployed **
Memcached can be accessed via port 11211 on the following DNS name from within your cluster:
aaa-memcached.default.svc.cluster.local
Check this
LATEST=$(curl -s https://api.github.com/repos/prometheus-operator/prometheus-operator/releases/latest | jq -cr .tag_name)
curl -sL https://github.com/prometheus-operator/prometheus-operator/releases/download/${LATEST}/bundle.yaml | kubectl create -f -
- install prometheus CRDs and deploy operators into the
default
namespace (https://prometheus-operator.dev/docs/user-guides/getting-started/#installing-the-operator)
(Prometheus, ServiceMonitor CRDs are needed.)
-
install chart (check helm-charts/README.md)
-
(TODO) visualize TSDB with thanos OR check with prometheus service (debug only)
Memcached exporter metrics page (check with port-forward)
Note
In order to prevent duplicated metric and make time-series with single tag,
- remove all unrelated tags, other than your specific target tag
- remove additional "prometheus", "prometheus_replica" tag with prometheus setting (check this commit)
- Apply the following repositores
- CI (lint, dry-run, etc..)
- Optional remote read/write
- Use proper tag names (or rewrite)