Andy Suderman, CTO of Fairwinds, talks about standing up a kubernetes cluster. Topics include build-your-own versus managed clusters, determining number of clusters needed, best practices for automation, customizations and opinionation of cloud service providers, CI and monitoring on same cluster, integrating stateful services, kubernetes secrets, container-network interface, and provisioning external DNS and TLS certificates for cluster services.
Read more
AI Summary
AI Chapters
Episode notes
auto_awesome
Podcast summary created with Snipd AI
Quick takeaways
Consider the complexity and control needed before migrating to Kubernetes, alternatives like Cloud Run or Fargate may be more suitable for simple applications.
For medium-sized organizations, having two clusters (one for non-production and one for production) is sufficient, as Kubernetes provides built-in tools for workload segmentation and access control.
Running Kubernetes across regions is generally not recommended due to network transit issues, it is usually recommended to have one cluster per region when running products across multiple regions for scalability and network topology reasons.
Deep dives
Kubernetes as a Container Orchestrator
Kubernetes is described as a container orchestrator that allows for running containers across multiple machines, providing an API to define the desired state of containers. It simplifies container management and provides control over how containers are run.
Considerations for Adopting Kubernetes
Before migrating to Kubernetes, organizations should consider the complexity and control they need. If they only have one app and don't require extensive customization, alternatives like Cloud Run or Fargate may be more suitable. Organizations should weigh the balance of complexity and features provided by Kubernetes before making a decision.
Determining the Number of Clusters
For most medium-sized organizations, having two clusters (one for non-production and one for production) is sufficient. Creating additional clusters is generally unnecessary, as Kubernetes offers built-in tools for segmenting workloads and controlling access without the need for separate clusters.
Running Kubernetes in Multiple Regions
While Kubernetes supports running multiple availability zones within a region, running it across regions is generally not recommended due to network transit issues. It is usually recommended to have one cluster per region when running products across multiple regions for scalability and network topology reasons.
Segmenting Workloads and Using External Tools
In terms of workload segmentation, it is common for medium to large-sized organizations to run multiple products on a single production cluster. Workload segmentation can be achieved using namespaces and separate node groups, with each product having its own AWS account for better cost allocation. Additionally, using external tools like DataDog and CircleCI instead of running them within Kubernetes can simplify management and reduce complexity.
Andy Suderman, CTO of Fairwinds, joins host Robert Blumen to talk about standing up a kubernetes cluster. Their discussion covers build-your-own versus managed clusters provided by cloud services, and how to determine the number of kubernetes clusters an organization needs. Andy describes best practices for automating cluster provisioning, and offers recommendations about customizations and opinionation of cloud service providers, choice of container registry, and whether you should run complementary services such as CI and monitoring on the same cluster. The episode also examines the day 0/day 1/day 2 lifecycle, cluster auto-scaling at the cloud service level, integrating stateful services and other cloud services into your cluster, and kubernetes secrets and alternatives. Finally, they consider the container-network interface (CNI), ingress and load balancers, and provisioning external DNS and TLS certificates for cluster services.
Get the Snipd podcast app
Unlock the knowledge in podcasts with the podcast player of the future.
AI-powered podcast player
Listen to all your favourite podcasts with AI-powered features
Discover highlights
Listen to the best highlights from the podcasts you love and dive into the full episode
Save any moment
Hear something you like? Tap your headphones to save it with AI-generated key takeaways
Share & Export
Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more
AI-powered podcast player
Listen to all your favourite podcasts with AI-powered features
Discover highlights
Listen to the best highlights from the podcasts you love and dive into the full episode