Open in app

Sign in

Write

Sign in

Zhimin Wen
Zhimin Wen

745 Followers

Home

About

3 days ago

Custom Wildcard Domain for CoreDNS

I normally forward the CoreDNS to an external DNS server for some custom wildcard domain requirement. This is achieved by adding the following forward plugin into the coredns config map, apiVersion: v1 kind: ConfigMap metadata: name: coredns namespace: kube-system data: Corefile: | apps.k3s.io.cpak:53 {…

Coredns

3 min read

Custom Wildcard Domain for CoreDNS
Custom Wildcard Domain for CoreDNS
Coredns

3 min read


Nov 15

Why My Cloud Pak Web UI is So Slow

Caching and Non-trusted Certificate — I have API Connect installed on OpenShift with Cloud Pak for Integration. Each time when open a UI, it is taking minutes to get the page fully rendered. Why? Take the example of Cloud Manager Web Console, total about 70+ MB files (javacript and other static files) need to be…

Certificate

5 min read

Why My Cloud Pak Web UI is So Slow
Why My Cloud Pak Web UI is So Slow
Certificate

5 min read


Published in

ITNEXT

·Nov 10

Create Our Own Crontab with Go-Quartz

I got a task to measure some REST API’s response time. The requirement is to run these bunch of API every 5 seconds for about 30 minutes repeatedly and finally calculate the average response time. A simple enough requirement, a load testing tool seems like an overkill. Linux crontab? No…

Crontab

5 min read

Create Our Own Crontab with Go-Quartz
Create Our Own Crontab with Go-Quartz
Crontab

5 min read


Nov 5

Fault Injection on Ceph RBD Block — Simulating a Pod Failure

With the popularity of Kubernetes Operators, its becoming difficult to inject fault into the application by manipulating its YAML definitions. To simulate an error, understand the problem, and therefore respond better as part of the chaos engineering process, we have to start from somewhere the operator doesn’t control. This paper…

Chaos Engineering

5 min read

Fault Injection on Ceph RBD Block — Simulating a Pod Failure
Fault Injection on Ceph RBD Block — Simulating a Pod Failure
Chaos Engineering

5 min read


Published in

ITNEXT

·Oct 24

Validate the Backup of Postgres DB with pgBackRest

Simply having a database backup is not enough; you will need to test if the backup is usable as part of the total disaster recovery testing process. This paper sets up an approach to test if the backup of a postgres DB is valid for restore. …

Pgbackrest

5 min read

Validate the Backup of Postgres DB with pgBackRest
Validate the Backup of Postgres DB with pgBackRest
Pgbackrest

5 min read


Oct 13

S3 Backup for API Connect with Noobaa Storage Class from ODF

Let’s explore the S3 Backup for API Connect. The testing environment is on OpenShift with ODF installed. Create Bucket with Noobaa Create our backup bucket with ODF Noobaa Storage Class apiVersion: objectbucket.io/v1alpha1 kind: ObjectBucketClaim metadata: name: backup-bucket-claim namespace: apic spec: bucketName: backup-bucket #exact name storageClassName: openshift-storage.noobaa.io Check the Object Bucket (ob) is available,

S3

5 min read

S3 Backup for API Connect with Noobaa Storage Class from ODF
S3 Backup for API Connect with Noobaa Storage Class from ODF
S3

5 min read


Oct 7

Install a Specific Version of IBM Cloud Pak Software on OpenShift

One of a basic rule in a production environment is the control of the versioning. Without a CR approval, a new version of software should not be updated. OpenShift Operators automate the installation and management of software. However it doesn’t mean we should lose the change control. A Potential Problem Commonly we will…

Operators

4 min read

Install a Specific Version of IBM Cloud Pak Software on OpenShift
Install a Specific Version of IBM Cloud Pak Software on OpenShift
Operators

4 min read


Oct 4

Json Partial Update in Golang

I have a set of test profile as in Postman collections. I need to update the URL path to the new hostname and path. I export the Postman collections and get the following Json file (simplified for illustration purpose), { "info": { "_postman_id": "c8f9633b-25ac-4c62-b6a7-6078f2a67246", "name": "Reqres APIs"…

Json

3 min read

Json Partial Update in Golang
Json Partial Update in Golang
Json

3 min read


Sep 27

Retrieval-Augmented Generation with Postgres Vector DB and LlamaIndex

To allow Large Language Model deal with data that is not available during the pre-training stage or to deal with private data, one of the common technique without retraining the model is the Retrieval-Augmented Generation (RAG). In essence, this technique retrieve the relevant data and supplies them to the LLM…

Llamaindex

6 min read

Retrieval-Augmented Generation with Postgres Vector DB and LlamaIndex
Retrieval-Augmented Generation with Postgres Vector DB and LlamaIndex
Llamaindex

6 min read


Sep 20

Custom Kubectl Output with Go-template

I have a local registry for the OpenShift Cluster. We just did some migration and retired the old registry. However some images were missed out leading to some of the Pods not running properly. The issue was not so obvious as the default image pull policy for most of the…

Kubectl

3 min read

Custom Kubectl Output with Go-template
Custom Kubectl Output with Go-template
Kubectl

3 min read

Zhimin Wen

Zhimin Wen

745 Followers

Cloud explorer

Following
  • Stefanie Lai

    Stefanie Lai

  • Logan Land

    Logan Land

  • Grig Gheorghiu

    Grig Gheorghiu

See all (7)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams