MetalLB is used as LoadBalancer- BGP in Kubernetes cluster
In the previous article Using MetalLB as LoadBalancer in Kubernetes cluster (Part 1) In, we use MetalLB's Layer2 pattern as the implementation of LoadBalancer to expose the services in Kubernetes cluster outside the cluster.
Remember the IP address pool we assigned to MetalLB in Configmap?
apiVersion: v1
kind: ConfigMap
metadata:
namespac ...
Added by Distant_storm on Mon, 07 Mar 2022 05:51:24 +0200
openwrt development summary using pthread to realize socket multi process server
At the beginning of last year, there were a lot of code written in openwrt, although I felt sorry that there was a lot of code written in openwrt in the early days of the company.
Let's briefly introduce the socket multi process server on openwrt.
Look at the code
This is c language code. The code written at that time was not very good. Don' ...
Added by breath18 on Thu, 17 Feb 2022 14:27:35 +0200
Openwrt builds Hello ipk
In our practical work, we will develop our own functional modules
For Openwrt, its convenience is that it can be installed and uninstalled at any time like ko file
For Openwrt, there are also a set of new steps of "standard":
1. Add module directory under package directory: hello
2. Add the corresponding file, like this
Files: ...
Added by Sanoz0r on Thu, 10 Feb 2022 11:52:32 +0200
OpenWrt kernel module development - ip address filtering through linux netfilter framework
ip_filter
Function introduction
Register the hook function to the netfilter framework through the kernel module, analyze the ip header information, extract the source ip and destination ip, and filter after matching to the specified ip address.
network layer
The network layer introduces the IP protocol and formulates a set of new addres ...
Added by webdata on Mon, 17 Jan 2022 12:12:57 +0200