1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-14 10:13:10 +02:00
opentelemetry-go/example/otel-collector/Makefile

29 lines
945 B
Makefile
Raw Normal View History

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
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:
kubectl apply -f k8s/jaeger.yaml
2020-05-14 11:11:51 +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
- kubectl delete -f k8s/prometheus-monitor.yaml
- kubectl delete -f k8s/prometheus-service.yaml
- kubectl delete -f k8s/jaeger.yaml
2020-05-14 11:11:51 +02:00
- kubectl delete -n observability -f https://github.com/jaegertracing/jaeger-operator/releases/download/$(JAEGER_OPERATOR_VERSION)/jaeger-operator.yaml