Class DaemonSetUpdateStrategy.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.apps.v1.DaemonSetUpdateStrategy.Builder
-
- Enclosing class:
- DaemonSetUpdateStrategy
public static class DaemonSetUpdateStrategy.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DaemonSetUpdateStrategy
build()
DaemonSetUpdateStrategy.Builder
rollingUpdate(RollingUpdateDaemonSet rollingUpdate)
java.lang.String
toString()
DaemonSetUpdateStrategy.Builder
type(java.lang.String type)
Type of daemon set update.
-
-
-
Method Detail
-
rollingUpdate
public DaemonSetUpdateStrategy.Builder rollingUpdate(RollingUpdateDaemonSet rollingUpdate)
- Returns:
this
.
-
type
public DaemonSetUpdateStrategy.Builder type(java.lang.String type)
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.Possible enum values:
- `"OnDelete"` Replace the old daemons only when it's killed
- `"RollingUpdate"` Replace the old daemons by new ones using rolling update i.e replace them on each node one after the other.
- Returns:
this
.
-
build
public DaemonSetUpdateStrategy build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-