diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index e6a510d..4eccb03 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -24,7 +24,7 @@ resources: # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required. #- ../certmanager # [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'. -- ../prometheus +#- ../prometheus # [METRICS] Expose the controller manager metrics service. - metrics_service.yaml # [NETWORK POLICY] Protect the /metrics endpoint and Webhook Server with NetworkPolicy. diff --git a/hack/create-kind-cluster.sh b/hack/create-kind-cluster.sh index 2038b86..a0331f0 100755 --- a/hack/create-kind-cluster.sh +++ b/hack/create-kind-cluster.sh @@ -164,20 +164,6 @@ function install_keda() { kubectl wait deployment --all --timeout=-1s --for=condition=Available --namespace keda } -function install_prometheus() { - header_text "Installing Prometheus Operator" - - helm repo add prometheus-community https://prometheus-community.github.io/helm-charts - helm repo update - kubectl create namespace prometheus - helm install prometheus prometheus-community/kube-prometheus-stack --namespace prometheus \ - --set grafana.enabled=false \ - --set prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false - - header_text "Waiting for Prometheus operator to become ready" - kubectl wait deployment --all --timeout=-1s --for=condition=Available --namespace prometheus -} - if [ "$DELETE_CLUSTER_BEFORE" = "true" ]; then delete_existing_cluster fi @@ -189,6 +175,5 @@ install_tekton install_knative_serving install_knative_eventing install_keda -install_prometheus header_text "All components installed" \ No newline at end of file