Tag: microk8s

  • Runbook for Restoring a MicroK8s Cluster After Failure

    Another day in hell, MicroK8s is not running, and almost all pods are in Unknown or Terminating state. Trying to stop/restart microk8s and also the whole server but still the end, microk8s is still faling down. Any rescure is no luck. This runbook is about step by step to performing the rescure the whole Microk8s.…

  • kubectl get error Unable to connect to the server: tls: failed to verify certificate

    By default, the microk8s installed with self-certificate and if you’re using Let’s Encrypt, the SSL certificates issued by it are valid for 90 days or 1 year (it’s up to you). To ensure continuous security, you need to automate certificate renewal. Cert-manager – using by default in microk8s which automatically renews the certificates before expiration,…

  • Dockerize an Angular 17 app with nginx and deploy on Kubernetes

    There serveral ways to host an Angular app using nginx, a nodejs server, IIS, Apache on a Windows or Lunix with registered as a service. In this blog post, we will go through step-by-step guide to build an Angular app using Docker and host the production-ready in nginx container and then deploy on Kubernetes. Normally,…

  • Registering Existing Kubernetes Clusters to Rancher

    The control that Rancher has to manage a registered cluster depends on the type of cluster. We want to manage "set of" clusters within one Rancher UI, so this is guide how to perform the task quickly and ez. Prerequisites Kubernetes Node Roles Registered RKE Kubernetes clusters must have all three node roles – etcd,…

  • Deploying a Kubernetes environment with MicroK8S and Rancher

    After securely connected to VPS, Mostly of development and deployment can be done with traditional stuffs, something likes install nginx/apache, build source code and upload to the server via SFTP or git. To make it easy for deloyment task, using Docker images and for self-practice in DevOps field, I decided to use Kubernetes and begining…