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

27 lines
872 B
Makefile
Raw Normal View History

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/v1.31.0/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/v1.31.0/jaeger-operator.yaml