Software Alternatives & Reviews

How to Deploy and Scale Strapi on a Kubernetes Cluster 1/2

Yarn Node.js Azure Kubernetes Service (AKS) kubernetes-deploy Helm.sh Google Kubernetes Engine AWS Secrets Manager
  1. 1
    Yarn is a package manager for your code.
    Pricing:
    • Open Source

    #Front End Package Manager #Package Manager #JS Build Tools 107 social mentions

  2. Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications

    #Runtime #JavaScript Runtime #JavaScript 788 social mentions

  3. Container Management

    #DevOps Tools #Developer Tools #Containers As A Service 5 social mentions

  4. #Kubernetes: open source production-grade container orchestration management. #CNCF #K8s
    So now, we need a Deployment for our database. Technically speaking, you could also deploy a database using a StatefulSet. Still, I'm leaving that debate for another day (or you can also check this blog in case you are curious). So let's write the deployment file and ensure it uses the proper ConfigMap and Secret. If you remember, back from our docker-compose file, the DB section used a docker volume to write its data, so we need something similar here. We can achieve basic storage with Persistent Volumes and Persistent Volume Claims, but this is a very complicated topic that we'll expand on later in this article. Let's create the file db.yaml inside our k8s folder, with the following content:.

    #Developer Tools #DevOps Tools #Monitoring Tools 47 social mentions

  5. The Kubernetes Package Manager
    Pricing:
    • Open Source
    To take our journey one step further, we need the help of a very important tool in the K8s world: Helm. From their website: "Helm helps you manage Kubernetes applications — Helm Charts helps you define, install, and upgrade even the most complex Kubernetes application." Therefore, we need a "helm chart" to improve our deployment.

    #Developer Tools #DevOps Tools #Containers As A Service 134 social mentions

  6. Google Kubernetes Engine is a powerful cluster manager and orchestration system for running your Docker containers. Set up a cluster in minutes.

    #Developer Tools #Containers As A Service #DevOps Tools 42 social mentions

  7. AWS Secrets Manager to Rotate, Manage, Retrieve Secrets
    Store the Secrets in a vault like Hashicorp Vault, AWS Secrets Manager, GCP Secret Manager, etc., and then use an operator like External Secrets Operator to add them to your K8s cluster.

    #Identity And Access Management #Identity Provider #SSO 67 social mentions

Discuss: How to Deploy and Scale Strapi on a Kubernetes Cluster 1/2

Log in or Post with