Containers

Configure OPNsense as Kubernetes API Load Balancer (port 6443)

Original content from computingforgeeks.com - post 63555
using OPNsense as load balancer for kubernetes api server on port 6443 01
using OPNsense as load balancer for kubernetes api server on port 6443 02

Step 3. Configuring HAProxy backend

using OPNsense as load balancer for kubernetes api server on port 6443 03
using OPNsense as load balancer for kubernetes api server on port 6443 04
using OPNsense as load balancer for kubernetes api server on port 6443 05

Step 4. Configuring HAProxy Frontend

using OPNsense as load balancer for kubernetes api server on port 6443 06
using OPNsense as load balancer for kubernetes api server on port 6443 07

Step 5. Testing the Load Balancer

clusters:
- cluster:    
    server: https://192.168.88.2:6443
kubectl get nodes
using OPNsense as load balancer for kubernetes api server on port 6443 08
root@node01:/home/devops# curl -k https://192.168.1.2:6443
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "forbidden: User \"system:anonymous\" cannot get path \"/\"",
  "reason": "Forbidden",
  "details": {},
  "code": 403
}root@node01:/home/devops#

Conclusion

Keep reading

Java4Shell (CVE-2026-114938): Find and Patch Vulnerable JVMs Security Java4Shell (CVE-2026-114938): Find and Patch Vulnerable JVMs UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 Security UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 nginx HTTP/2 RCE CVE-2026-123007: Check, Disable HTTP/2, Patch Security nginx HTTP/2 RCE CVE-2026-123007: Check, Disable HTTP/2, Patch agent-framework PyPI Malware: Check 1.26.1/1.26.2 and Rotate Keys AI agent-framework PyPI Malware: Check 1.26.1/1.26.2 and Rotate Keys OpenShift 5 New Features Tested on a Single Node Cluster Containers OpenShift 5 New Features Tested on a Single Node Cluster How To Install Docker CE on Manjaro Linux Containers How To Install Docker CE on Manjaro Linux

Leave a Comment

Press ESC to close