mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-12 10:04:29 +02:00
69ad652afb
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
29 lines
945 B
Makefile
29 lines
945 B
Makefile
JAEGER_OPERATOR_VERSION = v1.36.0
|
|
|
|
namespace-k8s:
|
|
kubectl apply -f k8s/namespace.yaml
|
|
|
|
jaeger-operator-k8s:
|
|
# Create the jaeger operator and necessary artifacts in ns observability
|
|
kubectl create -n observability -f https://github.com/jaegertracing/jaeger-operator/releases/download/$(JAEGER_OPERATOR_VERSION)/jaeger-operator.yaml
|
|
|
|
jaeger-k8s:
|
|
kubectl apply -f k8s/jaeger.yaml
|
|
|
|
prometheus-k8s:
|
|
kubectl apply -f k8s/prometheus-service.yaml # Prometheus instance
|
|
kubectl apply -f k8s/prometheus-monitor.yaml # Service monitor
|
|
|
|
otel-collector-k8s:
|
|
kubectl apply -f k8s/otel-collector.yaml
|
|
|
|
clean-k8s:
|
|
- kubectl delete -f k8s/otel-collector.yaml
|
|
|
|
- kubectl delete -f k8s/prometheus-monitor.yaml
|
|
- kubectl delete -f k8s/prometheus-service.yaml
|
|
|
|
- kubectl delete -f k8s/jaeger.yaml
|
|
|
|
- kubectl delete -n observability -f https://github.com/jaegertracing/jaeger-operator/releases/download/$(JAEGER_OPERATOR_VERSION)/jaeger-operator.yaml
|