adamant-kite-43734
12/01/2024, 10:27 PMcreamy-crayon-86622
12/01/2024, 10:28 PMcreamy-crayon-86622
12/01/2024, 10:40 PMthousands-advantage-10804
12/01/2024, 10:58 PMthousands-advantage-10804
12/01/2024, 10:58 PMthousands-advantage-10804
12/01/2024, 10:59 PMthousands-advantage-10804
12/01/2024, 11:00 PMcreamy-crayon-86622
12/01/2024, 11:03 PMthousands-advantage-10804
12/01/2024, 11:03 PMthousands-advantage-10804
12/01/2024, 11:04 PMcreamy-crayon-86622
12/01/2024, 11:04 PMcreamy-crayon-86622
12/01/2024, 11:05 PMthousands-advantage-10804
12/01/2024, 11:06 PMcreamy-crayon-86622
12/01/2024, 11:07 PMthousands-advantage-10804
12/01/2024, 11:07 PMcreamy-crayon-86622
12/01/2024, 11:11 PMthousands-advantage-10804
12/01/2024, 11:17 PMcreamy-crayon-86622
12/01/2024, 11:26 PMcreamy-crayon-86622
12/01/2024, 11:27 PMcreamy-crayon-86622
12/01/2024, 11:28 PMcreamy-crayon-86622
12/01/2024, 11:28 PMcreamy-crayon-86622
12/01/2024, 11:32 PMthousands-advantage-10804
12/01/2024, 11:35 PMcreamy-crayon-86622
12/01/2024, 11:38 PMthousands-advantage-10804
12/01/2024, 11:38 PMcreamy-crayon-86622
12/01/2024, 11:40 PMthousands-advantage-10804
12/01/2024, 11:41 PMcreamy-crayon-86622
12/01/2024, 11:49 PMthousands-advantage-10804
12/02/2024, 2:56 PMmillions-microphone-3535
12/02/2024, 9:41 PMthousands-advantage-10804
12/02/2024, 9:42 PMmillions-microphone-3535
12/02/2024, 9:43 PMkube-system/ingress-expose LB service, to route (application?) traffic through the rke2-ingress-controller, to the worker nodesmillions-microphone-3535
12/02/2024, 9:45 PMthousands-advantage-10804
12/02/2024, 9:45 PMmillions-microphone-3535
12/02/2024, 9:46 PMthousands-advantage-10804
12/02/2024, 9:46 PMthousands-advantage-10804
12/02/2024, 9:47 PMmillions-microphone-3535
12/02/2024, 9:47 PMmillions-microphone-3535
12/02/2024, 9:49 PMmillions-microphone-3535
12/02/2024, 9:49 PMthousands-advantage-10804
12/02/2024, 9:53 PMcreamy-crayon-86622
12/03/2024, 12:08 AMcreamy-crayon-86622
12/03/2024, 12:10 AMcreamy-crayon-86622
12/03/2024, 12:11 AMcreamy-crayon-86622
12/03/2024, 12:12 AMapiVersion: <http://helm.cattle.io/v1|helm.cattle.io/v1>
kind: HelmChartConfig
metadata:
name: rke2-ingress-nginx
namespace: kube-system
spec:
valuesContent: |-
controller:
# <https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#add-headers>
config:
use-forwarded-headers: "true"
enable-real-ip: "true"
proxy-buffer-size: "16k"
publishService:
enabled: true
service:
enabled: true
type: LoadBalancer
external:
enabled: true
externalTrafficPolicy: Local
So maybe not completely out of the box.creamy-crayon-86622
12/03/2024, 12:31 AMuser --> <http://homepage.domain.net|homepage.domain.net> --> rke2-ingress loadbalancer --> ingress --> service --> homepage app (pod)
The pic below shows my new app has a service type of loadbalancer which harvester creates the loadbalancer automagically for me but its showing on that master node but the app/rke2-ingress pods are on the worker nodes.creamy-crayon-86622
12/03/2024, 12:34 AMcreamy-crayon-86622
12/03/2024, 12:34 AMthousands-advantage-10804
12/03/2024, 2:13 AMcreamy-crayon-86622
12/03/2024, 2:18 AMthousands-advantage-10804
12/03/2024, 2:24 AMcreamy-crayon-86622
12/03/2024, 2:29 AMcreamy-crayon-86622
12/03/2024, 2:31 AMthousands-advantage-10804
12/03/2024, 2:56 AMcreamy-crayon-86622
12/03/2024, 3:09 AMapiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: rke2-ingress-nginx
namespace: kube-system
spec:
valuesContent: |-
controller:
# <https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#add-headers>
config:
use-forwarded-headers: "true"
enable-real-ip: "true"
proxy-buffer-size: "16k"
publishService:
enabled: true
service:
enabled: true
type: LoadBalancer
external:
enabled: true
externalTrafficPolicy: Local
kind: DaemonSet # Deploy the ingress controller as a DaemonSet
tolerations: # Allow the ingress controller to run on control plane nodes
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/etcd"
operator: "Exists"
effect: "NoExecute"
nodeSelector: {} # Allow the ingress controller to schedule on any node
This should give me flexibility if I ever need to deploy a standalone loadbalancer without ingress. Tho I prolly wont need thatcreamy-crayon-86622
12/03/2024, 3:10 AMthousands-advantage-10804
12/03/2024, 3:10 AMcreamy-crayon-86622
12/03/2024, 3:11 AMred-king-19196
12/03/2024, 4:11 AMexternalTrafficPolicy: Local, do you want to preserve the client ip address for incoming requests? If that’s not your intention, you can change it to Cluster, and you don’t have to worry about where the kube-vip pods are running.red-king-19196
12/03/2024, 4:14 AMred-king-19196
12/03/2024, 4:18 AMthousands-advantage-10804
12/03/2024, 4:19 AMacoustic-bird-95130
12/06/2024, 2:04 AMthousands-advantage-10804
12/06/2024, 2:17 AMacoustic-bird-95130
12/06/2024, 6:00 PM