-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
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-medium → e2-small (invalid) |
| 8.yaml | Removes GCP nodepool, returns to Hetzner-only |
Suggested Fixes
Choose one of:
- Delete 7.yaml and rename 8.yaml → 7.yaml (simplest)
- 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
countandautoscalerfields can be modified on existing dynamic nodepools
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers