Skip to content

Add RPO to Pods Events #107

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Add RPO to Pods Events #107

wants to merge 6 commits into from

Conversation

prsurve
Copy link
Contributor

@prsurve prsurve commented Jun 17, 2025

fixes: #102

prsurve added 2 commits June 18, 2025 00:20
Signed-off-by: prsurve <[email protected]>
Signed-off-by: prsurve <[email protected]>
Copy link
Contributor

openshift-ci bot commented Jun 17, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: prsurve

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@prsurve
Copy link
Contributor Author

prsurve commented Jun 17, 2025

/hold

@prsurve prsurve changed the title Add RPO event pods Add RPO to Pods Events Jun 17, 2025
Signed-off-by: prsurve <[email protected]>
@prsurve
Copy link
Contributor Author

prsurve commented Jun 18, 2025

Verified

Events:
  Type    Reason          Age   From               Message
  ----    ------          ----  ----               -------
  Normal  Scheduled       12m   default-scheduler  Successfully assigned imp-test-rpo-1/busybox-6-788b446fc9-9k7xt to compute-1-ru7.rackm14.mydomain.com
  Normal  AddedInterface  12m   multus             Add eth0 [10.129.3.240/23] from ovn-kubernetes
  Normal  Pulling         12m   kubelet            Pulling image "quay.io/ocsci/rdr-ocs-workload"
  Normal  Pulled          12m   kubelet            Successfully pulled image "quay.io/ocsci/rdr-ocs-workload" in 960ms (960ms including waiting). Image size: 77460204 bytes.
  Normal  Created         12m   kubelet            Created container: init-integrity-check
  Normal  Started         12m   kubelet            Started container init-integrity-check
  Normal  Pulled          12m   kubelet            Container image "quay.io/ocsci/busybox:latest" already present on machine
  Normal  Created         12m   kubelet            Created container: busybox
  Normal  Started         12m   kubelet            Started container busybox
  Normal  Workload RPO    12m   pod-rpo-script     Pod name changed from busybox-6-788b446fc9-tm56j to busybox-6-788b446fc9-9k7xt. Time diff: 6s. 

@prsurve
Copy link
Contributor Author

prsurve commented Jun 18, 2025

$oc get events |grep "Workload RPO"
13m         Normal    Workload RPO             pod/busybox-1-7d5d86756f-8q2zw     Pod name changed from busybox-1-7d5d86756f-625rp to busybox-1-7d5d86756f-8q2zw. Time diff: 334s.
13m         Normal    Workload RPO             pod/busybox-6-788b446fc9-bcm6k     Pod name changed from busybox-6-788b446fc9-d82hh to busybox-6-788b446fc9-bcm6k. Time diff: 343s.
13m         Normal    Workload RPO             pod/busybox-8-6d5fb76f87-lmw8j     Pod name changed from busybox-8-6d5fb76f87-fdfw7 to busybox-8-6d5fb76f87-lmw8j. Time diff: 334s.
13m         Normal    Workload RPO             pod/busybox-5-68c44ccdd7-ztmn9     Pod name changed from busybox-5-68c44ccdd7-7jpdg to busybox-5-68c44ccdd7-ztmn9. Time diff: 338s.
13m         Normal    Workload RPO             pod/busybox-2-8469757587-hwfj7     Pod name changed from busybox-2-8469757587-c2dp8 to busybox-2-8469757587-hwfj7. Time diff: 342s.
13m         Normal    Workload RPO             pod/busybox-9-84458c4d55-pgkh2     Pod name changed from busybox-9-84458c4d55-fxmrx to busybox-9-84458c4d55-pgkh2. Time diff: 337s.
13m         Normal    Workload RPO             pod/busybox-4-d447795f5-t7bxt      Pod name changed from busybox-4-d447795f5-xmjj7 to busybox-4-d447795f5-t7bxt. Time diff: 338s.
13m         Normal    Workload RPO             pod/busybox-10-6bc89bcdbc-qhxgb    Pod name changed from busybox-10-6bc89bcdbc-2hqd6 to busybox-10-6bc89bcdbc-qhxgb. Time diff: 343s.
13m         Normal    Workload RPO             pod/busybox-7-97d57c455-b9x9t      Pod name changed from busybox-7-97d57c455-vhqzr to busybox-7-97d57c455-b9x9t. Time diff: 338s.
12m         Normal    Workload RPO             pod/busybox-3-84886b698c-klhft     Pod name changed from busybox-3-84886b698c-x4wnx to busybox-3-84886b698c-klhft. Time diff: 102s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DD io should post RPO as a event after Failover/Relocate
1 participant