Commit 93814482 authored by pierwill's avatar pierwill Committed by David McKay

Edit Kapacitor post-install note

parent 1577b742
apiVersion: v1 apiVersion: v1
name: kapacitor name: kapacitor
version: 1.2.9 version: 1.2.10
appVersion: 1.5.4 appVersion: 1.5.4
description: InfluxDB's native data processing engine. It can process both stream description: InfluxDB's native data processing engine. It can process both stream
and batch data from InfluxDB. and batch data from InfluxDB.
......
...@@ -2,28 +2,28 @@ ...@@ -2,28 +2,28 @@
{{- if not $bl }} {{- if not $bl }}
Kapacitor can be accessed via port 9092 on the following DNS name from within your cluster: Kapacitor can be accessed via port 9092 on the following DNS name from within your cluster:
- http://{{ template "kapacitor.fullname" . }}.{{ .Release.Namespace }}:9092 http://{{ template "kapacitor.fullname" . }}.{{ .Release.Namespace }}:9092
You can easily connect to the remote instance from a local kapacitor cli. Forward the api port to localhost:9092 You can connect to the remote instance from a local Kapacitor CLI. Forward the API port to localhost:9092:
- kubectl port-forward --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "kapacitor.fullname" . }} -o jsonpath='{ .items[0].metadata.name }') 9092:9092 kubectl port-forward --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "kapacitor.fullname" . }} -o jsonpath='{ .items[0].metadata.name }') 9092:9092
You can also connect to the container running Kapacitor. To open a shell session in the pod run the following: You can also connect to the container running Kapacitor. To open a shell session in the pod, run the following:
- kubectl exec -i -t --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "kapacitor.fullname" . }} -o jsonpath='{.items[0].metadata.name}') /bin/sh kubectl exec -i -t --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "kapacitor.fullname" . }} -o jsonpath='{.items[0].metadata.name}') /bin/sh
To tail the logs for the Kapacitor pod run the following: To view the logs for the Kapacitor pod, run the following:
- kubectl logs -f --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "kapacitor.fullname" . }} -o jsonpath='{ .items[0].metadata.name }') kubectl logs -f --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "kapacitor.fullname" . }} -o jsonpath='{ .items[0].metadata.name }')
{{- if eq .Values.service.type "LoadBalancer" }} {{- if eq .Values.service.type "LoadBalancer" }}
To watch for the LoadBalancer IP or Hostname to populate run the following: To watch for the LoadBalancer IP or Hostname to populate, run the following:
- kubectl get svc -w --namespace {{ .Release.Namespace }} -l app={{ template "kapacitor.fullname" . }} kubectl get service -w --namespace {{ .Release.Namespace }} -l app={{ template "kapacitor.fullname" . }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- if empty .Values.influxURL }} {{- if empty .Values.influxURL }}
You have not set .Values.influxURL. Kapacitor needs an InfluxDB instance to create a subscription on. Please set that value to deploy kapacitor You have not set .Values.influxURL. Kapacitor needs an InfluxDB instance to create a subscription on. Please set that value to deploy Kapacitor. (See README for more information.)
{{- end }} {{- end }}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment