Install KAAP stack Helm chart
Need more monitoring and management capabilities? Check out the KAAP stack. KAAP stack includes:
-
Pulsar Operator
-
Prometheus Stack (Grafana)
-
Pulsar Grafana dashboards
-
Cert Manager
-
Keycloak
To install a PulsarCluster with the KAAP stack included:
+
-
Kubectl
-
Result
helm repo add kaap https://datastax.github.io/kaap
helm repo update
helm install pulsar kaap/kaap-stack --values helm/examples/dev-cluster/values.yaml
NAME: kaap
LAST DEPLOYED: Wed Jun 28 15:46:27 2023
NAMESPACE: pulsar-cluster
STATUS: deployed
REVISION: 1
TEST SUITE: None
-
Ensure kaap-stack is up and running:
-
Kubectl
-
Result
kubectl get deployment
NAME READY UP-TO-DATE AVAILABLE AGE kaap 1/1 1 1 5m19s pulsar-autorecovery 1/1 1 1 3m19s pulsar-bastion 1/1 1 1 3m19s pulsar-grafana 1/1 1 1 5m19s pulsar-kube-prometheus-sta-operator 1/1 1 1 5m19s pulsar-kube-state-metrics 1/1 1 1 5m19s pulsar-proxy 1/1 1 1 3m19s
-
-
Describe the deployment:
-
Kubectl
-
Result
kubectl describe deployment kaap-stack
Name: kaap Namespace: pulsar-cluster CreationTimestamp: Wed, 28 Jun 2023 16:03:51 -0400 Labels: app.kubernetes.io/managed-by=Helm app.kubernetes.io/name=kaap helm.sh/chart=kaap-0.1.0 Annotations: deployment.kubernetes.io/revision: 1 meta.helm.sh/release-name: kaap meta.helm.sh/release-namespace: pulsar-cluster prometheus.io/path: /q/metrics prometheus.io/port: 8080 prometheus.io/scheme: http prometheus.io/scrape: true Selector: app.kubernetes.io/name=kaap Replicas: 1 desired | 1 updated | 1 total | 1 available | 0 unavailable StrategyType: RollingUpdate MinReadySeconds: 0 RollingUpdateStrategy: 25% max unavailable, 25% max surge Pod Template: Labels: app.kubernetes.io/name=kaap Annotations: checksum/config: bf2ad27453a7deeb74c2e0b177154649cb6cf292a31b80855c92d28f6a141134 prometheus.io/path: /q/metrics prometheus.io/port: 8080 prometheus.io/scheme: http prometheus.io/scrape: true Service Account: kaap Containers: kaap: Image: datastax/kaap:latest Port: 8080/TCP Host Port: 0/TCP Liveness: http-get http://:8080/q/health/live delay=0s timeout=10s period=30s #success=1 #failure=3 Readiness: http-get http://:8080/q/health/ready delay=0s timeout=10s period=30s #success=1 #failure=3 Environment Variables from: kaap ConfigMap Optional: false Environment: KUBERNETES_NAMESPACE: (v1:metadata.namespace) Mounts: <none> Volumes: <none> Conditions: Type Status Reason ---- ------ ------ Available True MinimumReplicasAvailable Progressing True NewReplicaSetAvailable OldReplicaSets: <none> NewReplicaSet: kaap-76dfd8ddf9 (1/1 replicas created) Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal ScalingReplicaSet 12m deployment-controller Scaled up replica set kaap-76dfd8ddf9 to 1
-
You’ve now installed KAAP stack.
Uninstall
To uninstall the KAAP operator and the cluster:
-
Helm
-
Result
helm uninstall kaap-stack
release "kaap-stack" uninstalled