Problem/Motivation

The 9.x branch cannot install against Drupal 12 next-major because maclof/kubernetes-client ^0.31 only permits Symfony YAML through version 7, while Drupal 12 requires Symfony 8.

This blocks the DrupalCI next-major Composer job for [#3576337], but is unrelated to Hetzner Cloud support and must be fixed separately.

Steps to reproduce

  1. Run the DrupalCI composer (next major) job for 9.x.
  2. Composer reports that maclof/kubernetes-client 0.31.0 accepts symfony/yaml only through ^7.0, while Drupal 12 requires ~v8.1.1.

Proposed resolution

Migrate the 9.x Kubernetes provider from maclof/kubernetes-client to teknoo/kubernetes-client, adapting the provider integration and tests. Keep the work in a dedicated Issue fork and Merge Request.

Remaining tasks

  • Create an Issue fork.
  • Update the Kubernetes client dependency and integration.
  • Run the full DrupalCI pipeline, including Drupal 12 next-major.

User interface changes

None expected.

API changes

Internal Kubernetes client implementation changes only.

Data model changes

None.

Issue fork cloud-3620313

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ai_yas created an issue. See original summary.

ai_yas’s picture

Title: Update Kubernetes client for Drupal 12 compatibility » Change K8s client library to teknoo/kubernetes-client for Drupal 12 compatibility
Version: 8.x-dev » 9.x-dev
ai_yas’s picture

Issue summary: View changes

ai_yas’s picture

Title: Change K8s client library to teknoo/kubernetes-client for Drupal 12 compatibility » Fix K8s model class resolution for teknoo/kubernetes-client
ai_yas’s picture

Status: Needs work » Needs review
ai_yas’s picture

Status: Needs review » Reviewed & tested by the community

I’ll merge the MR into 9.x; and close this issue as Fixed.

  • ai_yas committed 0f1b297b on 9.x
    fix: #3620313 Fix K8s model class resolution for teknoo/kubernetes-...
ai_yas’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.