Skip to content

Conversation

@asahay19
Copy link

Starting from OpenShift 4.21 (Kubernetes 1.34), beta APIs are disabled by default.This PR migrates all DRA test code from resource.k8s.io/v1beta1 to resource.k8s.io/v1

Changes include:

  • Updated all Go imports and client calls
  • Restructured DeviceRequest to use the new Exactly field
  • Updated Device struct access (removed Basic field)
  • Migrated YAML test manifests to v1 API
  • Updated JSON configs in MPS and time-slicing tests
  • Tested against: OpenShift 4.21+ cluster with beta APIs disabled
  • Relates to: [WIP] DRA e2e test to validate Nvidia gpu openshift/origin#29842

@tkashem tkashem merged commit 30687f9 into tkashem:dra-test Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants