Tag: k8s

  • 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,…

  • “WordPress Connection Information” on WP that is running in container

    A WordPress website can be install and run on container environment, like docker, k8s,… In this guide, the WordPress image to be used is apache based xxx-apache , which is running in a docker container/k8s, also EC2 AWS with docker – all cases are container based. May we can not upgrade WordPress, plugins, install new…

  • Upgrade k8s and Rancher

    After using k8s and Rancher in several months, I decided to upgrade the current system to: microk8s v1.27.x rancher v2.8.1 Upgrade microk8s Update your system first: sudo apt update Next, check the current version of microk8s: microk8s kubectl get node The result something likes: root@vmi1535815:~# microk8s kubectl get node NAME | STATUS | ROLES |…

  • 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…