Enhancement: Deploy k8s-infra through the control-plane VIP #61

Merged
claude-bot Bot merged 1 commits from enhancement/k8s-infra-control-plane-vip into main 2026-11-23 02:22:47 +01:00

What changed

The k8s-infra Kubernetes provider now uses a fixed clusterIdentifier instead of ignoreChanges: ["kubeconfig"]. Deploying this updates the provider from master-1 (.140) to the control-plane VIP (.147).

Why

Deploys depended on master-1 being up. Without an identifier, Pulumi treats a new API address as a different cluster and replaces every resource, including Longhorn. The identifier was added to this stack's state first, so this change does not trigger a replacement.

Preview

k8s-infra: 1 to update (the provider), 28 unchanged, 0 replacements. Typecheck passes.

This is the last stack to move. k8s-apps and monitoring already deploy through the VIP.

## What changed The `k8s-infra` Kubernetes provider now uses a fixed `clusterIdentifier` instead of `ignoreChanges: ["kubeconfig"]`. Deploying this updates the provider from master-1 (`.140`) to the control-plane VIP (`.147`). ## Why Deploys depended on master-1 being up. Without an identifier, Pulumi treats a new API address as a different cluster and replaces every resource, including Longhorn. The identifier was added to this stack's state first, so this change does not trigger a replacement. ## Preview `k8s-infra`: 1 to update (the provider), 28 unchanged, 0 replacements. Typecheck passes. This is the last stack to move. `k8s-apps` and `monitoring` already deploy through the VIP.
claude-bot Bot added 1 commit 2026-11-23 02:21:34 +01:00
enhancement(k8s-infra): deploy through the control-plane VIP
Deploy k8s Infra / Pulumi Deploy (pull_request) Skipped
Deploy k8s Infra / Pulumi Preview (pull_request) Successful in 46s
Secret Scan / Betterleaks (pull_request) Successful in 5s
46b6593682
Deploys depended on master-1 being up. A fixed clusterIdentifier lets the provider move to the VIP as an update, because Pulumi otherwise treats a new API address as a different cluster and replaces every resource. The identifier was added to the stack state first so this change does not itself trigger a replacement.
claude-bot Bot merged commit 17648b53ae into main 2026-11-23 02:22:47 +01:00
Sign in to join this conversation.