2022-12-01 23:53:52 +02:00
|
|
|
JAEGER_OPERATOR_VERSION = v1.36.0
|
|
|
|
|
2020-05-15 11:46:53 +02:00
|
|
|
namespace-k8s:
|
2020-05-19 07:29:52 +02:00
|
|
|
kubectl apply -f k8s/namespace.yaml
|
2020-05-14 11:11:51 +02:00
|
|
|
|
|
|
|
jaeger-operator-k8s:
|
|
|
|
# Create the jaeger operator and necessary artifacts in ns observability
|
2022-12-01 23:53:52 +02:00
|
|
|
kubectl create -n observability -f https://github.com/jaegertracing/jaeger-operator/releases/download/$(JAEGER_OPERATOR_VERSION)/jaeger-operator.yaml
|
2020-05-14 11:11:51 +02:00
|
|
|
|
|
|
|
jaeger-k8s:
|
2020-05-16 12:37:47 +02:00
|
|
|
kubectl apply -f k8s/jaeger.yaml
|
2020-05-14 11:11:51 +02:00
|
|
|
|
2020-06-23 17:37:07 +02:00
|
|
|
prometheus-k8s:
|
|
|
|
kubectl apply -f k8s/prometheus-service.yaml # Prometheus instance
|
|
|
|
kubectl apply -f k8s/prometheus-monitor.yaml # Service monitor
|
|
|
|
|
2020-05-14 11:11:51 +02:00
|
|
|
otel-collector-k8s:
|
|
|
|
kubectl apply -f k8s/otel-collector.yaml
|
|
|
|
|
|
|
|
clean-k8s:
|
2020-05-15 11:46:53 +02:00
|
|
|
- kubectl delete -f k8s/otel-collector.yaml
|
2020-05-14 11:11:51 +02:00
|
|
|
|
2020-06-23 17:37:07 +02:00
|
|
|
- kubectl delete -f k8s/prometheus-monitor.yaml
|
|
|
|
- kubectl delete -f k8s/prometheus-service.yaml
|
|
|
|
|
2020-05-16 12:37:47 +02:00
|
|
|
- kubectl delete -f k8s/jaeger.yaml
|
2020-05-14 11:11:51 +02:00
|
|
|
|
2022-12-01 23:53:52 +02:00
|
|
|
- kubectl delete -n observability -f https://github.com/jaegertracing/jaeger-operator/releases/download/$(JAEGER_OPERATOR_VERSION)/jaeger-operator.yaml
|