Skip to content

Author archives

How to fix PVC deleting problem in Kubernetes

containerd

The issue Whilst working on a Kubernetes project for a customer, the onsite support reported he failed to run pod on the cluster. after checking the pod log, the PVC didn’t exist, however, onsite support insisted he has applied the FTP PVC YAML file. After investigating, I noticed that one PVC was stuck in “terminating” …

Kubernetes node no internal IP problem

containerd

The Kubernetes was not able to work perfectly after being deployed with the RKE tool. it has no internal IP showing when performed Some pods were running but no pod IP, some pods kept restarting, like CoreDNS, Nginx-ingress-controller and few logs were printed out. At first, I thought there might be something wrong in the …

MySQL CronJob backup file

mysql

You might guess from the article title, we launched MySQL in the Kubernetes. Although some people DO NOT suggest run MySQL in the Kubernetes instead of run as a standalone because of IO, performance, and reliability, we still run it as Statefulset in the Kubernetes. it looks good right now and hasn’t encountered any problems. …

GitLab CI for Web

gitlab cicd 1

This is web auto compile and build Gitlab CI, when CI is launched, this CI will pick up “web” GitLab runner and perform build static file, build docker image and deploy docker image to dev environment. The runner is using shell as its executor.

Configure Containerd Private Repository

containerd

As Kubernetes is deprecating docker as container runtime after version 1.20, we decided to choose Containerd as our Kubernetes runtime. Our Kubernetes cluster is running on the Aliyun Cloud, with 3 master nodes and 6 worker nodes. This post documented how to configure a private repository in Containerd. compared with Docker, I feel that client …

Build your customized maven in Arm architecture

maven

Background:

A new project is launched and this project will deploy on the arm64 architecture server, which is not the same as the x86 platform. luckily, our product is written by java, which is a cross-platform language. what we need to do is build java in the ARM environment. 

Add Second Kubernetes Cluster to ArgoCD

argocd

We have learned how to install ArgoCD in previous post, which it can deploy deployment resources within kubernetes. If we want to deploy applicatons to other kubertes, how do we do it? you will learn it in this post. Install kubecm to manage config Kubecm is a free software tool that can manage multiple kubernetes …

Install ArgoCD on the Kubernetes

argocd

This post will guide you how to install ArgoCD on the kubernetes, along with ingress access and intergrate with third parth authorization. What is ArgoCD Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Install Configure HTTP/HTTPS ingress for UI Replace the value of host to a new value. apply the HTTP yaml …

CI/CD with Jenkins – Part 9: deploy frontend page with pipeline

jenkins

Deploy frontend page This is the last tutorial of CI/CD with Jenkins, we have built, delivered and deployed the backend project with Jenkins. we will build and delivered frontend with pipeline. install plugin configure nodeJS create new pipeline task scroll down to pipeline section, we use pipeline script this time, script is shown as below. …

CI/CD with Jenkins – Part 8: deploy docker images

jenkins

deploy images to server Install ‘Publish Over SSH’ plugin Copy ssh key to server 192.168.1.4 Configure publish Over SSH Create jenkins_folder and upload shell script on production server deploy.sh shell script Add string patameter ‘port environment’ check docker image on production server build task check deployment status