Upgrade to Pro — share decks privately, control downloads, hide ads and more …

KCD Colombia - From 0 to Production with Kubern...

KCD Colombia - From 0 to Production with Kubernetes Native Development

Avatar for Kevin Dubois

Kevin Dubois

August 29, 2025
Tweet

More Decks by Kevin Dubois

Other Decks in Technology

Transcript

  1. kevindubois Kevin Dubois ★ Sr. Principal Developer Advocate at ★

    Technical Lead, CNCF DevEx TAG ★ Java Champion ★ From Belgium / Live in Switzerland ★ English, Dutch, French, Italian youtube.com/@thekevindubois linkedin.com/in/kevindubois github.com/kdubois @kevindubois.com
  2. apiVersion: v1 kind: Service metadata: name: kubenative spec: ports: -

    name: http port: 80 protocol: TCP targetPort: 8080 selector: app.kubernetes.io/name: kubenative apiVersion: apps/v1 kind: Deployment metadata: name: kubenative spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: kubenative template: spec: containers: - image: quay.io/kevin/demo name: kubenative ports: - containerPort: 8080 name: http protocol: TCP @kevindubois.com
  3. After 2.6s (Kafka, DB, Caching) App is ready to receive

    traffic Container Running Sends traffic App not ready Ready??
  4. readinessProbe: failureThreshold: 3 httpGet: path: /q/health/ready port: 8080 scheme: HTTP

    initialDelaySeconds: 5 livenessProbe: failureThreshold: 3 httpGet: path: /q/health/live port: 8080 scheme: HTTP initialDelaySeconds: 5 Readiness, Liveness, Startup Probes
  5. containers: - name: nginx-container image: nginx:latest ports: - containerPort: 80

    volumes: - name: secret-volume secret: secretName: your-secret-name Kubernetes Secrets & ConfigMaps kind: ConfigMap apiVersion: v1 metadata: name: properties immutable: false data: 'kafka-servers': kafka-bootstrap:9092 kind: Secret apiVersion: v1 metadata: name: postgresql data: database-name: xyz database-password: xyz database-user: xyz type: Opaque