Class KubernetesClientBuildConfig


  • @ConfigRoot(name="kubernetes-client",
                phase=BUILD_AND_RUN_TIME_FIXED)
    public class KubernetesClientBuildConfig
    extends Object
    • Field Detail

      • trustCerts

        @ConfigItem
        public Optional<Boolean> trustCerts
        Whether the client should trust a self-signed certificate if so presented by the API server
      • apiServerUrl

        @ConfigItem
        public Optional<String> apiServerUrl
        URL of the Kubernetes API server
      • masterUrl

        @Deprecated(forRemoval=true)
        @ConfigItem
        public Optional<String> masterUrl
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use api-server-url instead.
      • namespace

        @ConfigItem
        public Optional<String> namespace
        Default namespace to use
      • caCertFile

        @ConfigItem
        public Optional<String> caCertFile
        CA certificate file
      • caCertData

        @ConfigItem
        public Optional<String> caCertData
        CA certificate data
      • clientCertFile

        @ConfigItem
        public Optional<String> clientCertFile
        Client certificate file
      • clientCertData

        @ConfigItem
        public Optional<String> clientCertData
        Client certificate data
      • clientKeyFile

        @ConfigItem
        public Optional<String> clientKeyFile
        Client key file
      • clientKeyData

        @ConfigItem
        public Optional<String> clientKeyData
        Client key data
      • clientKeyAlgo

        @ConfigItem
        public Optional<String> clientKeyAlgo
        Client key algorithm
      • clientKeyPassphrase

        @ConfigItem
        public Optional<String> clientKeyPassphrase
        Client key passphrase
      • username

        @ConfigItem
        public Optional<String> username
        Kubernetes auth username
      • password

        @ConfigItem
        public Optional<String> password
        Kubernetes auth password
      • token

        @ConfigItem
        public Optional<String> token
        Kubernetes oauth token
      • watchReconnectInterval

        @ConfigItem(defaultValue="PT1S")
        public Duration watchReconnectInterval
        Watch reconnect interval
      • watchReconnectLimit

        @ConfigItem(defaultValue="-1")
        public int watchReconnectLimit
        Maximum reconnect attempts in case of watch failure By default there is no limit to the number of reconnect attempts
      • connectionTimeout

        @ConfigItem(defaultValue="PT10S")
        public Duration connectionTimeout
        Maximum amount of time to wait for a connection with the API server to be established
      • requestTimeout

        @ConfigItem(defaultValue="PT10S")
        public Duration requestTimeout
        Maximum amount of time to wait for a request to the API server to be completed
      • requestRetryBackoffLimit

        @ConfigItem(defaultValue="0")
        public Integer requestRetryBackoffLimit
        Maximum number of retry attempts for API requests that fail with an HTTP code of >= 500
      • requestRetryBackoffInterval

        @ConfigItem(defaultValue="PT1S")
        public Duration requestRetryBackoffInterval
        Time interval between retry attempts for API requests that fail with an HTTP code of >= 500
      • httpProxy

        @ConfigItem
        public Optional<String> httpProxy
        HTTP proxy used to access the Kubernetes API server
      • httpsProxy

        @ConfigItem
        public Optional<String> httpsProxy
        HTTPS proxy used to access the Kubernetes API server
      • proxyUsername

        @ConfigItem
        public Optional<String> proxyUsername
        Proxy username
      • proxyPassword

        @ConfigItem
        public Optional<String> proxyPassword
        Proxy password
      • noProxy

        @ConfigItem
        public Optional<String[]> noProxy
        IP addresses or hosts to exclude from proxying
      • generateRbac

        @ConfigItem(defaultValue="true")
        public boolean generateRbac
        Enable the generation of the RBAC manifests. If enabled and no other role binding are provided using the properties `quarkus.kubernetes.rbac.`, it will generate a default role binding using the role "view" and the application service account.
    • Constructor Detail

      • KubernetesClientBuildConfig

        public KubernetesClientBuildConfig()