Learning
How to Configure NetworkPolicy for NodePort in Kubernetes
· β˜• 7 min read
1. Background As shown above, the business team needs to isolate the services in a namespace, forbidding access from workloads in the bar namespace while allowing users to reach the service through a Load Balancer (LB) via NodePort. It is easy to write a network policy: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 apiVersion: networking.

Docker 20.10.6 fails to pull certain images with an unlinkat error
· β˜• 2 min read
This is on CentOS 7, kernel version 3.10.0-327. 1. Check the current Docker version 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 docker version Client: Docker Engine - Community Version: 20.

Some Common Computer Interview Questions
· β˜• 6 min read
Computer Fundamentals Heap and Stack When do you use the heap? When do you use the stack? What is the stack for? Are Go variables on the stack or the heap? Do the heap and stack have limits? If so, what are they related to? Data Structures How is space allocated for a slice?

Distributing Files and Running Scripts on VM Nodes in Kubernetes
· β˜• 9 min read
1. What This Article Mainly Discusses Never build a high tower on shifting sand. Business growth and the evolution of business forms both need solid, powerful IT systems to support them. Business content is transparent to the market, but IT systems cannot be built to perfection overnight. In the future, competition between companies will mainly come from competition between their IT systems, and the ability to respond quickly to business requirements will be the key to winning.

How to Build the istio Project on CentOS 8
· β˜• 5 min read
This article mainly describes how to build the https://github.com/istio/istio project on CentOS 8.2 using local tools. Another approach is to use the BUILD_WITH_CONTAINER parameter to build inside a container, which depends only on make and docker. 1. Install and Upgrade Ruby >= 2.6 Install Ruby 1 yum install -y ruby Check the Ruby version 1 2 3 ruby -v ruby 2.