Skip to content

Updates to the controller logic to better handle failures in etc updates #424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions config/crd/bases/mcad.ibm.com_appwrappers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
Expand Down Expand Up @@ -778,6 +776,10 @@ spec:
QueueJob (by Informer)
format: date-time
type: string
controllerfirstdispatchtimestamp:
description: Microsecond level timestamp when controller first dispatches appwrapper
format: date-time
type: string
failed:
description: The number of resources which reached phase Failed.
format: int32
Expand All @@ -790,8 +792,7 @@ spec:
description: Is Dispatched?
type: boolean
local:
description: Indicate if message is a duplicate (for Informer to recognize
duplicate messages)
description: Indicate if message is a duplicate (for Informer to recognize duplicate messages)
type: boolean
message:
type: string
Expand All @@ -800,15 +801,13 @@ spec:
format: int32
type: integer
queuejobstate:
description: State of QueueJob - Init, Queueing, HeadOfLine, Rejoining,
...
description: State of QueueJob - Init, Queueing, HeadOfLine, Rejoining ...
type: string
running:
format: int32
type: integer
sender:
description: Indicate sender of this message (extremely useful for
debugging)
description: Indicate sender of this message (extremely useful for debugging)
type: string
state:
description: State - Pending, Running, Failed, Deleted
Expand All @@ -828,3 +827,6 @@ spec:
type: object
served: true
storage: true
subresources:
status: {}

18 changes: 10 additions & 8 deletions deployment/mcad-controller/crds/mcad.ibm.com_appwrappers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
Expand Down Expand Up @@ -778,6 +776,10 @@ spec:
QueueJob (by Informer)
format: date-time
type: string
controllerfirstdispatchtimestamp:
description: Microsecond level timestamp when controller first dispatches appwrapper
format: date-time
type: string
failed:
description: The number of resources which reached phase Failed.
format: int32
Expand All @@ -790,8 +792,7 @@ spec:
description: Is Dispatched?
type: boolean
local:
description: Indicate if message is a duplicate (for Informer to recognize
duplicate messages)
description: Indicate if message is a duplicate (for Informer to recognize duplicate messages)
type: boolean
message:
type: string
Expand All @@ -800,15 +801,13 @@ spec:
format: int32
type: integer
queuejobstate:
description: State of QueueJob - Init, Queueing, HeadOfLine, Rejoining,
...
description: State of QueueJob - Init, Queueing, HeadOfLine, Rejoining ...
type: string
running:
format: int32
type: integer
sender:
description: Indicate sender of this message (extremely useful for
debugging)
description: Indicate sender of this message (extremely useful for debugging)
type: string
state:
description: State - Pending, Running, Failed, Deleted
Expand All @@ -828,3 +827,6 @@ spec:
type: object
served: true
storage: true
subresources:
status: {}

Loading