Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
influxdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
influxdb
Commits
dd87a11b
Commit
dd87a11b
authored
Dec 01, 2016
by
Jack Zampolin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address PR comments
parent
205827df
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
22 deletions
+28
-22
README.md
stable/kapacitor/README.md
+15
-15
NOTES.txt
stable/kapacitor/templates/NOTES.txt
+3
-2
deployment.yaml
stable/kapacitor/templates/deployment.yaml
+1
-1
service.yaml
stable/kapacitor/templates/service.yaml
+1
-0
values.yaml
stable/kapacitor/values.yaml
+8
-4
No files found.
stable/kapacitor/README.md
View file @
dd87a11b
...
...
@@ -44,25 +44,25 @@ The command removes all the Kubernetes components associated with the chart and
## Configuration
The following tables lists the configurable parameters of the Kapacitor chart and
the
ir default values
.
the
meaning of the field. The default values are listed in
`values.yaml`
.
```
yaml
image.repository
:
"
kapacitor"
image.tag
:
"
1.1.0"
image.pullPolicy
:
"
IfNotPresent"
service.type
:
NodePort
persistence.enabled
:
false
persistence.storageClass
:
generic
persistence.accessMode
:
ReadWriteOnce
persistence.size
:
8G
i
resources.requests.memory
:
256Mi
resources.requests.cpu
:
0.1
resources.limits.memory
:
2Gi
resources.limits.cpu
:
2
image.repository
:
Docker image repo to use
image.tag
:
Docker image tag to use
image.pullPolicy
:
Image pull policy (IfNotPresent, Always)
service.type
:
Type of service (NodePort, LoadBalancer)
persistence.enabled
:
Set to
true
to enable automatic provisioning of a persistent disk
persistence.storageClass
:
Sorage class for the persistent disk
persistence.accessMode
:
Access mode for the persistent disk
persistence.size
:
Size of the persistent disk in Gi or M
i
resources.requests.memory
:
Min amount of memory the pod requires
resources.requests.cpu
:
Min amount of cpu required by the pod
resources.limits.memory
:
Max amount of memory the pod requires
resources.limits.cpu
:
Max amount of cpu required by the pod
# This is the location where kapacitor will look for an Influxdb
# instance to create a subscription on.
InfluxURL
:
http://influxdb-influxdb.tick:8086
influxURL
:
An InfluxDB url with port.
```
The
[
full image documentation
](
https://hub.docker.com/_/kapacitor/
)
contains more information about running Kapacitor in docker.
...
...
@@ -71,7 +71,7 @@ Specify each parameter using the `--set key=value[,key=value]` argument to `helm
```
bash
$
helm
install
--name
my-release
\
--set
I
nfluxURL
=
http://myinflux.mytld:8086,persistence.enabled
=
true
\
--set
i
nfluxURL
=
http://myinflux.mytld:8086,persistence.enabled
=
true
\
stable/kapacitor
```
...
...
stable/kapacitor/templates/NOTES.txt
View file @
dd87a11b
...
...
@@ -10,13 +10,13 @@ You can also connect to the container running Kapacitor. To open a shell session
- kubectl exec -i -t --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "fullname" . }} -o jsonpath='{.items[0].metadata.name}') /bin/sh
To t
r
ail the logs for the Kapacitor pod run the following:
To tail the logs for the Kapacitor pod run the following:
- kubectl logs -f --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "fullname" . }} -o jsonpath='{ .items[0].metadata.name }')
{{- if eq .Values.service.type "LoadBalancer" }}
To watch for the LoadBalancer IP
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 "fullname" . }}
{{- end }}
\ No newline at end of file
stable/kapacitor/templates/deployment.yaml
View file @
dd87a11b
...
...
@@ -22,7 +22,7 @@ spec:
-
name
:
KAPACITOR_HOSTNAME
value
:
{{
template "fullname" .
}}
.{{ .Release.Namespace }}
-
name
:
KAPACITOR_INFLUXDB_0_URLS_0
value
:
{{
.Values.
I
nfluxURL
}}
value
:
{{
.Values.
i
nfluxURL
}}
ports
:
-
containerPort
:
9092
volumeMounts
:
...
...
stable/kapacitor/templates/service.yaml
View file @
dd87a11b
...
...
@@ -12,5 +12,6 @@ spec:
ports
:
-
port
:
9092
targetPort
:
9092
name
:
api
selector
:
app
:
{{
template "fullname" .
}}
stable/kapacitor/values.yaml
View file @
dd87a11b
...
...
@@ -6,13 +6,15 @@ image:
tag
:
"
1.1.0"
pullPolicy
:
"
IfNotPresent"
## Specify a service type
## NodePort is default
## Specify a service type, defaults to NodePort
## ref: http://kubernetes.io/docs/user-guide/services/
##
service
:
type
:
NodePort
## Persist data to a persitent volume
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
##
persistence
:
enabled
:
false
storageClass
:
generic
...
...
@@ -30,5 +32,7 @@ resources:
memory
:
2Gi
cpu
:
2
# Set url for kapacitor to point to
InfluxURL
:
http://influxdb-influxdb.tick:8086
## Set the URL of InfluxDB instance to create subscription on
## ref: https://docs.influxdata.com/kapacitor/v1.1/introduction/getting_started/
##
influxURL
:
http://influxdb-influxdb.tick:8086
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment