# # This reproduces the bug reported in https://github.com/open-telemetry/opentelemetry-operator/issues/906 # # See https://github.com/kubernetes/minikube/issues/13969 for an explaination of the *--extra-config=kubelet.housekeeping-interval=10s* option minikube stop minikube delete # Do I need registry? Or ingress? minikube start --memory 12288 --vm-driver hyperkit --addons "ingress,metrics-server,registry" --extra-config=kubelet.housekeeping-interval=10s # Install the cert manager CERTMANAGER_VERSION=1.6.1 kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v${CERTMANAGER_VERSION}/cert-manager.yaml cmctl check api --wait=5m # Install the OTEL operator kubectl apply -f https://github.com/open-telemetry/opentelemetry-operator/releases/latest/download/opentelemetry-operator.yaml kubectl rollout --namespace opentelemetry-operator-system status deployment opentelemetry-operator-controller-manager # Install the collector kubectl create namespace simple kubectl apply --namespace simple -f ./otel-collector-simplest.yaml sleep 15s kubectl rollout --namespace simple status deployment/simplest-collector # Install the tracegen example to generate some load kubectl apply --namespace simple -f ~/sources/kevinearls/fixes/otel-operator/issue-801/otel-tracegen.yaml echo "#########################################" echo "# Open another terminal window and execute: " echo "# kubectl get pods -n simple --watch" echo "#########################################" kubectl get hpa --namespace simple --watch