Skip to content

Commit dba44a3

Browse files
authored
Remove prometheus dependency (#25)
1 parent 995472a commit dba44a3

2 files changed

Lines changed: 1 addition & 16 deletions

File tree

‎config/default/kustomization.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ resources:
2424
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
2525
#- ../certmanager
2626
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
27-
- ../prometheus
27+
#- ../prometheus
2828
# [METRICS] Expose the controller manager metrics service.
2929
- metrics_service.yaml
3030
# [NETWORK POLICY] Protect the /metrics endpoint and Webhook Server with NetworkPolicy.

‎hack/create-kind-cluster.sh‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -164,20 +164,6 @@ function install_keda() {
164164
kubectl wait deployment --all --timeout=-1s --for=condition=Available --namespace keda
165165
}
166166

167-
function install_prometheus() {
168-
header_text "Installing Prometheus Operator"
169-
170-
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
171-
helm repo update
172-
kubectl create namespace prometheus
173-
helm install prometheus prometheus-community/kube-prometheus-stack --namespace prometheus \
174-
--set grafana.enabled=false \
175-
--set prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false
176-
177-
header_text "Waiting for Prometheus operator to become ready"
178-
kubectl wait deployment --all --timeout=-1s --for=condition=Available --namespace prometheus
179-
}
180-
181167
if [ "$DELETE_CLUSTER_BEFORE" = "true" ]; then
182168
delete_existing_cluster
183169
fi
@@ -189,6 +175,5 @@ install_tekton
189175
install_knative_serving
190176
install_knative_eventing
191177
install_keda
192-
install_prometheus
193178

194179
header_text "All components installed"

0 commit comments

Comments
 (0)