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
|
2020-05-16 12:37:47 +02:00
|
|
|
kubectl create -n observability -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/crds/jaegertracing.io_jaegers_crd.yaml
|
|
|
|
kubectl create -n observability -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/service_account.yaml
|
|
|
|
kubectl create -n observability -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/role.yaml
|
|
|
|
kubectl create -n observability -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/role_binding.yaml
|
|
|
|
kubectl create -n observability -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/operator.yaml
|
2020-05-14 11:11:51 +02:00
|
|
|
|
|
|
|
# Create the cluster role & bindings
|
2020-05-16 12:37:47 +02:00
|
|
|
kubectl create -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/cluster_role.yaml
|
|
|
|
kubectl create -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/cluster_role_binding.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
|
|
|
|
2020-05-16 12:37:47 +02:00
|
|
|
- kubectl delete -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/cluster_role.yaml
|
|
|
|
- kubectl delete -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/cluster_role_binding.yaml
|
2020-06-23 17:37:07 +02:00
|
|
|
|
2020-05-16 12:37:47 +02:00
|
|
|
- kubectl delete -n observability -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/crds/jaegertracing.io_jaegers_crd.yaml
|
|
|
|
- kubectl delete -n observability -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/service_account.yaml
|
|
|
|
- kubectl delete -n observability -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/role.yaml
|
|
|
|
- kubectl delete -n observability -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/role_binding.yaml
|
2020-05-19 07:29:52 +02:00
|
|
|
- kubectl delete -n observability -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/operator.yaml
|