Live battle-test · Python API

FastAPI on one universal chart.

Containerized Python API with probes, resources, GitOps promotion, and a KGateway HTTPS route.

01 · Build

Kaniko builds commit 89519649f849 in the Kubernetes GitLab Runner.

02 · Promote

CI updates the environment values; Argo CD reconciles the release.

03 · Result

KGateway serves the health endpoint over wildcard TLS with HTTP 200.

values.yaml

application:
  image: registry.networkcat89.com/testingorg/battle-fastapi
  imageTag: 89519649f849f817d9afab74e3f7bb7609b06bae
  imagePullSecrets:
    - name: battle-test-registry
  service:
    port: 8080
  route:
    enabled: true
    gateway: external
    gatewayNamespace: kgateway-system
    sectionName: https-wildcard
    hostname: battle-fastapi-dev.networkcat89.com
  readinessProbe:
    httpGet:
      path: /health
      port: http

Live result

dev

battle-fastapi-dev.networkcat89.com

HTTPS /health · 200
Argo CD: Synced / Healthy
HTTPRoute: Accepted / ResolvedRefs

prod

battle-fastapi-prod.networkcat89.com

HTTPS /health · 200
Argo CD: Synced / Healthy
HTTPRoute: Accepted / ResolvedRefs

Source

Open battle-fastapi in GitLab ↗ · Universal Helm Chart on GitHub ↗