2020-05-15 11:46:53 +02:00
|
|
|
namespace-k8s:
|
2020-05-14 11:11:51 +02:00
|
|
|
k apply -f k8s/namespace.yaml
|
|
|
|
|
|
|
|
jaeger-operator-k8s:
|
|
|
|
# Create the jaeger operator and necessary artifacts in ns observability
|
|
|
|
kubectl apply -f k8s/jaeger/jaegertracing.io_jaegers_crd.yaml
|
|
|
|
kubectl apply -f k8s/jaeger/jaeger_service_account.yaml
|
|
|
|
kubectl apply -f k8s/jaeger/jaeger_role.yaml
|
|
|
|
kubectl apply -f k8s/jaeger/jaeger_role_binding.yaml
|
|
|
|
kubectl apply -f k8s/jaeger/jaeger_operator.yaml
|
|
|
|
|
|
|
|
# Create the cluster role & bindings
|
|
|
|
kubectl apply -f k8s/jaeger/jaeger_cluster_role.yaml
|
|
|
|
kubectl apply -f k8s/jaeger/jaeger_cluster_role_binding.yaml
|
|
|
|
|
|
|
|
jaeger-k8s:
|
|
|
|
kubectl apply -f k8s/jaeger/jaeger.yaml
|
|
|
|
|
|
|
|
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-05-15 11:46:53 +02:00
|
|
|
- kubectl delete -f k8s/jaeger/jaeger.yaml
|
2020-05-14 11:11:51 +02:00
|
|
|
|
2020-05-15 11:46:53 +02:00
|
|
|
- kubectl delete -f k8s/jaeger/jaeger_cluster_role.yaml
|
|
|
|
- kubectl delete -f k8s/jaeger/jaeger_cluster_role_binding.yaml
|
2020-05-14 11:11:51 +02:00
|
|
|
|
2020-05-15 11:46:53 +02:00
|
|
|
- kubectl delete -f k8s/jaeger/jaegertracing.io_jaegers_crd.yaml
|
|
|
|
- kubectl delete -f k8s/jaeger/jaeger_service_account.yaml
|
|
|
|
- kubectl delete -f k8s/jaeger/jaeger_role.yaml
|
|
|
|
- kubectl delete -f k8s/jaeger/jaeger_role_binding.yaml
|
|
|
|
- kubectl delete -f k8s/jaeger/jaeger_operator.yaml
|