mhh12121 commented on issue #712:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/712#issuecomment-1127348974

   Almost same issue here, I manually installed
   `apisix`2.13.1-alpine , `apisix-admin`2.11-alpine  through  
[apisix-helm-chart repo](https://github.com/apache/apisix-helm-chart).
   
   After ingress-controller-1.4.1 installed, I found the following logs:
   ```
   
   2022-05-16T15:38:35+08:00    info    ingress/ingress.go:120  use 
configuration
   {
        "cert_file": "/etc/webhook/certs/cert.pem",
        "key_file": "/etc/webhook/certs/key.pem",
        "log_level": "info",
        "log_output": "stderr",
        "http_listen": ":8080",
        "https_listen": ":8443",
        "ingress_publish_service": "",
        "ingress_status_address": [],
        "enable_profiling": true,
        "kubernetes": {
                "kubeconfig": "",
                "resync_interval": "6h0m0s",
                "app_namespaces": [
                        ""
                ],
                "namespace_selector": [],
                "election_id": "ingress-apisix-leader",
                "ingress_class": "apisix",
                "ingress_version": "networking/v1",
                "watch_endpoint_slices": false,
                "apisix_route_version": "apisix.apache.org/v2beta1",
                "enable_gateway_api": false
        },
        "apisix": {
                "default_cluster_name": "default",
                "default_cluster_base_url": 
"http://apisix-admin.default.svc.cluster.local:9180/apisix/admin";,
                "default_cluster_admin_key": "edd1c9f034335f136f87ad84b625c8f1",
                "base_url": "",
                "admin_key": ""
        }
   }
   2022-05-16T15:38:35+08:00    warn    api/server.go:75        failed to load 
x509 key pair, will not start admission server   {"Error": "open 
/etc/webhook/certs/cert.pem: no such file or directory", "CertFilePath": 
"/etc/webhook/certs/cert.pem", "KeyFilePath": "/etc/webhook/certs/key.pem"}
   I0516 15:38:35.316897       1 leaderelection.go:248] attempting to acquire 
leader lease default/ingress-apisix-leader...
   2022-05-16T15:38:35+08:00    warn    ingress/controller.go:358       found a 
new leader apisix-ingress-controller-5ff64f78cc-q9922
   2022-05-16T15:38:35+08:00    info    ingress/controller.go:360       
controller now is running as a candidate        {"namespace": "default", "pod": 
"apisix-ingress-controller-f548f9988-9h7ms"}
   [GIN] 2022/05/16 - 15:38:41 | 200 |      68.296µs |     10.23.4.247 | GET    
  "/healthz"
   [GIN] 2022/05/16 - 15:38:41 | 200 |      48.229µs |     10.23.4.247 | GET    
  "/healthz"
   [GIN] 2022/05/16 - 15:38:51 | 200 |      34.403µs |     10.23.4.247 | GET    
  "/healthz"
   [GIN] 2022/05/16 - 15:38:51 | 200 |      35.595µs |     10.23.4.247 | GET    
  "/healthz"
   2022-05-16T15:38:52+08:00    info    ingress/controller.go:320       
LeaderElection  {"message": "apisix-ingress-controller-f548f9988-9h7ms became 
leader", "event_type": "Normal"}
   I0516 15:38:52.715306       1 leaderelection.go:258] successfully acquired 
lease default/ingress-apisix-leader
   2022-05-16T15:38:52+08:00    warn    ingress/controller.go:358       found a 
new leader apisix-ingress-controller-f548f9988-9h7ms
   2022-05-16T15:38:52+08:00    info    ingress/controller.go:409       
controller tries to leading ... {"namespace": "default", "pod": 
"apisix-ingress-controller-f548f9988-9h7ms"}
   2022-05-16T15:38:52+08:00    info    apisix/cluster.go:158   syncing cache   
{"cluster": "default"}
   2022-05-16T15:38:52+08:00    info    apisix/cluster.go:370   syncing schema  
{"cluster": "default"}
   2022-05-16T15:38:52+08:00    warn    apisix/cluster.go:330   waiting cluster 
default to ready, it may takes a while
   2022-05-16T15:38:52+08:00    error   apisix/upstream.go:122  failed to 
convert upstream item {"url": 
"http://apisix-admin.default.svc.cluster.local:9180/apisix/admin/upstreams";, 
"upstream_key": "/apisix/upstreams/406931970073822084", "error": "unexpected 
non-empty object"}
   ```
   
   
   


-- 
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