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
c21aeacc
Commit
c21aeacc
authored
Apr 10, 2018
by
Marek Siarkowicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove InfluxDB from default cluster monitoring
parent
8306b692
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
config-default.sh
cluster/gce/config-default.sh
+1
-1
config-test.sh
cluster/gce/config-test.sh
+1
-1
ginkgo-e2e.sh
hack/ginkgo-e2e.sh
+1
-1
test_context.go
test/e2e/framework/test_context.go
+1
-1
influxdb.go
test/e2e/instrumentation/monitoring/influxdb.go
+1
-1
No files found.
cluster/gce/config-default.sh
View file @
c21aeacc
...
...
@@ -142,7 +142,7 @@ ENABLE_L7_LOADBALANCING="${KUBE_ENABLE_L7_LOADBALANCING:-glbc}"
# stackdriver - Heapster, Google Cloud Monitoring (schema container), and Google Cloud Logging
# googleinfluxdb - Enable influxdb and google (except GCM)
# standalone - Heapster only. Metrics available via Heapster REST API.
ENABLE_CLUSTER_MONITORING
=
"
${
KUBE_ENABLE_CLUSTER_MONITORING
:-
influxdb
}
"
ENABLE_CLUSTER_MONITORING
=
"
${
KUBE_ENABLE_CLUSTER_MONITORING
:-
standalone
}
"
# Optional: Enable deploying separate prometheus stack for monitoring kubernetes cluster
ENABLE_PROMETHEUS_MONITORING
=
"
${
KUBE_ENABLE_PROMETHEUS_MONITORING
:-
false
}
"
...
...
cluster/gce/config-test.sh
View file @
c21aeacc
...
...
@@ -144,7 +144,7 @@ ENABLE_L7_LOADBALANCING="${KUBE_ENABLE_L7_LOADBALANCING:-glbc}"
# stackdriver - Heapster, Google Cloud Monitoring (schema container), and Google Cloud Logging
# googleinfluxdb - Enable influxdb and google (except GCM)
# standalone - Heapster only. Metrics available via Heapster REST API.
ENABLE_CLUSTER_MONITORING
=
"
${
KUBE_ENABLE_CLUSTER_MONITORING
:-
influxdb
}
"
ENABLE_CLUSTER_MONITORING
=
"
${
KUBE_ENABLE_CLUSTER_MONITORING
:-
standalone
}
"
# Optional: Enable deploying separate prometheus stack for monitoring kubernetes cluster
ENABLE_PROMETHEUS_MONITORING
=
"
${
KUBE_ENABLE_PROMETHEUS_MONITORING
:-
false
}
"
...
...
hack/ginkgo-e2e.sh
View file @
c21aeacc
...
...
@@ -159,7 +159,7 @@ export PATH=$(dirname "${e2e_test}"):"${PATH}"
--network
=
"
${
KUBE_GCE_NETWORK
:-${
KUBE_GKE_NETWORK
:-
e2e
}}
"
\
--node-tag
=
"
${
NODE_TAG
:-}
"
\
--master-tag
=
"
${
MASTER_TAG
:-}
"
\
--cluster-monitoring-mode
=
"
${
KUBE_ENABLE_CLUSTER_MONITORING
:-
influxdb
}
"
\
--cluster-monitoring-mode
=
"
${
KUBE_ENABLE_CLUSTER_MONITORING
:-
standalone
}
"
\
--prometheus-monitoring
=
"
${
KUBE_ENABLE_PROMETHEUS_MONITORING
:-
false
}
"
\
${
KUBE_CONTAINER_RUNTIME
:+
"--container-runtime=
${
KUBE_CONTAINER_RUNTIME
}
"
}
\
${
MASTER_OS_DISTRIBUTION
:+
"--master-os-distro=
${
MASTER_OS_DISTRIBUTION
}
"
}
\
...
...
test/e2e/framework/test_context.go
View file @
c21aeacc
...
...
@@ -238,7 +238,7 @@ func RegisterClusterFlags() {
flag
.
StringVar
(
&
TestContext
.
Prefix
,
"prefix"
,
"e2e"
,
"A prefix to be added to cloud resources created during testing."
)
flag
.
StringVar
(
&
TestContext
.
MasterOSDistro
,
"master-os-distro"
,
"debian"
,
"The OS distribution of cluster master (debian, trusty, or coreos)."
)
flag
.
StringVar
(
&
TestContext
.
NodeOSDistro
,
"node-os-distro"
,
"debian"
,
"The OS distribution of cluster VM instances (debian, trusty, or coreos)."
)
flag
.
StringVar
(
&
TestContext
.
ClusterMonitoringMode
,
"cluster-monitoring-mode"
,
"
influxdb
"
,
"The monitoring solution that is used in the cluster."
)
flag
.
StringVar
(
&
TestContext
.
ClusterMonitoringMode
,
"cluster-monitoring-mode"
,
"
standalone
"
,
"The monitoring solution that is used in the cluster."
)
flag
.
BoolVar
(
&
TestContext
.
EnablePrometheusMonitoring
,
"prometheus-monitoring"
,
false
,
"Separate Prometheus monitoring deployed in cluster."
)
// TODO: Flags per provider? Rename gce-project/gce-zone?
...
...
test/e2e/instrumentation/monitoring/influxdb.go
View file @
c21aeacc
...
...
@@ -42,7 +42,7 @@ var _ = instrumentation.SIGDescribe("Monitoring", func() {
framework
.
SkipUnlessClusterMonitoringModeIs
(
"influxdb"
)
})
It
(
"should verify monitoring pods and all cluster nodes are available on influxdb using heapster
.
"
,
func
()
{
It
(
"should verify monitoring pods and all cluster nodes are available on influxdb using heapster
[Feature:InfluxdbMonitoring]
"
,
func
()
{
testMonitoringUsingHeapsterInfluxdb
(
f
.
ClientSet
)
})
})
...
...
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