AlinsRan opened a new issue, #2535:
URL: https://github.com/apache/apisix-ingress-controller/issues/2535

   ### Current Behavior
   
   Synchronization failed and blocked other resources.
   
   ### Expected Behavior
   
   It can synchronize normally.
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   1. deploy httpbin
   ```bash
   kubectl apply -f 
https://raw.githubusercontent.com/apache/apisix-ingress-controller/refs/heads/v2.0.0/examples/httpbin/deployment.yaml
   ```
   
   2. apply ingress resource
   ```yaml
   apiVersion: networking.k8s.io/v1
   kind: Ingress
   metadata:
     name: apisix-ingress
   spec:
     ingressClassName: apisix
     rules:
       - host: httpbin.example.com
         http:
           paths:
             - path: /
               pathType: Prefix
               backend:
                 service:
                   name: httpbin
                   port:
                     number: 80
   ```
   
   2. scale 0 for httpbin
   
   ```bash
     kubectl scale --replicas=3 deployment/httpbin-deployment
   ```
   
   3. checklog
   
   ```log
   2025-09-01T07:05:48Z        error        client/executor.go:261        
failed to run http sync for server        {"server": 
"http://10.108.3.145:9180";, "error": "ServerAddr: http://10.108.3.145:9180, 
Err: HTTP 400: {\"message\":\"[\\n  {\\n    \\\"expected\\\": \\\"array\\\",\\n 
   \\\"code\\\": \\\"invalid_type\\\",\\n    \\\"path\\\": [\\n      
\\\"services\\\",\\n      1,\\n      \\\"upstream\\\",\\n      \\\"nodes\\\"\\n 
   ],\\n    \\\"message\\\": \\\"Invalid input: expected array, received 
null\\\"\\n  
}\\n]\",\"errors\":[{\"expected\":\"array\",\"code\":\"invalid_type\",\"path\":[\"services\",1,\"upstream\",\"nodes\"],\"message\":\"Invalid
 input: expected array, received null\"}]}"}
   ```
   
   
   
   ### Environment
   
   - APISIX Ingress controller version (run `apisix-ingress-controller version 
--long`) 2.0.0-rc4
   - Kubernetes cluster version (run `kubectl version`)
   - OS version if running APISIX Ingress controller in a bare-metal 
environment (run `uname -a`)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to