CtrlK
BlogDocsLog inGet started
Tessl Logo

nitinjain999/platform-skills

Production-grade platform engineering handbook — Kubernetes, Terraform, Flux CD, GitHub Actions, AWS, and more.

67

Quality

84%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

platform-operating-model.mdreferences/

Platform Operating Model

Contents

  • Scope framing
  • Recommended ownership model
  • Repository topologies
  • Promotion flow
  • Cross-cutting controls

Scope framing

Treat platform work as a product with clear contracts:

  • Platform team owns paved roads, guardrails, templates, and bootstrap systems.
  • Application teams consume those paved roads and only override where the platform contract allows it.
  • Security and compliance controls should be encoded into automation, not left as review-time checklists.

Before designing anything, answer:

  1. Which teams will own the repositories?
  2. Which environments exist and how do changes move between them?
  3. Which system is authoritative for infra, cluster state, and app releases?
  4. Which identities are used by humans, CI, and workloads?

Recommended ownership model

Use layered ownership:

  • platform-foundations: Shared Terraform modules, guardrails, and cloud bootstrap patterns.
  • platform-live: Environment-specific Terraform compositions for accounts, subscriptions, clusters, shared services, and identity wiring.
  • platform-gitops: Flux or Argo CD clusters, apps, platform add-ons, and environment overlays.
  • service repositories: Application code, app manifests or Helm charts, and reusable CI workflows.

This split keeps reusable logic separate from live state and avoids coupling cluster runtime concerns to cloud provisioning changes.

Repository topologies

Prefer one of these shapes:

1. Separate repos per layer

Use for larger organizations.

  • Clear ownership boundaries
  • Independent release cadence
  • Easier access control

2. Monorepo with top-level domains

Use for smaller teams or early-stage platforms.

  • Faster refactoring
  • Simpler discovery
  • More coordination required on CI and CODEOWNERS

Suggested monorepo layout:

terraform/
  modules/
  live/
gitops/
  clusters/
  apps/
github-actions/
  workflows/
docs-or-adr/

Promotion flow

Keep promotion explicit and Git-based:

  1. Validate in pull request with lint, policy, tests, and Terraform plan.
  2. Merge into a lower environment first.
  3. Promote by pull request or release automation that changes version pins or overlay references.
  4. Let Flux or Argo CD reconcile the target cluster after merge.
  5. Use rollback by reverting the Git change, not by making manual cluster edits.

Do not promote by copying YAML between folders manually when automation can update version references or Kustomize/Helm values deterministically.

Cross-cutting controls

Apply these defaults:

  • Identity: OIDC for CI, workload identity for in-cluster software, SSO for humans.
  • Secrets: Prefer external secret managers over raw Kubernetes secrets in Git.
  • Policy: Run Terraform and Kubernetes policy checks in CI before merge.
  • Observability: Platform repos should define baseline metrics, logs, alerts, and ownership metadata.
  • Governance: Use CODEOWNERS and protected branches to separate approval paths for foundations versus app delivery.

BEFORE_AFTER.md

CHANGELOG.md

CODE_OF_CONDUCT.md

COMMANDS.md

CONTRIBUTING.md

EDITOR_INTEGRATIONS.md

GETTING_STARTED.md

HOW_IT_WORKS.md

install.sh

INSTALLATION.md

LAUNCH.md

PROMPTS.md

QUICKSTART.md

README.md

renovate.json

SECURITY.md

SKILL.md

tessl.json

tile.json