Skip to content

Fix invalid serverType change in proxy-with-hetzner test set #1953

@samuelstolicny

Description

@samuelstolicny

Problem

The test file manifests/testing-framework/test-sets/proxy-with-hetzner/7.yaml attempts to change the serverType of an existing dynamic nodepool, which violates the immutability constraint introduced for dynamic nodepools.

Error

ERR immutability check for dynamic nodepools failed error="dynamic nodepools are immutable, changing the server type for gcp-cmpt-nodes is not allowed, only 'count' and autoscaling' fields are allowed to be modified, consider creating a new nodepool"

Test Progression

File Change
5.yaml Adds gcp-cmpt-nodes with serverType: e2-medium, count: 1
6.yaml Scales gcp-cmpt-nodes count: 1 → 2
7.yaml ❌ Tries to change serverType: e2-mediume2-small (invalid)
8.yaml Removes GCP nodepool, returns to Hetzner-only

Suggested Fixes

Choose one of:

  1. Delete 7.yaml and rename 8.yaml → 7.yaml (simplest)
  2. Modify 7.yaml to test a valid operation:
    • Scale count down (2 → 1)
    • Add autoscaler configuration
    • Keep identical to 6.yaml (no-op test)

Reference

  • Immutability check: services/claudie-operator/pkg/controller/controller.go:358-386
  • Only count and autoscaler fields can be modified on existing dynamic nodepools

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions