dra-example-driver icon indicating copy to clipboard operation
dra-example-driver copied to clipboard

Add KEP-4680 device health reporting with message field support

Open harche opened this issue 1 month ago • 3 comments

Add KEP-4680 device health reporting with message field support

% kubectl get pod pod0 -n gpu-test1 -o yaml | grep -A 5 "allocatedResourcesStatus"

  - allocatedResourcesStatus:
    - name: claim:gpu
      resources:
      - health: Unhealthy
        message: gpu-0 initiating recovery sequence (diagnostics in progress)
        resourceID: k8s.gpu.example.com/gpu=common
% kubectl get pod pod0 -n gpu-test1 -o yaml | grep -A 5 "allocatedResourcesStatus"

- allocatedResourcesStatus:
  - name: claim:gpu
    resources:
    - health: Healthy
      message: gpu-0 recovered successfully, all diagnostics passed
      resourceID: k8s.gpu.example.com/gpu=common

harche avatar Nov 11 '25 17:11 harche

Welcome @harche!

It looks like this is your first PR to kubernetes-sigs/dra-example-driver 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/dra-example-driver has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. :smiley:

k8s-ci-robot avatar Nov 11 '25 17:11 k8s-ci-robot

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: harche Once this PR has been reviewed and has the lgtm label, please assign klueska for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

k8s-ci-robot avatar Nov 11 '25 17:11 k8s-ci-robot

/hold for the implementation PRs to merge,

https://github.com/kubernetes/enhancements/issues/4680#issuecomment-3517731091

harche avatar Nov 11 '25 17:11 harche