Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
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
0
Merge Requests
0
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
k3s
Commits
b779fdd9
Commit
b779fdd9
authored
Oct 02, 2017
by
kairen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update influxdb and grafana controller to latest version
parent
6ed20737
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
32 deletions
+41
-32
grafana-service.yaml
...r/addons/cluster-monitoring/influxdb/grafana-service.yaml
+5
-5
influxdb-grafana-controller.yaml
...ster-monitoring/influxdb/influxdb-grafana-controller.yaml
+32
-22
influxdb-service.yaml
.../addons/cluster-monitoring/influxdb/influxdb-service.yaml
+4
-5
No files found.
cluster/addons/cluster-monitoring/influxdb/grafana-service.yaml
View file @
b779fdd9
...
...
@@ -3,7 +3,7 @@ kind: Service
metadata
:
name
:
monitoring-grafana
namespace
:
kube-system
labels
:
labels
:
kubernetes.io/cluster-service
:
"
true"
addonmanager.kubernetes.io/mode
:
Reconcile
kubernetes.io/name
:
"
Grafana"
...
...
@@ -11,9 +11,9 @@ spec:
# On production clusters, consider setting up auth for grafana, and
# exposing Grafana either using a LoadBalancer or a public IP.
# type: LoadBalancer
ports
:
ports
:
-
port
:
80
targetPort
:
3000
selector
:
protocol
:
TCP
targetPort
:
ui
selector
:
k8s-app
:
influxGrafana
cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml
View file @
b779fdd9
apiVersion
:
v1
kind
:
ReplicationController
kind
:
Deployment
apiVersion
:
extensions/v1beta1
metadata
:
name
:
monitoring-influxdb-grafana-v4
namespace
:
kube-system
labels
:
labels
:
k8s-app
:
influxGrafana
version
:
v4
kubernetes.io/cluster-service
:
"
true"
addonmanager.kubernetes.io/mode
:
Reconcile
spec
:
spec
:
replicas
:
1
selector
:
k8s-app
:
influxGrafana
version
:
v4
template
:
metadata
:
labels
:
selector
:
matchLabels
:
k8s-app
:
influxGrafana
version
:
v4
template
:
metadata
:
labels
:
k8s-app
:
influxGrafana
version
:
v4
kubernetes.io/cluster-service
:
"
true"
spec
:
containers
:
-
image
:
gcr.io/google_containers/heapster-influxdb-amd64:v1.1.1
name
:
influxdb
annotations
:
scheduler.alpha.kubernetes.io/critical-pod
:
'
'
spec
:
tolerations
:
-
key
:
node-role.kubernetes.io/master
effect
:
NoSchedule
-
key
:
"
CriticalAddonsOnly"
operator
:
"
Exists"
containers
:
-
name
:
influxdb
image
:
gcr.io/google_containers/heapster-influxdb-amd64:v1.3.3
resources
:
# keep request = limit to keep this container in guaranteed class
limits
:
cpu
:
100m
memory
:
500Mi
requests
:
cpu
:
100m
memory
:
500Mi
ports
:
-
containerPort
:
8083
-
containerPort
:
8086
ports
:
-
name
:
http
containerPort
:
8083
-
name
:
api
containerPort
:
8086
volumeMounts
:
-
name
:
influxdb-persistent-storage
mountPath
:
/data
-
image
:
gcr.io/google_containers/heapster-grafana-amd64:v4.0.2
name
:
grafana
-
name
:
grafana
image
:
gcr.io/google_containers/heapster-grafana-amd64:v4.4.3
env
:
resources
:
# keep request = limit to keep this container in guaranteed class
...
...
@@ -64,6 +72,9 @@ spec:
value
:
Admin
-
name
:
GF_SERVER_ROOT_URL
value
:
/api/v1/proxy/namespaces/kube-system/services/monitoring-grafana/
ports
:
-
name
:
ui
containerPort
:
3000
volumeMounts
:
-
name
:
grafana-persistent-storage
mountPath
:
/var
...
...
@@ -72,4 +83,3 @@ spec:
emptyDir
:
{}
-
name
:
grafana-persistent-storage
emptyDir
:
{}
cluster/addons/cluster-monitoring/influxdb/influxdb-service.yaml
View file @
b779fdd9
...
...
@@ -3,18 +3,17 @@ kind: Service
metadata
:
name
:
monitoring-influxdb
namespace
:
kube-system
labels
:
labels
:
kubernetes.io/cluster-service
:
"
true"
addonmanager.kubernetes.io/mode
:
Reconcile
kubernetes.io/name
:
"
InfluxDB"
spec
:
ports
:
spec
:
ports
:
-
name
:
http
port
:
8083
targetPort
:
8083
-
name
:
api
port
:
8086
targetPort
:
8086
selector
:
selector
:
k8s-app
:
influxGrafana
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