summaryrefslogtreecommitdiff
path: root/build/crds/operations/operations_v1alpha1_nodeupgradejob.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'build/crds/operations/operations_v1alpha1_nodeupgradejob.yaml')
-rw-r--r--build/crds/operations/operations_v1alpha1_nodeupgradejob.yaml108
1 files changed, 57 insertions, 51 deletions
diff --git a/build/crds/operations/operations_v1alpha1_nodeupgradejob.yaml b/build/crds/operations/operations_v1alpha1_nodeupgradejob.yaml
index 130df65ac..958272424 100644
--- a/build/crds/operations/operations_v1alpha1_nodeupgradejob.yaml
+++ b/build/crds/operations/operations_v1alpha1_nodeupgradejob.yaml
@@ -36,12 +36,22 @@ spec:
spec:
description: Specification of the desired behavior of NodeUpgradeJob.
properties:
+ checkItems:
+ description: CheckItems specifies the items need to be checked before
+ the task is executed. The default CheckItems value is nil.
+ items:
+ type: string
+ type: array
concurrency:
description: Concurrency specifies the max number of edge nodes that
can be upgraded at the same time. The default Concurrency value
is 1.
format: int32
type: integer
+ failureTolerate:
+ description: FailureTolerate specifies the task tolerance failure
+ ratio. The default FailureTolerate value is 0.1.
+ type: string
image:
description: 'Image specifies a container image name, the image contains:
keadm and edgecore. keadm is used as upgradetool, to install the
@@ -111,75 +121,71 @@ spec:
job. Default to 300. If set to 0, we'll use the default value 300.
format: int32
type: integer
- upgradeTool:
- description: UpgradeTool is a request to decide use which upgrade
- tool. If it is empty, the upgrade job simply use default upgrade
- tool keadm to do upgrade operation.
- type: string
version:
type: string
type: object
status:
description: Most recently observed status of the NodeUpgradeJob.
properties:
- state:
- description: 'State represents for the state phase of the NodeUpgradeJob.
- There are three possible state values: "", upgrading and completed.'
- enum:
- - upgrading
- - completed
+ action:
+ description: 'Action represents for the action of the ImagePrePullJob.
+ There are two possible action values: Success, Failure.'
type: string
- status:
+ currentVersion:
+ description: CurrentVersion represents for the current status of the
+ EdgeCore.
+ type: string
+ event:
+ description: 'Event represents for the event of the ImagePrePullJob.
+ There are six possible event values: Init, Check, BackUp, Upgrade,
+ TimeOut, Rollback.'
+ type: string
+ historicVersion:
+ description: HistoricVersion represents for the historic status of
+ the EdgeCore.
+ type: string
+ nodeStatus:
description: Status contains upgrade Status for each edge node.
items:
- description: UpgradeStatus stores the status of Upgrade for each
- edge node.
+ description: TaskStatus stores the status of Upgrade for each edge
+ node.
properties:
- history:
- description: History is the last upgrade result of the edge
- node.
- properties:
- fromVersion:
- description: FromVersion is the version which the edge node
- is upgraded from.
- type: string
- historyID:
- description: HistoryID is to uniquely identify an Upgrade
- Operation.
- type: string
- reason:
- description: Reason is the error reason of Upgrade failure.
- If the upgrade is successful, this reason is an empty
- string.
- type: string
- result:
- description: Result represents the result of upgrade.
- enum:
- - upgrade_success
- - upgrade_failed_rollback_success
- - upgrade_failed_rollback_failed
- type: string
- toVersion:
- description: ToVersion is the version which the edge node
- is upgraded to.
- type: string
- upgradeTime:
- description: UpgradeTime is the time of this Upgrade.
- type: string
- type: object
+ action:
+ description: 'Action represents for the action of the ImagePrePullJob.
+ There are three possible action values: Success, Failure,
+ TimeOut.'
+ type: string
+ event:
+ description: 'Event represents for the event of the ImagePrePullJob.
+ There are three possible event values: Init, Check, Pull.'
+ type: string
nodeName:
description: NodeName is the name of edge node.
type: string
+ reason:
+ description: Reason represents for the reason of the ImagePrePullJob.
+ type: string
state:
description: 'State represents for the upgrade state phase of
- the edge node. There are three possible state values: "",
- upgrading and completed.'
- enum:
- - upgrading
- - completed
+ the edge node. There are several possible state values: "",
+ Upgrading, BackingUp, RollingBack and Checking.'
+ type: string
+ time:
+ description: Time represents for the running time of the ImagePrePullJob.
type: string
type: object
type: array
+ reason:
+ description: Reason represents for the reason of the ImagePrePullJob.
+ type: string
+ state:
+ description: 'State represents for the state phase of the NodeUpgradeJob.
+ There are several possible state values: "", Upgrading, BackingUp,
+ RollingBack and Checking.'
+ type: string
+ time:
+ description: Time represents for the running time of the ImagePrePullJob.
+ type: string
type: object
type: object
served: true