GitHub user tuanhoangth1603 added a comment to the discussion: Traefik return 
404 page not found - Kubernetes on Cloudstack 4.17.2.0

Hello,

Today I following this procedure to deploy k8s with traefik ingress. 
I am facing an error with traefik ingress: "Error syncing load balancer: failed 
to ensure load balancer: error retrieving load balancer rules: invalid 
character '<' looking for beginning of value" 

- Cloudstack version: 4.19.0.1
- K8S:  Version: v1.26.0
- traefik: v3.1.2

Here is full describe of service:
```tuanlab@rke-nginx-proxy:~$ kubectl describe svc traefik
Name:                     traefik
Namespace:                default
Labels:                   app.kubernetes.io/instance=traefik-default
                          app.kubernetes.io/managed-by=Helm
                          app.kubernetes.io/name=traefik
                          helm.sh/chart=traefik-30.1.0
Annotations:              meta.helm.sh/release-name: traefik
                          meta.helm.sh/release-namespace: default
                          
service.beta.kubernetes.io/cloudstack-load-balancer-proxy-protocol: enabled
Selector:                 
app.kubernetes.io/instance=traefik-default,app.kubernetes.io/name=traefik
Type:                     LoadBalancer
IP Family Policy:         SingleStack
IP Families:              IPv4
IP:                       10.107.132.3
IPs:                      10.107.132.3
Port:                     http  80/TCP
TargetPort:               http/TCP
NodePort:                 http  30893/TCP
Endpoints:                <none>
Port:                     https  443/TCP
TargetPort:               https/TCP
NodePort:                 https  32256/TCP
Endpoints:                <none>
Session Affinity:         None
External Traffic Policy:  Cluster
Events:
  Type     Reason                  Age                  From                
Message
  ----     ------                  ----                 ----                
-------
  Normal   EnsuringLoadBalancer    58s (x6 over 2m14s)  service-controller  
Ensuring load balancer
  Warning  SyncLoadBalancerFailed  58s (x6 over 2m14s)  service-controller  
Error syncing load balancer: failed to ensure load balancer: error retrieving 
load balancer rules: invalid character '<' looking for beginning of value
```

GitHub link: 
https://github.com/apache/cloudstack/discussions/9906#discussioncomment-11187115

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to