-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support Suspended state for MonoVertexRollout
Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
- Loading branch information
Showing
3 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
...omizations/numaplane.numaproj.io/MonoVertexRollout/testdata/MonoVertexRollout/paused.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
apiVersion: numaplane.numaproj.io/v1alpha1 | ||
kind: MonoVertexRollout | ||
metadata: | ||
annotations: | ||
kubectl.kubernetes.io/last-applied-configuration: | | ||
{"apiVersion":"numaplane.numaproj.io/v1alpha1","kind":"MonoVertexRollout","metadata":{"annotations":{},"name":"my-monovertex","namespace":"example-namespace"},"spec":{"monoVertex":{"spec":{"lifecycle":{"desiredPhase":"Paused"},"sink":{"udsink":{"container":{"image":"quay.io/numaio/numaflow-java/simple-sink:stable"}}},"source":{"transformer":{"container":{"image":"quay.io/numaio/numaflow-rs/source-transformer-now:stable"}},"udsource":{"container":{"image":"quay.io/numaio/numaflow-java/source-simple-source:stable"}}}}}}} | ||
creationTimestamp: "2024-10-29T20:44:33Z" | ||
finalizers: | ||
- numaplane.numaproj.io/numaplane-controller | ||
generation: 3 | ||
name: my-monovertex | ||
namespace: example-namespace | ||
resourceVersion: "295152" | ||
uid: b1bc7ad6-4ffe-44e5-ad1f-57455f96921d | ||
spec: | ||
monoVertex: | ||
metadata: {} | ||
spec: | ||
lifecycle: | ||
desiredPhase: Paused | ||
sink: | ||
udsink: | ||
container: | ||
image: quay.io/numaio/numaflow-java/simple-sink:stable | ||
source: | ||
transformer: | ||
container: | ||
image: quay.io/numaio/numaflow-rs/source-transformer-now:stable | ||
udsource: | ||
container: | ||
image: quay.io/numaio/numaflow-java/source-simple-source:stable | ||
status: | ||
conditions: | ||
- lastTransitionTime: "2024-10-29T20:44:33Z" | ||
message: Successful | ||
observedGeneration: 3 | ||
reason: Successful | ||
status: "True" | ||
type: ChildResourceDeployed | ||
- lastTransitionTime: "2024-10-29T20:44:59Z" | ||
message: MonoVertex Pausing - health unknown | ||
observedGeneration: 3 | ||
reason: MonoVertexUnknown | ||
status: Unknown | ||
type: ChildResourcesHealthy | ||
- lastTransitionTime: "2024-10-29T20:44:58Z" | ||
message: MonoVertex paused | ||
observedGeneration: 3 | ||
reason: MonoVertexPaused | ||
status: "True" | ||
type: MonoVertexPausingOrPaused | ||
message: Deployed | ||
nameCount: 1 | ||
observedGeneration: 3 | ||
phase: Deployed |