TypeScript and Kubernetes: Building Cloud Applications
300 pages
English
PDF
4.5

TypeScript and Kubernetes: Building Cloud Applications

TypeScript and Kubernetes: Building Cloud Applications

Author:

Year:

Summary:

This book is a practical guide for developers who want to master a modern stack: TypeScript for writing server-side code and Kubernetes for managing containerized applications. You will learn how to create scalable, fault-tolerant microservices and automate their deployment.



Who this book is for:

  • TypeScript/Node.js developers looking to transition to a microservice architecture.
  • DevOps engineers who want to deepen their understanding of the TypeScript ecosystem.
  • Full-stack developers aiming to automate the deployment of their projects.
  • Anyone who wants to learn Kubernetes through practical examples written in TypeScript.


What you will learn:

  • TypeScript fundamentals for server-side development: types, interfaces, decorators.
  • Creating REST APIs and gRPC services in TypeScript using Nest.js or Express.
  • Containerizing applications with Docker: writing multi-stage Dockerfiles for Node.js.
  • Installing and configuring a Kubernetes cluster (Minikube, kind, cloud solutions).
  • Creating Pod, Deployment, Service, Ingress — all key K8s resources.
  • Managing configurations and secrets: ConfigMap, Secrets.
  • Deploying databases (PostgreSQL, Redis) in Kubernetes.
  • Setting up CI/CD pipelines with GitHub Actions and GitOps (ArgoCD).
  • Monitoring and logging: Prometheus, Grafana, Loki.
  • Advanced techniques: Helm charts, Custom Resource Definitions (CRD), operators.


Book features:

  • All code examples are available for download and fully functional.
  • Step-by-step instructions with explanations — no "magic".
  • Real-world cases: from a simple web application to a microservice architecture with event-driven communication.
  • Optimization tips: how to reduce image size, speed up builds, and lower cluster costs.


The book is suitable both for Kubernetes beginners (only basic knowledge of TypeScript and the command line is required) and for experienced developers who want to systematize their knowledge and learn the best practices of 2024.



By the end of the book, you will be able to independently design, write, and deploy a production-grade TypeScript application in Kubernetes, configure its monitoring and automatic scaling.

Recommendations