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
2e84a738
Unverified
Commit
2e84a738
authored
Sep 15, 2020
by
Craig Hobbs
Committed by
GitHub
Sep 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(influxdb-enterprise): add nodeport service (#185)
* feat(influxdb-enterprise): add nodeport service * feat(influxdb-enterprise): add nodeport service
parent
db980fd0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
6 deletions
+37
-6
Chart.yaml
charts/influxdb-enterprise/Chart.yaml
+1
-1
data-service.yaml
charts/influxdb-enterprise/templates/data-service.yaml
+22
-5
values.yaml
charts/influxdb-enterprise/values.yaml
+14
-0
No files found.
charts/influxdb-enterprise/Chart.yaml
View file @
2e84a738
apiVersion
:
v1
version
:
0.1.
9
version
:
0.1.
10
appVersion
:
1.8.0
engine
:
gotpl
...
...
charts/influxdb-enterprise/templates/data-service.yaml
View file @
2e84a738
...
...
@@ -6,8 +6,10 @@ metadata:
influxdb.influxdata.com/component
:
data
{{
- include "influxdb-enterprise.labels" . | nindent 4
}}
spec
:
type
:
ClusterIP
type
:
{{
.Values.data.service.type
}}
{{
- if (eq "ClusterIP" .Values.data.service.type)
}}
clusterIP
:
None
{{
- end
}}
publishNotReadyAddresses
:
true
ports
:
-
port
:
8086
...
...
@@ -16,9 +18,6 @@ spec:
-
port
:
8088
protocol
:
TCP
name
:
rpc
-
port
:
8089
protocol
:
UDP
name
:
udp
-
port
:
2003
# Graphite supports TCP and UDP,
# so this should __maybe__ be configurable
...
...
@@ -28,9 +27,26 @@ spec:
-
port
:
4242
protocol
:
TCP
name
:
opentsdb
# LoadBalancer service type only allows for one protocol
# disbaling UDP ports
{{
- if (ne "LoadBalancer" .Values.data.service.type)
}}
-
port
:
25826
protocol
:
UDP
name
:
collectd
-
port
:
8089
protocol
:
UDP
name
:
udp
{{
- end
}}
selector
:
influxdb.influxdata.com/component
:
data
{{
- include "influxdb-enterprise.selectorLabels" . | nindent 4
}}
{{
- include "influxdb-enterprise.selectorLabels" . | nindent 4
}}
{{
- if .Values.data.service.loadBalancerIP
}}
loadBalancerIP
:
{{
.Values.data.service.loadBalancerIP
}}
{{
- end
}}
{{
- if .Values.data.service.externalIPs
}}
externalIPs
:
{{
toYaml .Values.data.service.externalIPs | indent 4
}}
{{
- end
}}
{{
- if .Values.data.service.externalTrafficPolicy
}}
externalTrafficPolicy
:
{{
.Values.data.service.externalTrafficPolicy
}}
{{
- end
}}
\ No newline at end of file
charts/influxdb-enterprise/values.yaml
View file @
2e84a738
...
...
@@ -167,6 +167,20 @@ data:
#
## Persist data to a persistent volume
##
## Specify a service type
## NodePort is default
## ref: http://kubernetes.io/docs/user-guide/services/
##
service
:
## Specify a service type
## ClusterIP is default
## ref: http://kubernetes.io/docs/user-guide/services/
## Add annotations to service
# annotations: {}
type
:
ClusterIP
# loadBalancerIP: ""
# externalIPs: []
# externalTrafficPolicy: ""
persistence
:
enabled
:
false
## A manually managed Persistent Volume and Claim
...
...
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