crooked-painting-25235
05/19/2025, 5:06 PMcreamy-pencil-82913
05/19/2025, 5:06 PMcrooked-painting-25235
05/19/2025, 5:10 PMcrooked-painting-25235
05/19/2025, 5:12 PMcreamy-pencil-82913
05/19/2025, 5:13 PMcreamy-pencil-82913
05/19/2025, 5:13 PMcrooked-painting-25235
05/19/2025, 5:15 PMcrooked-painting-25235
05/19/2025, 5:32 PMapiVersion: <http://helm.cattle.io/v1|helm.cattle.io/v1>
kind: HelmChartConfig
metadata:
name: rke2-traefik
namespace: kube-system
spec:
valuesContent: |-
ingressRoute:
dashboard:
enabled: true
And then can I kubectl apply that or do I have to place it in /var/lib/rancher/rke2/server/manifests/rke2-traefik-config.yaml and restart the whole rke2-service on each node?creamy-pencil-82913
05/19/2025, 5:36 PMcreamy-pencil-82913
05/19/2025, 5:38 PMcreamy-pencil-82913
05/19/2025, 5:39 PMcrooked-painting-25235
05/19/2025, 5:39 PMcrooked-painting-25235
05/19/2025, 5:39 PMcrooked-painting-25235
05/19/2025, 5:40 PMcreamy-pencil-82913
05/19/2025, 5:41 PMcreamy-pencil-82913
05/19/2025, 5:42 PMcrooked-painting-25235
05/19/2025, 5:43 PMcrooked-painting-25235
05/19/2025, 6:33 PMk port-forward service/pgadmin-service 5000:80 -n test
I can curl localhost:5000 and get the page to render. However, if on one of the nodes I try to curl the clusterip assigned to the service, I get nothing (Failed to connect, couldn't connect to host). I'm not sure what to look at to troubleshoot at this point.creamy-pencil-82913
05/19/2025, 6:35 PMcreamy-pencil-82913
05/19/2025, 6:36 PMcreamy-pencil-82913
05/19/2025, 6:36 PMcreamy-pencil-82913
05/19/2025, 6:36 PMcreamy-pencil-82913
05/19/2025, 6:37 PMcrooked-painting-25235
05/19/2025, 6:52 PMcrooked-painting-25235
05/19/2025, 6:52 PMcrooked-painting-25235
05/19/2025, 6:53 PMcrooked-painting-25235
05/19/2025, 6:54 PMcrooked-painting-25235
05/19/2025, 6:55 PMcreamy-pencil-82913
05/19/2025, 6:58 PMcrooked-painting-25235
05/19/2025, 7:01 PMcrooked-painting-25235
05/19/2025, 7:01 PMcreamy-pencil-82913
05/19/2025, 7:10 PMcreamy-pencil-82913
05/19/2025, 7:11 PMcreamy-pencil-82913
05/19/2025, 7:12 PMcrooked-painting-25235
05/19/2025, 7:18 PMcrooked-painting-25235
05/19/2025, 7:19 PMcrooked-painting-25235
05/19/2025, 7:19 PMcrooked-painting-25235
05/19/2025, 7:21 PMcrooked-painting-25235
05/19/2025, 7:21 PMcrooked-painting-25235
05/19/2025, 7:23 PMcrooked-painting-25235
05/19/2025, 7:23 PMcrooked-painting-25235
05/19/2025, 7:29 PMcrooked-painting-25235
05/19/2025, 7:37 PMcreamy-pencil-82913
05/19/2025, 7:39 PMcrooked-painting-25235
05/19/2025, 7:43 PMcrooked-painting-25235
05/19/2025, 7:44 PMcreamy-pencil-82913
05/19/2025, 7:45 PMcrooked-painting-25235
05/19/2025, 7:46 PMcrooked-painting-25235
05/19/2025, 7:48 PMcrooked-painting-25235
05/19/2025, 8:04 PMcrooked-painting-25235
05/19/2025, 8:04 PMcreamy-pencil-82913
05/19/2025, 8:04 PMcreamy-pencil-82913
05/19/2025, 8:05 PMcrooked-painting-25235
05/19/2025, 8:07 PMcrooked-painting-25235
05/19/2025, 8:14 PMapiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
kind: Ingress
metadata:
name: pgadmin-ingress
namespace: test
spec:
rules:
- host: "<http://pgadmin.kubernetes.mydomain.com|pgadmin.kubernetes.mydomain.com>"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: pgadmin-service
port:
number: 80
crooked-painting-25235
05/19/2025, 8:15 PMcrooked-painting-25235
05/19/2025, 8:21 PMapiVersion: <http://helm.cattle.io/v1|helm.cattle.io/v1>
kind: HelmChartConfig
metadata:
name: rke2-traefik
namespace: kube-system
spec:
valuesContent: |-
ingressRoute:
dashboard:
enabled: true
logs:
access:
enabled: true
general:
lebel: DEBUG
crooked-painting-25235
05/19/2025, 8:22 PMcreamy-pencil-82913
05/19/2025, 8:24 PMcurl -v <http://pgadmin.kubernetes.mydomain.com>
creamy-pencil-82913
05/19/2025, 8:25 PM<http://pgadmin.kubernetes.mydomain.com|pgadmin.kubernetes.mydomain.com>
at one of the nodes, correct? so that it’s hitting the ingress controller on the daemonset nodeport?crooked-painting-25235
05/19/2025, 8:33 PMcrooked-painting-25235
05/19/2025, 8:33 PMcrooked-painting-25235
05/19/2025, 8:33 PMcrooked-painting-25235
05/19/2025, 8:34 PMcrooked-painting-25235
05/19/2025, 8:35 PMcrooked-painting-25235
05/19/2025, 8:36 PMcreamy-pencil-82913
05/19/2025, 8:37 PMcrooked-painting-25235
05/19/2025, 8:37 PMcrooked-painting-25235
05/19/2025, 8:38 PMk describe ingress pgadmin-ingress -n test
shows what would mostly be normal except:
"Default backend: default-http-backend:80 (error: endpoints "default-http-backend" not found"creamy-pencil-82913
05/19/2025, 8:39 PMcreamy-pencil-82913
05/19/2025, 8:39 PMcrooked-painting-25235
05/19/2025, 8:39 PMcrooked-painting-25235
05/19/2025, 8:40 PMcreamy-pencil-82913
05/19/2025, 8:40 PMcrooked-painting-25235
05/19/2025, 8:41 PMcrooked-painting-25235
05/19/2025, 8:41 PMcreamy-pencil-82913
05/19/2025, 8:42 PMkubectl get ingress -o yaml -A --show-managed-fields
crooked-painting-25235
05/19/2025, 8:42 PMcrooked-painting-25235
05/19/2025, 8:43 PMcrooked-painting-25235
05/19/2025, 8:43 PMcreamy-pencil-82913
05/19/2025, 8:44 PMcreamy-pencil-82913
05/19/2025, 8:44 PMcrooked-painting-25235
05/19/2025, 8:45 PMcrooked-painting-25235
05/19/2025, 8:45 PMcrooked-painting-25235
05/19/2025, 8:47 PM--show-managed-fields
argumentcreamy-pencil-82913
05/19/2025, 8:47 PMcreamy-pencil-82913
05/19/2025, 8:48 PMkubectl version
crooked-painting-25235
05/19/2025, 8:49 PMcrooked-painting-25235
05/19/2025, 8:49 PMcrooked-painting-25235
05/19/2025, 8:49 PMcrooked-painting-25235
05/19/2025, 8:51 PMcreamy-pencil-82913
05/19/2025, 8:51 PMcrooked-painting-25235
05/19/2025, 8:52 PMcreamy-pencil-82913
05/19/2025, 8:52 PMexport PATH=/var/lib/rancher/rke2/bin:$PATH
crooked-painting-25235
05/19/2025, 8:52 PMcreamy-pencil-82913
05/19/2025, 8:54 PMdefault-http-backend
service as far as I know, so that status suggests that ingress-nginx took ownership of that ingress resource at some point.crooked-painting-25235
05/19/2025, 8:58 PMcreamy-pencil-82913
05/19/2025, 9:00 PMcrooked-painting-25235
05/19/2025, 9:02 PMcrooked-painting-25235
05/19/2025, 9:05 PMapiVersion: v2
items:
- apiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
kind: Ingress
metadata:
annotations:
<http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration>: |
{"apiVersion":"<http://networking.k8s.io/v1|networking.k8s.io/v1>","kind":"Ingress","metadata":{"annotations":{},"name":"pgadmin-ingress","namespace":"test"},"spec":{"rules":[{"host":"<http://pgadmin.kubernetes.mydomain.com|pgadmin.kubernetes.mydomain.com>","http":{"paths":[{"backend":{"service":{"name":"pgadmin-service","port":{"number":80}}},"path":"/","pathType":"Prefix"}]}}]}}
creationTimestamp: "2025-05-15T19:13:21Z"
generation: 3
managedFields:
- apiVersion: <http://networking.k11s.io/v1|networking.k11s.io/v1>
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:<http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration>: {}
f:spec:
f:rules: {}
manager: kubectl-client-side-apply
operation: Update
time: "2025-05-19T17:56:23Z"
name: pgadmin-ingress
namespace: test
resourceVersion: "1422005"
uid: dcd9fa98-b10a-4bd6-a22b-3d723d46b1c4
spec:
rules:
- host: <http://pgadmin.kubernetes.mydomain.com|pgadmin.kubernetes.mydomain.com>
http:
paths:
- backend:
service:
name: pgadmin-service
port:
number: 80
path: /
pathType: Prefix
status:
loadBalancer: {}
kind: List
metadata:
resourceVersion: ""
creamy-pencil-82913
05/19/2025, 9:08 PMkubectl get event -n test -o yaml
?crooked-painting-25235
05/19/2025, 9:08 PMcrooked-painting-25235
05/19/2025, 9:10 PMcrooked-painting-25235
05/19/2025, 9:10 PMcrooked-painting-25235
05/19/2025, 9:10 PMcreamy-pencil-82913
05/19/2025, 9:10 PMcrooked-painting-25235
05/19/2025, 9:11 PMcrooked-painting-25235
05/19/2025, 9:11 PMcreamy-pencil-82913
05/19/2025, 9:11 PMcreamy-pencil-82913
05/19/2025, 9:11 PMcreamy-pencil-82913
05/19/2025, 9:11 PMcrooked-painting-25235
05/19/2025, 9:12 PMcrooked-painting-25235
05/19/2025, 9:12 PMcreamy-pencil-82913
05/19/2025, 9:12 PMcreamy-pencil-82913
05/19/2025, 9:13 PMcrooked-painting-25235
05/19/2025, 9:17 PMcrooked-painting-25235
05/19/2025, 9:17 PMcrooked-painting-25235
05/19/2025, 9:19 PMcreamy-pencil-82913
05/19/2025, 9:20 PMcrooked-painting-25235
05/19/2025, 9:21 PMcrooked-painting-25235
05/19/2025, 9:21 PMcrooked-painting-25235
05/19/2025, 9:21 PMcreamy-pencil-82913
05/19/2025, 9:22 PMcreamy-pencil-82913
05/19/2025, 9:22 PMcrooked-painting-25235
05/19/2025, 9:23 PMcrooked-painting-25235
05/19/2025, 9:23 PMcreamy-pencil-82913
05/19/2025, 9:23 PMcrooked-painting-25235
05/19/2025, 9:23 PMcrooked-painting-25235
05/19/2025, 9:24 PMcrooked-painting-25235
05/19/2025, 9:24 PMcreamy-pencil-82913
05/19/2025, 9:25 PMcrooked-painting-25235
05/19/2025, 9:25 PMcreamy-pencil-82913
05/19/2025, 9:25 PMcrooked-painting-25235
05/19/2025, 9:25 PMcreamy-pencil-82913
05/19/2025, 9:25 PMcrooked-painting-25235
05/19/2025, 9:25 PMcreamy-pencil-82913
05/19/2025, 9:26 PMSetting theannotation to true on an IngressClass resource will ensure that new Ingresses without an<http://ingressclass.kubernetes.io/is-default-class|ingressclass.kubernetes.io/is-default-class>
specified will be assigned this defaultingressClassName
IngressClass
crooked-painting-25235
05/19/2025, 9:26 PMcrooked-painting-25235
05/19/2025, 9:27 PMcreamy-pencil-82913
05/19/2025, 9:27 PMcrooked-painting-25235
05/19/2025, 9:27 PMcreamy-pencil-82913
05/19/2025, 9:27 PMcrooked-painting-25235
05/19/2025, 9:27 PMcreamy-pencil-82913
05/19/2025, 9:27 PMcrooked-painting-25235
05/19/2025, 9:27 PMcrooked-painting-25235
05/19/2025, 9:28 PMcreamy-pencil-82913
05/19/2025, 9:31 PM