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

   ### Issue description
   
   1. How can I set  the keepalive_pool in upstream configuration,🙏?
   2. Why doesn't Upstream define this configuration,🙏?
   
   
https://github.com/apache/apisix-ingress-controller/blob/v1.8.0/pkg/types/apisix/v1/types.go
   ```
   type Upstream struct {
        Metadata `json:",inline" yaml:",inline"`
        Type         string               `json:"type,omitempty" 
yaml:"type,omitempty"`
        HashOn       string               `json:"hash_on,omitempty" 
yaml:"hash_on,omitempty"`
        Key          string               `json:"key,omitempty" 
yaml:"key,omitempty"`
        Checks       *UpstreamHealthCheck `json:"checks,omitempty" 
yaml:"checks,omitempty"`
        Nodes        UpstreamNodes        `json:"nodes" yaml:"nodes"`
        Scheme       string               `json:"scheme,omitempty" 
yaml:"scheme,omitempty"`
        Retries      *int                 `json:"retries,omitempty" 
yaml:"retries,omitempty"`
        Timeout      *UpstreamTimeout     `json:"timeout,omitempty" 
yaml:"timeout,omitempty"`
        TLS          *ClientTLS           `json:"tls,omitempty" 
yaml:"tls,omitempty"`
        PassHost     string               `json:"pass_host,omitempty" 
yaml:"pass_host,omitempty"`
        UpstreamHost string               `json:"upstream_host,omitempty" 
yaml:"upstream_host,omitempty"`
   
        // for Service Discovery
        ServiceName   string            `json:"service_name,omitempty" 
yaml:"service_name,omitempty"`
        DiscoveryType string            `json:"discovery_type,omitempty" 
yaml:"discovery_type,omitempty"`
        DiscoveryArgs map[string]string `json:"discovery_args,omitempty" 
yaml:"discovery_args,omitempty"`
   }
   ```
   
   ### Environment
   
   - your apisix-ingress-controller version (output of 
apisix-ingress-controller version --long): 1.8.4
   - your Kubernetes cluster version (output of kubectl version):
   - if you run apisix-ingress-controller in Bare-metal environment, also show 
your OS version (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: [email protected]

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

Reply via email to