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
4cebc865
Commit
4cebc865
authored
Mar 17, 2017
by
Janet Kuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update description of fields for DaemonSet rolling udpate
parent
1b8bd556
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
16 deletions
+18
-16
types.go
pkg/apis/extensions/types.go
+9
-8
types.go
pkg/apis/extensions/v1beta1/types.go
+9
-8
No files found.
pkg/apis/extensions/types.go
View file @
4cebc865
...
@@ -404,13 +404,14 @@ type RollingUpdateDaemonSet struct {
...
@@ -404,13 +404,14 @@ type RollingUpdateDaemonSet struct {
// number is calculated from percentage by rounding up.
// number is calculated from percentage by rounding up.
// This cannot be 0.
// This cannot be 0.
// Default value is 1.
// Default value is 1.
// Example: when this is set to 30%, 30% of the currently running DaemonSet
// Example: when this is set to 30%, at most 30% of the total number of nodes
// pods can be stopped for an update at any given time. The update starts
// that should be running the daemon pod (i.e. DesiredNumberScheduled in
// by stopping at most 30% of the currently running DaemonSet pods and then
// DaemonSetStatus) can have their pods stopped for an update at any given
// brings up new DaemonSet pods in their place. Once the new pods are ready,
// time. The update starts by stopping at most 30% of those DaemonSet pods
// it then proceeds onto other DaemonSet pods, thus ensuring that at least
// and then brings up new DaemonSet pods in their place. Once the new pods
// 70% of original number of DaemonSet pods are available at all times
// are available, it then proceeds onto other DaemonSet pods, thus ensuring
// during the update.
// that at least 70% of original number of DaemonSet pods are available at
// all times during the update.
// +optional
// +optional
MaxUnavailable
intstr
.
IntOrString
MaxUnavailable
intstr
.
IntOrString
}
}
...
@@ -435,7 +436,7 @@ type DaemonSetSpec struct {
...
@@ -435,7 +436,7 @@ type DaemonSetSpec struct {
// +optional
// +optional
UpdateStrategy
DaemonSetUpdateStrategy
UpdateStrategy
DaemonSetUpdateStrategy
//
MinReadySeconds
minimum number of seconds for which a newly created DaemonSet pod should
//
The
minimum number of seconds for which a newly created DaemonSet pod should
// be ready without any of its container crashing, for it to be considered
// be ready without any of its container crashing, for it to be considered
// available. Defaults to 0 (pod will be considered available as soon as it
// available. Defaults to 0 (pod will be considered available as soon as it
// is ready).
// is ready).
...
...
pkg/apis/extensions/v1beta1/types.go
View file @
4cebc865
...
@@ -403,13 +403,14 @@ type RollingUpdateDaemonSet struct {
...
@@ -403,13 +403,14 @@ type RollingUpdateDaemonSet struct {
// number is calculated from percentage by rounding up.
// number is calculated from percentage by rounding up.
// This cannot be 0.
// This cannot be 0.
// Default value is 1.
// Default value is 1.
// Example: when this is set to 30%, 30% of the currently running DaemonSet
// Example: when this is set to 30%, at most 30% of the total number of nodes
// pods can be stopped for an update at any given time. The update starts
// that should be running the daemon pod (i.e. DesiredNumberScheduled in
// by stopping at most 30% of the currently running DaemonSet pods and then
// DaemonSetStatus) can have their pods stopped for an update at any given
// brings up new DaemonSet pods in their place. Once the new pods are ready,
// time. The update starts by stopping at most 30% of those DaemonSet pods
// it then proceeds onto other DaemonSet pods, thus ensuring that at least
// and then brings up new DaemonSet pods in their place. Once the new pods
// 70% of original number of DaemonSet pods are available at all times
// are available, it then proceeds onto other DaemonSet pods, thus ensuring
// during the update.
// that at least 70% of original number of DaemonSet pods are available at
// all times during the update.
// +optional
// +optional
MaxUnavailable
*
intstr
.
IntOrString
`json:"maxUnavailable,omitempty" protobuf:"bytes,1,opt,name=maxUnavailable"`
MaxUnavailable
*
intstr
.
IntOrString
`json:"maxUnavailable,omitempty" protobuf:"bytes,1,opt,name=maxUnavailable"`
}
}
...
@@ -434,7 +435,7 @@ type DaemonSetSpec struct {
...
@@ -434,7 +435,7 @@ type DaemonSetSpec struct {
// +optional
// +optional
UpdateStrategy
DaemonSetUpdateStrategy
`json:"updateStrategy,omitempty" protobuf:"bytes,3,opt,name=updateStrategy"`
UpdateStrategy
DaemonSetUpdateStrategy
`json:"updateStrategy,omitempty" protobuf:"bytes,3,opt,name=updateStrategy"`
//
MinReadySeconds
minimum number of seconds for which a newly created DaemonSet pod should
//
The
minimum number of seconds for which a newly created DaemonSet pod should
// be ready without any of its container crashing, for it to be considered
// be ready without any of its container crashing, for it to be considered
// available. Defaults to 0 (pod will be considered available as soon as it
// available. Defaults to 0 (pod will be considered available as soon as it
// is ready).
// is ready).
...
...
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