Skip to content

Put the ownership labels on auth pods - #20

Closed
bulbashenko wants to merge 1 commit into
mainfrom
pod-labels
Closed

bulbashenko wants to merge 1 commit into
mainfrom
pod-labels

Conversation

@bulbashenko

Copy link
Copy Markdown
Collaborator

Part of bulbashenko-com/infra#90 (auth pods).

Kustomize labels with includeTemplates: true and includeSelectors: false. In kubectl kustomize ., every pod template (hydra, keto, kratos, oathkeeper, sso-ui, Job hydra-clients) gets bulbashenko.com/layer=app and bulbashenko.com/app=auth. Selectors do not change.

On deploy:

  • Deployments roll: one replica each, maxSurge 1, so the new pod comes up before the old one stops;
  • the hydra-clients Job is recreated thanks to kustomize.toolkit.fluxcd.io/force.

🤖 Generated with Claude Code

Flux commonMetadata labels the objects from this repo but not their pod
templates, so kube_pod_labels has no bulbashenko.com/* for auth and the
"Главное" dashboard cannot group its CPU and memory. Selectors are left
alone, so the Deployments are updated in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bulbashenko

Copy link
Copy Markdown
Collaborator Author

Merged into a single PR: cleanup-2026-10-14.

@bulbashenko
bulbashenko deleted the pod-labels branch October 14, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant