Containers

Using pfSense as Load Balancer for Kubernetes API port 6443

Original content from computingforgeeks.com - post 161455

using pfSense as load balancer for kubernetes api server on port 6443 01
using pfSense as load balancer for kubernetes api server on port 6443 02
using pfSense as load balancer for kubernetes api server on port 6443 03
using pfSense as load balancer for kubernetes api server on port 6443 04
using pfSense as load balancer for kubernetes api server on port 6443 05
using pfSense as load balancer for kubernetes api server on port 6443 06
using pfSense as load balancer for kubernetes api server on port 6443 07
clusters:
- cluster:    
    server: https://192.168.88.2:6443
kubectl get nodes
NAME STATUS ROLES AGE VERSION
k8snode01.xxxxxxx.net Ready control-plane 8d v1.31.1
k8snode02.xxxxxxx.net Ready control-plane 8d v1.31.1
k8snode03.xxxxxxx.net Ready control-plane 8d v1.31.1

$ curl -k https://192.168.88.2:6443
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "forbidden: User \"system:anonymous\" cannot get path \"/\"",
  "reason": "Forbidden",
  "details": {},
  "code": 403
}%  

Conclusion

Related Articles

Containers Deploy Kubernetes Cluster on Linux With k0s Containers Kubectl Restart Pod: The Right Way to Restart a Pod Containers Expand PVC in OpenShift with ODF Storage Containers Fix “error: Metrics API not available” in Kubernetes

Leave a Comment

Press ESC to close