Sandeep-Raj-49 commented on issue #2654:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/2654#issuecomment-3551622097

   `apiVersion: v1
   data:
     config.yaml: |
       log_level: debug
       controller_name: apisix.apache.org/apisix-ingress-controller
       leader_election_id: apisix-ingress-controller-leader
       leader_election:
         leaseDuration: 15s
         renewDeadline: 10s
         retryPeriod: 2s
         disable: false
       metrics_addr: :8080
       enable_http2: false
       probe_addr: :8081
       secure_metrics: false
       exec_adc_timeout: 15s
       provider:
         type: apisix
         sync_period: 1m
         init_sync_delay: 20m
   kind: ConfigMap
   metadata:
     annotations:
       meta.helm.sh/release-name: apisix
       meta.helm.sh/release-namespace: apache-apisix
     creationTimestamp: "2025-11-19T08:51:45Z"
     labels:
       app.kubernetes.io/managed-by: Helm
     name: apisix-ingress-config
     namespace: apache-apisix`
   
   
   `apiVersion: apisix.apache.org/v2
   kind: ApisixRoute
   metadata:
     name: apisix-admin-healthz
     namespace: apache-apisix
   spec:
     ingressClassName: apisix
     http:
       - name: healthz
         match:
           paths:
             - /healthz
         backends:
           - serviceName: apisix-admin
             servicePort: 9180
         plugins:
           - name: proxy-rewrite
             enable: true
             config:
               regex_uri:
                 - "/healthz"
                 - "/v1/healthcheck"`
   
   `kubectl logs --tail=20 apisix-ingress-controller-6f4856784f-z5wcq -n 
apache-apisix
   Defaulted container "manager" out of: manager, adc-server
   2025-11-19T09:06:47Z    debug   client/client.go:168    syncing all resources
   2025-11-19T09:06:47Z    warn    client/client.go:173    no GatewayProxy 
configs provided
   2025-11-19T09:06:47Z    debug   apisix/provider.go:273  handled ADC 
execution errors    {"status_record": null, "status_update": {}}
   2025-11-19T09:06:51Z    debug   controller/apisixroute_controller.go:356     
   try to get apisixupstream with the same name as the backend service 
{"Service": "apache-apisix/apisix-admin"}
   2025-11-19T09:06:51Z    debug   controller/apisixroute_controller.go:358     
   no ApisixUpstream with the same name as the backend service found   
{"Service": "apache-apisix/apisix-admin", "error": 
"ApisixUpstream.apisix.apache.org \"apisix-admin\" not found"}
   2025-11-19T09:06:51Z    debug   apisix/provider.go:85   updating object 
{"object": 
{"kind":"ApisixRoute","apiVersion":"apisix.apache.org/v2","metadata":{"name":"apisix-admin-healthz","namespace":"apache-apisix","uid":"6682e793-57ac-4591-ba3b-2150b1f4c2ca","resourceVersion":"908400596","generation":4,"creationTimestamp":"2025-11-19T08:55:46Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"apisix.apache.org/v2\",\"kind\":\"ApisixRoute\",\"metadata\":{\"annotations\":{},\"name\":\"apisix-admin-healthz\",\"namespace\":\"apache-apisix\"},\"spec\":{\"http\":[{\"backends\":[{\"serviceName\":\"apisix-admin\",\"servicePort\":9180}],\"match\":{\"paths\":[\"/healthz\"]},\"name\":\"healthz\",\"plugins\":[{\"config\":{\"regex_uri\":[\"/healthz\",\"/v1/healthcheck\"]},\"enable\":true,\"name\":\"proxy-rewrite\"}]}],\"ingressClassName\":\"apisix\"}}\n"},"managedFields":[{"manager":"apisix-ingress-controller","operation":"Update","apiVersion":"apisix.apache.or
 
g/v2","time":"2025-11-19T09:02:12Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:conditions":{}}},"subresource":"status"},{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"apisix.apache.org/v2","time":"2025-11-19T09:06:51Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:spec":{".":{},"f:http":{},"f:ingressClassName":{}}}}]},"spec":{"ingressClassName":"apisix","http":[{"name":"healthz","match":{"paths":["/healthz"]},"backends":[{"serviceName":"apisix-admin","servicePort":9180,"weight":null}],"websocket":false,"plugins":[{"name":"proxy-rewrite","enable":true,"config":{"regex_uri":["/healthz","/v1/healthcheck"]},"secretRef":""}],"authentication":{"enable":false,"type":"","keyAuth":{},"jwtAuth":{},"ldapAuth":{}}}]},"status":{"conditions":[{"type":"Accepted","status":"True","observedGeneration":3,"lastTransitionTime":"2025-11-19T09:02:12Z","reason":"Accepted","mess
 age":""}]}}}
   2025-11-19T09:06:51.424Z        DEBUG   status.updater  
status/updater.go:143   received a status update        {"namespace": 
"apache-apisix", "name": "apisix-admin-healthz", "kind": "ApisixRoute"}
   2025-11-19T09:06:51.425Z        INFO    status.updater  
status/updater.go:122   updating status {"name": "apisix-admin-healthz", 
"namespace": "apache-apisix", "kind": "ApisixRoute"}`


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to