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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
14 deletions
+23
-14
grafana-service.yaml
...r/addons/cluster-monitoring/influxdb/grafana-service.yaml
+2
-2
influxdb-grafana-controller.yaml
...ster-monitoring/influxdb/influxdb-grafana-controller.yaml
+21
-11
influxdb-service.yaml
.../addons/cluster-monitoring/influxdb/influxdb-service.yaml
+0
-1
No files found.
cluster/addons/cluster-monitoring/influxdb/grafana-service.yaml
View file @
b779fdd9
...
@@ -13,7 +13,7 @@ spec:
...
@@ -13,7 +13,7 @@ spec:
# type: LoadBalancer
# type: LoadBalancer
ports
:
ports
:
-
port
:
80
-
port
:
80
targetPort
:
3000
protocol
:
TCP
targetPort
:
ui
selector
:
selector
:
k8s-app
:
influxGrafana
k8s-app
:
influxGrafana
cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml
View file @
b779fdd9
apiVersion
:
v1
kind
:
Deployment
kind
:
ReplicationController
apiVersion
:
extensions/v1beta1
metadata
:
metadata
:
name
:
monitoring-influxdb-grafana-v4
name
:
monitoring-influxdb-grafana-v4
namespace
:
kube-system
namespace
:
kube-system
...
@@ -11,6 +11,7 @@ metadata:
...
@@ -11,6 +11,7 @@ metadata:
spec
:
spec
:
replicas
:
1
replicas
:
1
selector
:
selector
:
matchLabels
:
k8s-app
:
influxGrafana
k8s-app
:
influxGrafana
version
:
v4
version
:
v4
template
:
template
:
...
@@ -18,13 +19,18 @@ spec:
...
@@ -18,13 +19,18 @@ spec:
labels
:
labels
:
k8s-app
:
influxGrafana
k8s-app
:
influxGrafana
version
:
v4
version
:
v4
kubernetes.io/cluster-service
:
"
true"
annotations
:
scheduler.alpha.kubernetes.io/critical-pod
:
'
'
spec
:
spec
:
tolerations
:
-
key
:
node-role.kubernetes.io/master
effect
:
NoSchedule
-
key
:
"
CriticalAddonsOnly"
operator
:
"
Exists"
containers
:
containers
:
-
image
:
gcr.io/google_containers/heapster-influxdb-amd64:v1.1.1
-
name
:
influxdb
name
:
influxdb
image
:
gcr.io/google_containers/heapster-influxdb-amd64:v1.3.3
resources
:
resources
:
# keep request = limit to keep this container in guaranteed class
limits
:
limits
:
cpu
:
100m
cpu
:
100m
memory
:
500Mi
memory
:
500Mi
...
@@ -32,13 +38,15 @@ spec:
...
@@ -32,13 +38,15 @@ spec:
cpu
:
100m
cpu
:
100m
memory
:
500Mi
memory
:
500Mi
ports
:
ports
:
-
containerPort
:
8083
-
name
:
http
-
containerPort
:
8086
containerPort
:
8083
-
name
:
api
containerPort
:
8086
volumeMounts
:
volumeMounts
:
-
name
:
influxdb-persistent-storage
-
name
:
influxdb-persistent-storage
mountPath
:
/data
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
:
env
:
resources
:
resources
:
# keep request = limit to keep this container in guaranteed class
# keep request = limit to keep this container in guaranteed class
...
@@ -64,6 +72,9 @@ spec:
...
@@ -64,6 +72,9 @@ spec:
value
:
Admin
value
:
Admin
-
name
:
GF_SERVER_ROOT_URL
-
name
:
GF_SERVER_ROOT_URL
value
:
/api/v1/proxy/namespaces/kube-system/services/monitoring-grafana/
value
:
/api/v1/proxy/namespaces/kube-system/services/monitoring-grafana/
ports
:
-
name
:
ui
containerPort
:
3000
volumeMounts
:
volumeMounts
:
-
name
:
grafana-persistent-storage
-
name
:
grafana-persistent-storage
mountPath
:
/var
mountPath
:
/var
...
@@ -72,4 +83,3 @@ spec:
...
@@ -72,4 +83,3 @@ spec:
emptyDir
:
{}
emptyDir
:
{}
-
name
:
grafana-persistent-storage
-
name
:
grafana-persistent-storage
emptyDir
:
{}
emptyDir
:
{}
cluster/addons/cluster-monitoring/influxdb/influxdb-service.yaml
View file @
b779fdd9
...
@@ -17,4 +17,3 @@ spec:
...
@@ -17,4 +17,3 @@ spec:
targetPort
:
8086
targetPort
:
8086
selector
:
selector
:
k8s-app
:
influxGrafana
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