Skip to content

v1beta2 migration script - support large scale #9094

@mimowo

Description

@mimowo

What would you like to be added:

We have an issue using the mitigation script at large scale. https://raw.githubusercontent.com/kubernetes-sigs/kueue/main/hack/migrate-to-v1beta2.sh

The error we were getting:

Migrating workloads.kueue.x-k8s.io...
Error from server: conversion webhook for kueue.x-k8s.io/v1beta1, Kind=Workload failed: Post "[https://kueue-webhook-service.kueue-system.svc:443/convert?timeout=30s](https://kueue-webhook-service.kueue-system.svc/convert?timeout=30s)": EOF

We were successful to migrate by splitting running the script namespace-by-namespace.

We may also need to do paging better, but maybe namespace-by-namespace is enough.

Why is this needed:

To support migrating to v1beta2 for large evironments.

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions