Kubernetes
OpenEBS Certificate Expiration Causes Service Unavailability
· β˜• 4 min read
1. Installation Method 1 2 kubectl apply -f https://openebs.github.io/charts/openebs-operator.yaml kubectl patch storageclass openebs-hostpath -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}' OpenEBS is mainly used as the default storage for Tekton pipelines. I had also tried Longhorn before, but it could not hold up during peak hours and the pipelines went Pending. And after uninstalling Longhorn there were leftovers, which caused kube-apiserver to keep reporting errors, and in the end it took a great deal of effort to remove.

How to Estimate the Resource Consumption of Monitoring Components in a Kubernetes Cluster
· β˜• 3 min read
The monitoring metrics described in this article cover only the basic Kubernetes metrics, not business-related metrics. The components involved are prometheus-server, kube-state-metrics, and node-exporter, and the data retention period is 3 days. 1. Monitoring-related components in the cluster 1 2 3 4 helm -n monitor list NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION prom-k8s monitor 1 2022-05-12 16:47:53.

How to Hijack docker.io Image Traffic to a Private Repository
· β˜• 4 min read
1. Self-signing a *.docker.io Domain Certificate 1.1 Creating a CA Certificate Generate the CA certificate private key 1 openssl genrsa -out ca.key 4096 Generate the CA certificate 1 2 3 4 openssl req -x509 -new -nodes -sha512 -days 3650 \ -subj "/C=CN/ST=Beijing/L=Beijing/O=example/OU=Personal/CN=chenshaowen.com" \ -key ca.key \ -out ca.crt 1.2 Creating a *.

An Image Management and Distribution Scheme Based on Harbor and Registry
· β˜• 10 min read
1. The Challenge of a Cross-Region Harbor If all you need is to store image data in a simple way, Registry is an excellent choice as an image repository. Registry not only supports multiple storage backends, but can also be configured with HTTPS certificates and access credentials. Worth noting: Harbor also uses Registry to store image data.