Prerequisites¶
- Kubernetes Cluster: You should have a running Kubernetes cluster. You can use any cloud-based or on-premises Kubernetes distribution.
- kubectl: Installed and configured to interact with your Kubernetes cluster.
- Helm: Installed for managing Kubernetes applications.
- Prometheus: You should have a prometheus installed in your cluster.
Installing Prometheus
We will setup a sample prometheus to read metrics from the ingress controller.
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
helm install kube-prometheus-stack prometheus-community/kube-prometheus-stack \
--namespace monitoring \
--create-namespace \
--set alertmanager.enabled=false \
--set grafana.enabled=false \
--set prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false
-
Ingress / Gateway: Install one edge integration so traffic reaches the resolver with the correct routing header. See Gateway and ingress integrations:
-
KEDA: [Optional] You can have a KEDA installed in your cluster, else HPA can be used.