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
3fbde5ec
Commit
3fbde5ec
authored
Sep 21, 2016
by
Mik Vyatskov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed elasticsearch cluster logging e2e test on GCI
parent
2d9d84dc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
es-controller.yaml
cluster/addons/fluentd-elasticsearch/es-controller.yaml
+2
-2
es_cluster_logging.go
test/e2e/es_cluster_logging.go
+0
-8
No files found.
cluster/addons/fluentd-elasticsearch/es-controller.yaml
View file @
3fbde5ec
...
@@ -23,9 +23,9 @@ spec:
...
@@ -23,9 +23,9 @@ spec:
-
image
:
gcr.io/google_containers/elasticsearch:1.9
-
image
:
gcr.io/google_containers/elasticsearch:1.9
name
:
elasticsearch-logging
name
:
elasticsearch-logging
resources
:
resources
:
#
keep request = limit to keep this container in guaranteed
class
#
need more cpu upon initialization, therefore burstable
class
limits
:
limits
:
cpu
:
100m
cpu
:
100
0
m
requests
:
requests
:
cpu
:
100m
cpu
:
100m
ports
:
ports
:
...
...
test/e2e/es_cluster_logging.go
View file @
3fbde5ec
...
@@ -219,11 +219,6 @@ func ClusterLevelLoggingWithElasticsearch(f *framework.Framework) {
...
@@ -219,11 +219,6 @@ func ClusterLevelLoggingWithElasticsearch(f *framework.Framework) {
}
}
framework
.
Logf
(
"Found %d healthy nodes."
,
len
(
nodes
.
Items
))
framework
.
Logf
(
"Found %d healthy nodes."
,
len
(
nodes
.
Items
))
// TODO: Figure out why initialization time influences
// results of the test and remove this step
By
(
"Wait some more time to ensure ES and fluentd are ready"
)
time
.
Sleep
(
2
*
time
.
Minute
)
// Wait for the Fluentd pods to enter the running state.
// Wait for the Fluentd pods to enter the running state.
By
(
"Checking to make sure the Fluentd pod are running on each healthy node"
)
By
(
"Checking to make sure the Fluentd pod are running on each healthy node"
)
label
=
labels
.
SelectorFromSet
(
labels
.
Set
(
map
[
string
]
string
{
k8sAppKey
:
fluentdValue
}))
label
=
labels
.
SelectorFromSet
(
labels
.
Set
(
map
[
string
]
string
{
k8sAppKey
:
fluentdValue
}))
...
@@ -306,9 +301,6 @@ func ClusterLevelLoggingWithElasticsearch(f *framework.Framework) {
...
@@ -306,9 +301,6 @@ func ClusterLevelLoggingWithElasticsearch(f *framework.Framework) {
Expect
(
err
)
.
NotTo
(
HaveOccurred
())
Expect
(
err
)
.
NotTo
(
HaveOccurred
())
}
}
// Wait a bit for the log information to make it into Elasticsearch.
time
.
Sleep
(
30
*
time
.
Second
)
// Make several attempts to observe the logs ingested into Elasticsearch.
// Make several attempts to observe the logs ingested into Elasticsearch.
By
(
"Checking all the log lines were ingested into Elasticsearch"
)
By
(
"Checking all the log lines were ingested into Elasticsearch"
)
totalMissing
:=
0
totalMissing
:=
0
...
...
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