Configuration Reference
Version:8.0.0-SNAPSHOT
Micronaut Kubernetes Client Config Properties
🔗Property | Type | Description |
---|---|---|
|
long |
Default refresh interval of API discovery. |
Property | Type | Description |
---|---|---|
|
java.util.Optional |
kubernetes api base path |
|
java.util.Optional |
kubernetes ca file path |
|
java.util.Optional |
kubernetes auth token file path |
|
java.util.Optional |
kubernetes kube config path |
|
java.util.Optional |
kubernetes client namespace |
|
boolean |
should verify ssl |
Micronaut Kubernetes Client Openapi Common Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.lang.String |
Sets kube config path. |
|
boolean |
Enable/disable kubernetes client. |
|
java.lang.String |
Sets kubernetes client namespace. |
Property | Type | Description |
---|---|---|
|
||
|
||
|
java.lang.String |
|
|
||
|
boolean |
|
|
boolean |
|
|
boolean |
|
|
java.lang.String |
|
|
java.nio.charset.Charset |
|
|
java.util.Map |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.lang.Integer |
|
|
java.lang.Class |
|
|
int |
|
|
int |
|
|
java.net.Proxy$Type |
|
|
java.net.SocketAddress |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.net.ProxySelector |
|
|
||
|
java.util.List |
|
|
boolean |
|
|
||
|
java.lang.String |
|
|
java.lang.String |
Property | Type | Description |
---|---|---|
|
boolean |
Enable/disable service account authentication. |
|
java.lang.String |
Sets path to the certificate authority file. |
|
java.lang.String |
Sets path to the token file. |
|
java.lang.String |
Sets path to the namespace file. |
|
java.time.Duration |
Sets token reload interval. |
Micronaut Kubernetes Client Openapi Discovery Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
|
|
java.util.Collection |
the names to include |
|
java.util.Collection |
the names to exclude |
|
java.util.Map |
labels to match |
|
java.util.List |
podLabels to match |
|
boolean |
If set to true an exception will be thrown if at least one of the configured pod labels is not found among the application’s pod labels. Default value ({@link #DEFAULT_EXCEPTION_ON_POD_LABELS_MISSING}). |
|
java.util.Collection |
paths where secrets are mounted |
|
boolean |
whether to use the API to read secrets when {@link #paths} is used. |
|
boolean |
whether to enable watching for the ConfigMap changes. |
|
boolean |
Flag which determines whether to terminate service startup if not able to load config from kubernetes. Default value: {@link #DEFAULT_TERMINATE_STARTUP_ON_EXCEPTION}. |
Property | Type | Description |
---|---|---|
|
boolean |
|
|
java.util.Collection |
the names to include |
|
java.util.Collection |
the names to exclude |
|
java.util.Map |
labels to match |
|
java.util.List |
podLabels to match |
|
boolean |
If set to true an exception will be thrown if at least one of the configured pod labels is not found among the application’s pod labels. Default value ({@link #DEFAULT_EXCEPTION_ON_POD_LABELS_MISSING}). |
|
java.lang.String |
default service discovery mode |
Property | Type | Description |
---|---|---|
|
java.lang.String |
Set service name. |
|
java.lang.String |
Service namespace. |
|
java.lang.String |
Set service discovery mode. |
|
java.lang.String |
Sets port number. Required in case of multi-port resource. |
Property | Type | Description |
---|---|---|
|
java.lang.String |
the namespace |
Property | Type | Description |
---|---|---|
|
java.util.Collection |
the names to include |
|
java.util.Collection |
the names to exclude |
|
java.util.Map |
labels to match |
|
java.util.List |
podLabels to match |
|
boolean |
If set to true an exception will be thrown if at least one of the configured pod labels is not found among the application’s pod labels. Default value ({@link #DEFAULT_EXCEPTION_ON_POD_LABELS_MISSING}). |
|
java.util.Collection |
paths where secrets are mounted |
|
boolean |
whether to use the API to read secrets when {@link #paths} is used. |
|
boolean |
whether to enable watching for the ConfigMap changes. |
|
boolean |
Flag which determines whether to terminate service startup if not able to load config from kubernetes. Default value: {@link #DEFAULT_TERMINATE_STARTUP_ON_EXCEPTION}. |
|
boolean |
enabled flag. |
Micronaut Kubernetes Client Openapi Informer Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
|
|
java.time.Duration |
Timout for informer to get synchronised. |
|
java.time.Duration |
Timeout step to check whether the informer has synchronised. |
Micronaut Kubernetes Client Openapi Operator Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
|
|
int |
The operator controller worker count. Default "4". |
|
java.time.Duration |
Timeout to wait on informers to be synced. Default "30s". |
|
java.time.Duration |
How often the informer sync status should be checked until they are ready or timeout expires. Default "1s". |
Property | Type | Description |
---|---|---|
|
boolean |
|
|
java.time.Duration |
The lock lease duration. Default "10s". |
|
java.time.Duration |
The lock renew deadline. If the leader elector fails to renew the lock within the deadline, then the controller loses the lock. Default "8s". |
|
java.time.Duration |
The lock acquire retry period. Default "5s". |
|
java.util.Optional |
The lock resource name. If not provided then the application name is used. |
|
java.util.Optional |
The lock resource namespace. If not provided then the application namespace is used. |
Micronaut Kubernetes Discovery Client Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.util.Collection |
the names to include |
|
java.util.Collection |
the names to exclude |
|
java.util.Map |
labels to match |
|
java.util.List |
podLabels to match |
|
boolean |
If set to true an exception will be thrown if at least one of the configured pod labels is not found among the application’s pod labels. Default value ({@link #DEFAULT_EXCEPTION_ON_POD_LABELS_MISSING}). |
|
java.util.Collection |
paths where secrets are mounted |
|
boolean |
whether to use the API to read secrets when {@link #paths} is used. |
|
boolean |
whether to enable watching for the ConfigMap changes. |
|
boolean |
enabled flag. |
Property | Type | Description |
---|---|---|
|
java.lang.String |
Set service id. |
|
java.lang.String |
Set service name. |
|
java.lang.String |
Service namespace. |
|
java.lang.String |
Set service discovery mode. |
|
java.lang.String |
Sets port number. Required in case of multi-port resource. |
Property | Type | Description |
---|---|---|
|
java.lang.String |
the namespace |
Property | Type | Description |
---|---|---|
|
boolean |
|
|
java.util.Collection |
the names to include |
|
java.util.Collection |
the names to exclude |
|
java.util.Map |
labels to match |
|
java.util.List |
podLabels to match |
|
boolean |
If set to true an exception will be thrown if at least one of the configured pod labels is not found among the application’s pod labels. Default value ({@link #DEFAULT_EXCEPTION_ON_POD_LABELS_MISSING}). |
|
java.lang.String |
default service discovery mode |
Property | Type | Description |
---|---|---|
|
boolean |
|
|
java.util.Collection |
the names to include |
|
java.util.Collection |
the names to exclude |
|
java.util.Map |
labels to match |
|
java.util.List |
podLabels to match |
|
boolean |
If set to true an exception will be thrown if at least one of the configured pod labels is not found among the application’s pod labels. Default value ({@link #DEFAULT_EXCEPTION_ON_POD_LABELS_MISSING}). |
|
java.util.Collection |
paths where secrets are mounted |
|
boolean |
whether to use the API to read secrets when {@link #paths} is used. |
|
boolean |
whether to enable watching for the ConfigMap changes. |
Micronaut Kubernetes Informer Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
|
|
long |
Timout for informer to get synchronised. |
|
long |
Timeout step to check whether the informer has synchronised. |
|
java.util.Optional |
Resync period to use for all informers. |
Micronaut Kubernetes Operator Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
|
|
int |
The operator controller worker count. Default "16". |
|
java.util.Optional |
Timeout to wait before the informers are checked for readiness. |
Property | Type | Description |
---|---|---|
|
java.time.Duration |
Sets the lock lease duration. |
|
java.time.Duration |
Sets the lock renew deadline. If the {@link io.kubernetes.client.extended.leaderelection.LeaderElector} fails to renew the lock within the deadline then the controller looses the lock. |
|
java.time.Duration |
Sets the lock acquire retry period. |
|
java.lang.String |
Sets the lock resource name. |
|
java.lang.String |
Sets the lock resource namespace. |