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
8557f7df
Commit
8557f7df
authored
Jul 20, 2017
by
Zihong Zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump up minNodesHealthCheckVersion in gce_healthcheck due to known issues
parent
6329c862
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
gce_healthchecks.go
pkg/cloudprovider/providers/gce/gce_healthchecks.go
+2
-2
gce_healthchecks_test.go
pkg/cloudprovider/providers/gce/gce_healthchecks_test.go
+7
-6
No files found.
pkg/cloudprovider/providers/gce/gce_healthchecks.go
View file @
8557f7df
...
...
@@ -37,8 +37,8 @@ var (
)
func
init
()
{
if
v
,
err
:=
utilversion
.
ParseGeneric
(
"1.7.
0
"
);
err
!=
nil
{
panic
(
err
)
if
v
,
err
:=
utilversion
.
ParseGeneric
(
"1.7.
2
"
);
err
!=
nil
{
glog
.
Fatalf
(
"Failed to parse version for minNodesHealthCheckVersion: %v"
,
err
)
}
else
{
minNodesHealthCheckVersion
=
v
}
...
...
pkg/cloudprovider/providers/gce/gce_healthchecks_test.go
View file @
8557f7df
...
...
@@ -27,8 +27,9 @@ func TestIsAtLeastMinNodesHealthCheckVersion(t *testing.T) {
version
string
expect
bool
}{
{
"v1.7.1"
,
true
},
{
"v1.7.0-alpha.2.597+276d289b90d322"
,
true
},
{
"v1.7.3"
,
true
},
{
"v1.7.2"
,
true
},
{
"v1.7.2-alpha.2.597+276d289b90d322"
,
true
},
{
"v1.6.0-beta.3.472+831q821c907t31a"
,
false
},
{
"v1.5.2"
,
false
},
}
...
...
@@ -52,14 +53,14 @@ func TestSupportsNodesHealthCheck(t *testing.T) {
{
Status
:
v1
.
NodeStatus
{
NodeInfo
:
v1
.
NodeSystemInfo
{
KubeProxyVersion
:
"v1.7.
1
"
,
KubeProxyVersion
:
"v1.7.
2
"
,
},
},
},
{
Status
:
v1
.
NodeStatus
{
NodeInfo
:
v1
.
NodeSystemInfo
{
KubeProxyVersion
:
"v1.7.
0
-alpha.2.597+276d289b90d322"
,
KubeProxyVersion
:
"v1.7.
2
-alpha.2.597+276d289b90d322"
,
},
},
},
...
...
@@ -92,14 +93,14 @@ func TestSupportsNodesHealthCheck(t *testing.T) {
{
Status
:
v1
.
NodeStatus
{
NodeInfo
:
v1
.
NodeSystemInfo
{
KubeProxyVersion
:
"v1.7.
1
"
,
KubeProxyVersion
:
"v1.7.
3
"
,
},
},
},
{
Status
:
v1
.
NodeStatus
{
NodeInfo
:
v1
.
NodeSystemInfo
{
KubeProxyVersion
:
"v1.7.
0
-alpha.2.597+276d289b90d322"
,
KubeProxyVersion
:
"v1.7.
2
-alpha.2.597+276d289b90d322"
,
},
},
},
...
...
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