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
b5f2147a
Unverified
Commit
b5f2147a
authored
Jan 26, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Jan 26, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #73193 from shyamjvs/avoid-master-ssh
Avoid master ssh in eks
parents
c6d0cdf3
bb23e0ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
metrics_util.go
test/e2e/framework/metrics_util.go
+4
-4
No files found.
test/e2e/framework/metrics_util.go
View file @
b5f2147a
...
...
@@ -293,8 +293,8 @@ func NewEtcdMetricsCollector() *EtcdMetricsCollector {
func
getEtcdMetrics
()
([]
*
model
.
Sample
,
error
)
{
// Etcd is only exposed on localhost level. We are using ssh method
if
TestContext
.
Provider
==
"gke"
{
Logf
(
"Not grabbing
scheduler metrics through master SSH: unsupported for gke"
)
if
TestContext
.
Provider
==
"gke"
||
TestContext
.
Provider
==
"eks"
{
Logf
(
"Not grabbing
etcd metrics through master SSH: unsupported for %s"
,
TestContext
.
Provider
)
return
nil
,
nil
}
...
...
@@ -620,8 +620,8 @@ func sendRestRequestToScheduler(c clientset.Interface, op string) (string, error
responseText
=
string
(
body
)
}
else
{
// If master is not registered fall back to old method of using SSH.
if
TestContext
.
Provider
==
"gke"
{
Logf
(
"Not grabbing scheduler metrics through master SSH: unsupported for
gke"
)
if
TestContext
.
Provider
==
"gke"
||
TestContext
.
Provider
==
"eks"
{
Logf
(
"Not grabbing scheduler metrics through master SSH: unsupported for
%s"
,
TestContext
.
Provider
)
return
""
,
nil
}
...
...
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