File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ 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.
29- - metrics_service.yaml
29+ # - metrics_service.yaml
3030# [NETWORK POLICY] Protect the /metrics endpoint and Webhook Server with NetworkPolicy.
3131# Only Pod(s) running a namespace labeled with 'metrics: enabled' will be able to gather the metrics.
3232# Only CR(s) which requires webhooks and are applied on namespaces labeled with 'webhooks: enabled' will
Original file line number Diff line number Diff 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-
181167if [ " $DELETE_CLUSTER_BEFORE " = " true" ]; then
182168 delete_existing_cluster
183169fi
@@ -189,6 +175,5 @@ install_tekton
189175install_knative_serving
190176install_knative_eventing
191177install_keda
192- install_prometheus
193178
194179header_text " All components installed"
You can’t perform that action at this time.
0 commit comments