SlideShare a Scribd company logo
1 of 6
Download to read offline
Kubernetes: Practical Considerations

For Startups
Things to

keep in mind
Kubernetes version updates may break applications due to deprecated APIs.

Don’t try to manage Kubernetes clusters by yourself using kubeadm unless
there is a constraint.

Command-line tools exist to specify the configurations. Terraform modules can
help in provisioning this.
Setup and Maintenance
01 Managed Kubernetes

providers
Your initial setup can be through
managed services by cloud providers 

Amazon EKS, Google GKE, Azure AKS,
DOKS.
02 Kubernetes - 

wrappers
There are some startups moving k8s
under the hood. Automatically
manage Kubernetes pods and
clusters.
Kubernetes:

Practical Considerations For Startups
An Improved Developer
Experience
01 Build
Containerization leads to long build times, especially if there is no
caching enabled for the build. Use podman, kaniko, or similar over
docker for builds.
02 Deploy
The complexity of defining the deployment and maintianing it is
pretty high and requires k8s-specific knowledge. Use tools for
automatic generation of k8s manifests like skaffold, devspace, dokku.
An Improved Developer
Experience
04 Autoscaling
Nodes: The number of EC2 instances required for the application. 

The cluster-autoscaler or karpenter projects are great for this.


Horizontal Scaling: Creating more instances of the application to keep up with
the load. Keda is the tool for this.


Vertical Scaling: Increasing resources available to each instance of the
application based on load.
03 Debug
Replicating bugs from remote environments to local is tough. Tools like
devspace and telepresence help. Sometimes when its needed to login to
the remote container for debugging, you’d want to use a Kubernetes
dashboard - k8s lens, or k8s cli.
Kubernetes:

Practical Considerations For Startups
Kubernetes:

Practical Considerations For Startups
Monitoring Applications
01 Logs
You should avoid directly accessing prod
environments. Prometheus + Grafana + Loki is
the simplest self-hosted solution. Datadog etc.
has excellent experiences but at a (literal) cost.
02 APM + Tracing
Please avoid tool fragmentation by using
the same solution across. The tools
mentioned in the previous point work
just fine for this use case as well.
Things to

keep in mind
Infra monitoring with the right permissions and access control can get
complicated for startups. The container logs from each node are sent to the log
server with appropriate labels, which is a huge advantage in k8s.
Kubernetes:

Practical Considerations For Startups
Setup Evolution
01 Setup multiple clusters across regions and connect them to
operate as a single entity as far as apps are concerned. This
needs a service mesh like linkerd.
02 Setup policy around what resource requirements can be
requested by an app per environment. OPA and gatekeeper or
kyverno can help.
03 Setup access control for who can create or modify apps.
04 Setup a VPN solution.
05 Accrete ~15 tools to help with k8s management over time.
06 Have a dedicated infra team.
Here are some things you will eventually need to do over the next few years.
Kubernetes:

Practical Considerations For Startups
Closing Notes
01 Use Kubernetes as a startup if you have cloud credits and more than 3-5
services, and a couple of environments.
02 Use lambda container images if you have 1-2 services and low utilization.
03 Setup a VPN solution.
04 Kubernetes adoption increases the cloud bill as there is a $72/month cost
associated with just running each cluster on EKS, GKE, or AKS + compute cost.
05 Tools like kubecost could help with reducing the costs by providing visibility into
the utilization of the pods and adjusting resources appropriately.

More Related Content

Similar to Kubernetes for Startups

Similar to Kubernetes for Startups (20)

Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
Building Cloud-Native Applications with Kubernetes, Helm and KubelessBuilding Cloud-Native Applications with Kubernetes, Helm and Kubeless
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
 
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
 
Ultimate Guide to Microservice Architecture on Kubernetes
Ultimate Guide to Microservice Architecture on KubernetesUltimate Guide to Microservice Architecture on Kubernetes
Ultimate Guide to Microservice Architecture on Kubernetes
 
Kubernetes-Fundamentals.pptx
Kubernetes-Fundamentals.pptxKubernetes-Fundamentals.pptx
Kubernetes-Fundamentals.pptx
 
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...
 
OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...
OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...
OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...
 
Future of Kubernetes and its Impact on Technology Industry.pdf
Future of Kubernetes and its Impact on Technology Industry.pdfFuture of Kubernetes and its Impact on Technology Industry.pdf
Future of Kubernetes and its Impact on Technology Industry.pdf
 
Driving Digital Transformation With Containers And Kubernetes Complete Deck
Driving Digital Transformation With Containers And Kubernetes Complete DeckDriving Digital Transformation With Containers And Kubernetes Complete Deck
Driving Digital Transformation With Containers And Kubernetes Complete Deck
 
KubernetesPPT.pptx
KubernetesPPT.pptxKubernetesPPT.pptx
KubernetesPPT.pptx
 
Kubernetes Cheatsheet
Kubernetes CheatsheetKubernetes Cheatsheet
Kubernetes Cheatsheet
 
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
DevOps Days Boston 2017: Real-world Kubernetes for DevOpsDevOps Days Boston 2017: Real-world Kubernetes for DevOps
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
 
