Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
15 changes: 0 additions & 15 deletions hack/create-kind-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -189,6 +175,5 @@ install_tekton
install_knative_serving
install_knative_eventing
install_keda
install_prometheus

header_text "All components installed"
Loading