Distributed .NET microservices architecture with Kubernetes in the cloud
summary
Creates a Kubernetes cluster on AWS with kube-up and kubectl, builds a Docker image pushed to Docker Hub, and deploys an F# service on port 3000 behind a LoadBalancer service mapped to port 80. Adds a Cassandra replication controller and service (Cassandra listens on 9042), scales replicas (example of three replicas), checks logs and uses kubectl rollouts and rollbacks; the deployed F# service queries Cassandra and returns the expected count (demo shows 2), so the end-to-end deployment works.
AI-written summary · about
chapters (27)
- 0:00Introduction and speaker intro
- 0:21Talk overview and architecture basics
- 1:03Challenges beyond application code
- 2:04Monolith to microservices transition
- 2:47Kubernetes primitives overview
- 4:14Pods and their ephemeral nature
- 5:00Replication controllers and replica sets
- 6:05Deployments and rolling updates
- 7:32Canary deployments and rollbacks
- 8:13Services, jobs, and secrets
- 9:18When to use Kubernetes
- 10:00Kubernetes vs microservices paradigm
- 10:22Creating a cloud cluster
- 12:07Deploying F# service to Kubernetes
- 13:34Containerizing F# application
- 14:37Replication controller configuration
- 15:19Deploying and verifying replication controller
- 16:04Creating a load balancer service
- 17:27Accessing the F# service externally
- 17:49Integrating Cassandra with F# service
- 20:24Deploying Cassandra cluster
- 21:07Verifying F# and Cassandra integration
- 21:54External access to F# service
- 22:15Local access to Cassandra cluster
- 23:02Testing the full system
- 23:23Next steps and future enhancements
- 24:04Q&A and closing
