Tag: GKE

  • Kubernetes setting the current namespace

    Kubernetes setting the current namespace

    Kubernetes has become the de facto standard for container orchestration, providing users with robust and efficient tools to manage their containerized applications. One of the essential aspects of Kubernetes is its support for namespaces, which allow for easier organization and management of resources. This article discusses setting the current namespace using the kubectl command-line tool, […]

  • What is a Kubernetes Sidecar Container?

    What is a Kubernetes Sidecar Container?

    One of the most useful patterns in Kubernetes is the Sidecar pattern. But what is a sidecar pattern? Typically a Pod in Kubernetes contains one container only(single container pod). But it is possible for a Pod to contain more than one container. In that case, it is called a multi-container pod.  When another container is […]

  • Reducing 90% in costs with Spot VMs for Machine Learning on Google Kubernetes Engine in GCP

    Reducing 90% in costs with Spot VMs for Machine Learning on Google Kubernetes Engine in GCP

    When running big machine learning training jobs using neural networks, you need a GPU. And let’s be honest, GPUs are expensive and hard to get nowadays with the chip shortage! So it is unlikely that you will have plenty of spare GPUs lying around. This is why it makes sense to rent GPUs on the […]

  • How I migrated all my websites to Google Kubernetes Engine on the cheap using Spot VMs

    How I migrated all my websites to Google Kubernetes Engine on the cheap using Spot VMs

    Today I wanted to share with you a project that has kept me busy throughout the Christmas holidays. I have been migrating all my websites, which were previously scattered across several servers in GCP and AWS to one single cluster using Google Kubernetes Engine.My criteria for this project was to reduce costs as much as […]

  • Kubernetes Commands Cheat Sheet

    Kubernetes Commands Cheat Sheet

    This is part of my Kubernetes cheat sheet. How to restart a Pod in Kubernetes I often want to restart pods without actually having to deploy anything. It can be done quite easily with the kubectl command. To restart a Kubernetes pod, you just need to: How to delete evicted Pods from a namespace This […]

  • Why are Kubernetes Health Checks useful and, what happens if you don’t have them?

    Why are Kubernetes Health Checks useful and, what happens if you don’t have them?

    Kubernetes Health checks, what are they for and, why are they useful? And what is the difference between a liveness probe, a readiness probe, and a startup probe? These are probably very abstract concepts to you. So before I go straight into explaining these, I think it is better that I share a story from […]

  • AWS versus GCP – which one is better? A dummies guide to the biggest cloud competition

    AWS versus GCP – which one is better? A dummies guide to the biggest cloud competition

    I would give Google a star for its simple naming strategy: Cloud CDN, Cloud Function, Cloud SQL, BigTable, Cloud Load Balancer, Datastore. On the other hand, AWS has products that no one can guess its name literally, such as Fargate, Beanstalk, Aurora, Neptune, Snow, Athena, Redshift, Kinesis, Macie, and Glue. This is my initial objective […]

  • Deploying WordPress and MySql using Skaffold to Google Kubernetes Engine

    Deploying WordPress and MySql using Skaffold to Google Kubernetes Engine

    In this tutorial, I am going to show you how to deploy WordPress to Google Kubernetes Engine using Gitlab CI and Skaffold. Also, I will show you how to use Gitlab CI to deploy WordPress to multiple environments, by simply creating a new branch in your Gitlab project. WordPress on GKE Series Recap Previously in this […]

  • How to deploy Flutter WebApp using Google Kubernetes Engine

    This is a series of Google Cloud Platform study notes: Domain, SSL, and Google Site (#1) How to Deploy Flutter WebApp using Google AppEngine (#2) How to Deploy Flutter WebApp using Google Cloud Run (#3) How to Deploy Flutter WebApp using Google Compute Engine (#4) How to Deploy Flutter WebApp using Google Kubernetes Engine (#5) […]

  • How to deploy a highly available WordPress website with Google Cloud and Gitlab CI/CD

    How to deploy a highly available WordPress website with Google Cloud and Gitlab CI/CD

    In this series, I am going to show you how you can deploy WordPress on the Google Cloud Platform running on Google Kubernetes Engine, from start to finish, without missing a beat, using Gitlab CI. I am releasing each episode, one by one, so I will be updating this page frequently with new videos and […]