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
37f8ce08
Unverified
Commit
37f8ce08
authored
Jan 16, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Jan 16, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #70361 from qingsenLi/git181027
fix typo "amd"
parents
3be5e73e
3e83f0f0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
deprecated_insecure_serving.go
...iserver/pkg/server/options/deprecated_insecure_serving.go
+1
-1
downward_api.go
test/e2e/common/downward_api.go
+2
-2
No files found.
staging/src/k8s.io/apiserver/pkg/server/options/deprecated_insecure_serving.go
View file @
37f8ce08
...
@@ -94,7 +94,7 @@ func (s *DeprecatedInsecureServingOptions) AddUnqualifiedFlags(fs *pflag.FlagSet
...
@@ -94,7 +94,7 @@ func (s *DeprecatedInsecureServingOptions) AddUnqualifiedFlags(fs *pflag.FlagSet
fs
.
Lookup
(
"port"
)
.
Hidden
=
false
fs
.
Lookup
(
"port"
)
.
Hidden
=
false
}
}
// ApplyTo adds DeprecatedInsecureServingOptions to the insecureserverinfo a
m
d kube-controller manager configuration.
// ApplyTo adds DeprecatedInsecureServingOptions to the insecureserverinfo a
n
d kube-controller manager configuration.
// Note: the double pointer allows to set the *DeprecatedInsecureServingInfo to nil without referencing the struct hosting this pointer.
// Note: the double pointer allows to set the *DeprecatedInsecureServingInfo to nil without referencing the struct hosting this pointer.
func
(
s
*
DeprecatedInsecureServingOptions
)
ApplyTo
(
c
**
server
.
DeprecatedInsecureServingInfo
)
error
{
func
(
s
*
DeprecatedInsecureServingOptions
)
ApplyTo
(
c
**
server
.
DeprecatedInsecureServingInfo
)
error
{
if
s
==
nil
{
if
s
==
nil
{
...
...
test/e2e/common/downward_api.go
View file @
37f8ce08
...
@@ -114,7 +114,7 @@ var _ = Describe("[sig-node] Downward API", func() {
...
@@ -114,7 +114,7 @@ var _ = Describe("[sig-node] Downward API", func() {
/*
/*
Release : v1.9
Release : v1.9
Testname: DownwardAPI, environment for CPU and memory limits and requests
Testname: DownwardAPI, environment for CPU and memory limits and requests
Description: Downward API MUST expose CPU request a
m
d Memory request set through environment variables at runtime in the container.
Description: Downward API MUST expose CPU request a
n
d Memory request set through environment variables at runtime in the container.
*/
*/
framework
.
ConformanceIt
(
"should provide container's limits.cpu/memory and requests.cpu/memory as env vars [NodeConformance]"
,
func
()
{
framework
.
ConformanceIt
(
"should provide container's limits.cpu/memory and requests.cpu/memory as env vars [NodeConformance]"
,
func
()
{
podName
:=
"downward-api-"
+
string
(
uuid
.
NewUUID
())
podName
:=
"downward-api-"
+
string
(
uuid
.
NewUUID
())
...
@@ -165,7 +165,7 @@ var _ = Describe("[sig-node] Downward API", func() {
...
@@ -165,7 +165,7 @@ var _ = Describe("[sig-node] Downward API", func() {
/*
/*
Release : v1.9
Release : v1.9
Testname: DownwardAPI, environment for default CPU and memory limits and requests
Testname: DownwardAPI, environment for default CPU and memory limits and requests
Description: Downward API MUST expose CPU request a
m
d Memory limits set through environment variables at runtime in the container.
Description: Downward API MUST expose CPU request a
n
d Memory limits set through environment variables at runtime in the container.
*/
*/
framework
.
ConformanceIt
(
"should provide default limits.cpu/memory from node allocatable [NodeConformance]"
,
func
()
{
framework
.
ConformanceIt
(
"should provide default limits.cpu/memory from node allocatable [NodeConformance]"
,
func
()
{
podName
:=
"downward-api-"
+
string
(
uuid
.
NewUUID
())
podName
:=
"downward-api-"
+
string
(
uuid
.
NewUUID
())
...
...
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