Latest

Intergrate vscode editor in angular
To intergrate vscode editor in angular 13 typescript and above, ngx monaco editor should be installed. The following steps described…

Spring WebFlux Databuffer Limit
The default databuffer limit size in spring webflux is 262144(256K) bytes, and it is hardcode in Base class(BaseDefaultCodecs), When you…

Understanding sync.Map in Go
As we know that go provides a type of map that allows us to store key-value pair data, but if…

Kubernetes configmap guide
A ConfigMap is a Kubernetes resource that allows you to store configuration data as key-value pairs. You can use ConfigMaps…

Happy New Year
Happy New Year! The Chinese new year is comming soon(The day after tomorrow). Wish you all who comes here: The…

Php configure memcached in centos8
Install and configure php and memcached plugin for wordpress setup on centos8 I use pecl to manually install memcached plugin.…

Kubernetes Pod Resource Usage Checking
There are so many ways to check pod resource usage such as cpu and memory in kubernetes, kubectl top command…

Kubernetes copy file from pod to local
Kubernetes client kubectl provides cp sub command to copy file from pod to local filesystem or from local filesystem to…

Troubleshooting kubernetes pod get stuck in Terminating status
Pods in Kubernetes can sometimes get stuck in the “Terminating” status, which means that they are being terminated but have…
Articles

Nginx setup and configuration guide
Nginx is a complex and rubust software, for this guide, we only care about how to setup it for layer7…

Deploy VPNaaS in openstack liberty
Clarifying about the VPN agent and L3 agent for the reference implementations… There is a hierarchy for the agents. At…

openshift origin multi-master manually deployment part-1
i have deployed an openshift origin muliti-master cluster successfully on centos and suse enterprise server. Since the deployment is done…

Php7.4 Startup: Unable to load dynamic library zip.so
When upgrading php from 7.2 to 7.4 in centos 8, then restart php-fpm service, an error message below occoured. Check…

OpenShift 4 Internal Image Registry Configuration
By default, when you install your openshift 4 cluster on bare metal manually, the internal image registry is not available,…

Add External Image Registry in OpenShift
There are serval ways to connect an external image registry (such as harbor) to your openshift environments. In installation phase,…

Openshift origin multi-node installation guide
in this tutorial, i will describe how to deploy an openshift multi-node cluster manually. before we start, let’s clarify some basic…

openshift origin multi-master manually deployment part-5
8,deply route and docker registry service. deploy a router, running on three master nodes oadm policy add-scc-to-user hostnetwork -z router…

Kubernetes copy file from pod to local
Kubernetes client kubectl provides cp sub command to copy file from pod to local filesystem or from local filesystem to…
Programming

getrusage()
I just wrote one system call getrusage() today. paste it up.

Angular Application Witch Ace Editor Error
In HyperKuber Web Project which is using angular 13 with ace editor for yaml/json display, an error occured in browser…

Determine whether a directory is empty or not for ext2 file system
How do we determine whether a directory is empty or not for ext2 file system? first,let’s take a look at…

Intergrate vscode editor in angular
To intergrate vscode editor in angular 13 typescript and above, ngx monaco editor should be installed. The following steps described…

Understanding sync.Map in Go
As we know that go provides a type of map that allows us to store key-value pair data, but if…

Convert Json To Yaml In Java
In java, to convert json string or json object to yaml string, you can use jackson to do this in…

Spring WebFlux Databuffer Limit
The default databuffer limit size in spring webflux is 262144(256K) bytes, and it is hardcode in Base class(BaseDefaultCodecs), When you…

A deep look into the kernel design of Shaun OS
The advanced design of kernel has made Shaun OS much more stable, attractive. How does it work? I will give…

UEFI GUI App
This is a UEFI gui demo app i wrote for my job project. I have implemented some basic UI components,edit…