Ingress is not getting address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Worker Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
It seems after we changed the image version with this commit (https:/
I reproduced the issue by deploying a Charmed Kubernetes 1.28.3 and creating an ingress object by using the yaml file below:
apiVersion: networking.
kind: Ingress
metadata:
name: cafe-ingress
spec:
ingressClassName: nginx-ingress-
rules:
- host: cafe.example.com
http:
paths:
- path: /tea
pathType: Prefix
backend:
service:
name: tea-svc
port:
- path: /coffee
pathType: Prefix
backend:
service:
name: coffee-svc
port:
And it could not get the address of the nginx-ingress-
ubuntu@
NAME CLASS HOSTS ADDRESS PORTS AGE
cafe-ingress nginx-ingress-
Then I changed the container image from "rocks.
kubectl edit daemonset nginx-ingress-
It recycled the pod and after the creation of the new ingress controller pod, the ingress got the IP:
ubuntu@
NAME CLASS HOSTS ADDRESS PORTS AGE
cafe-ingress nginx-ingress-
Regards,
Ebrar
description: | updated |