Docker Swarm vs. Kubernetes Which is the best
Docker Swarm vs. Kubernetes Which is the bestDocker Swarm vs. Kubernetes Which is the best
Docker Swarm vs. Kubernetes Which is the best
 
Container Orchestration with Docker Swarm and Kubernetes
Container Orchestration with Docker Swarm and KubernetesContainer Orchestration with Docker Swarm and Kubernetes
Container Orchestration with Docker Swarm and Kubernetes
 
Kubernetes in The Enterprise
Kubernetes in The EnterpriseKubernetes in The Enterprise
Kubernetes in The Enterprise
 
oci-container-engine-oke-100.pdf
oci-container-engine-oke-100.pdfoci-container-engine-oke-100.pdf
oci-container-engine-oke-100.pdf
 
Best Kubernetes Consultant In USA.pptx
Best Kubernetes Consultant In USA.pptxBest Kubernetes Consultant In USA.pptx
Best Kubernetes Consultant In USA.pptx
 
AnyMind Group Tech Talk - Microservices architecture with AWS
AnyMind Group Tech Talk - Microservices architecture with AWSAnyMind Group Tech Talk - Microservices architecture with AWS
AnyMind Group Tech Talk - Microservices architecture with AWS
 
Microservices Architecture with AWS @ AnyMind Group
Microservices Architecture with AWS @ AnyMind GroupMicroservices Architecture with AWS @ AnyMind Group
Microservices Architecture with AWS @ AnyMind Group
 
Best online kubernetes course in H2KInfosys.pdf
Best online kubernetes course in H2KInfosys.pdfBest online kubernetes course in H2KInfosys.pdf
Best online kubernetes course in H2KInfosys.pdf
 
Kubernetes.pptx
Kubernetes.pptxKubernetes.pptx
Kubernetes.pptx
 

Recently uploaded

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Recently uploaded (20)

Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 

Kubernetes for Startups

  • 1. Kubernetes: Practical Considerations For Startups Things to keep in mind Kubernetes version updates may break applications due to deprecated APIs. Don’t try to manage Kubernetes clusters by yourself using kubeadm unless there is a constraint. Command-line tools exist to specify the configurations. Terraform modules can help in provisioning this. Setup and Maintenance 01 Managed Kubernetes providers Your initial setup can be through managed services by cloud providers Amazon EKS, Google GKE, Azure AKS, DOKS. 02 Kubernetes - wrappers There are some startups moving k8s under the hood. Automatically manage Kubernetes pods and clusters.
  • 2. Kubernetes: Practical Considerations For Startups An Improved Developer Experience 01 Build Containerization leads to long build times, especially if there is no caching enabled for the build. Use podman, kaniko, or similar over docker for builds. 02 Deploy The complexity of defining the deployment and maintianing it is pretty high and requires k8s-specific knowledge. Use tools for automatic generation of k8s manifests like skaffold, devspace, dokku.
  • 3. An Improved Developer Experience 04 Autoscaling Nodes: The number of EC2 instances required for the application. 
 The cluster-autoscaler or karpenter projects are great for this. Horizontal Scaling: Creating more instances of the application to keep up with the load. Keda is the tool for this. Vertical Scaling: Increasing resources available to each instance of the application based on load. 03 Debug Replicating bugs from remote environments to local is tough. Tools like devspace and telepresence help. Sometimes when its needed to login to the remote container for debugging, you’d want to use a Kubernetes dashboard - k8s lens, or k8s cli. Kubernetes: Practical Considerations For Startups
  • 4. Kubernetes: Practical Considerations For Startups Monitoring Applications 01 Logs You should avoid directly accessing prod environments. Prometheus + Grafana + Loki is the simplest self-hosted solution. Datadog etc. has excellent experiences but at a (literal) cost. 02 APM + Tracing Please avoid tool fragmentation by using the same solution across. The tools mentioned in the previous point work just fine for this use case as well. Things to keep in mind Infra monitoring with the right permissions and access control can get complicated for startups. The container logs from each node are sent to the log server with appropriate labels, which is a huge advantage in k8s.
  • 5. Kubernetes: Practical Considerations For Startups Setup Evolution 01 Setup multiple clusters across regions and connect them to operate as a single entity as far as apps are concerned. This needs a service mesh like linkerd. 02 Setup policy around what resource requirements can be requested by an app per environment. OPA and gatekeeper or kyverno can help. 03 Setup access control for who can create or modify apps. 04 Setup a VPN solution. 05 Accrete ~15 tools to help with k8s management over time. 06 Have a dedicated infra team. Here are some things you will eventually need to do over the next few years.
  • 6. Kubernetes: Practical Considerations For Startups Closing Notes 01 Use Kubernetes as a startup if you have cloud credits and more than 3-5 services, and a couple of environments. 02 Use lambda container images if you have 1-2 services and low utilization. 03 Setup a VPN solution. 04 Kubernetes adoption increases the cloud bill as there is a $72/month cost associated with just running each cluster on EKS, GKE, or AKS + compute cost. 05 Tools like kubecost could help with reducing the costs by providing visibility into the utilization of the pods and adjusting resources appropriately.