icy-apple-1347
05/08/2023, 9:11 PMapiVersion: <http://helm.cattle.io/v1|helm.cattle.io/v1>
kind: HelmChartConfig
metadata:
name: rke2-ingress-nginx
namespace: kube-system
spec:
valuesContent: |-
controller:
service:
type: LoadBalancer
loadBalancerIP: {{ kubernetes_api_floating_ip }}
Once I copied this manifest onto the servers, rke2 applied it and took the existing rke2-nginx-ingress controller pods and service down, but didn't re-deploy anything new. The rke2-server
logs say:
error syncing 'kube-system/rke2-ingress-nginx': handler on-helm-chart-remove: unable to update status of helm chart to add uninstall job name helm-delete-rke2-ingress-nginx, requeuingBut nothing else. Am I doing something wrong, or missing something?
$ kubectl get addons -n kube-system
NAME AGE
kube-vip 3h49m
rke2-cilium 3h49m
rke2-coredns 3h49m
rke2-ingress-nginx 3h49m
rke2-metrics-server 3h49m
rke2-snapshot-controller 3h49m
rke2-snapshot-controller-crd 3h49m
rke2-snapshot-validation-webhook 3h49m
$ kubectl get helmchart -n kube-system
NAME AGE
rke2-cilium 3h49m
rke2-coredns 3h49m
rke2-metrics-server 3h49m
rke2-snapshot-controller 3h49m
rke2-snapshot-controller-crd 3h49m
rke2-snapshot-validation-webhook 3h49m
$ kubectl get helmchartconfig -n kube-system
NAME AGE
rke2-ingress-nginx 40m
This seems weird... nginx-ingress is not in the kubectl get helmchart
listing?creamy-pencil-82913
05/08/2023, 9:31 PMicy-apple-1347
05/08/2023, 9:32 PM/var/lib/rancher/rke2/server/manifests/rke2-ingress-nginx.yaml
by default? If so, then yeah, I probably did 😂
Do you happen to have a copy of the existing one?creamy-pencil-82913
05/08/2023, 9:32 PMicy-apple-1347
05/08/2023, 9:36 PM