THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Name | Default Value | Description |
---|---|---|
lookup | environment | What strategy to lookup the service. Possible values: environment, dns, client. By default enviornment is used to use environment variables. dns is for using DNS domain names. client is for use Java Client to call the kubernetes master API and query which servers are active hosting the service. |
dnsDomain | Sets the DNS domain to use for DNS lookup. | |
namespace | The kubernetes namespace to use. Will by default use namespace from the ENV variable KUBERNETES_MASTER. | |
apiVersion | Client lookup. Kubernetes API version. | |
masterUrl | Client lookup. The url for the Kubernets master. | |
username | Sets the username for authentication when using client lookup | |
password | Sets the password for authentication when using client lookup | |
oauthToken | Sets the OAUTH token for authentication (instead of username/password) when using client lookup | |
caCertData | Sets the Certificate Authority data when using client lookup | |
caCertFile | Sets the Certificate Authority data that are loaded from the file when using client lookup | |
clientCertData | Sets the Client Certificate data when using client lookup | |
clientCertFile | Sets the Client Certificate data that are loaded from the file when using client lookup | |
clientKeyAlgo | Sets the Client Keystore algorithm, such as RSA when using client lookup | |
clientKeyData | Sets the Client Keystore data when using client lookup | |
clientKeyFile | Sets the Client Keystore data that are loaded from the file when using client lookup | |
clientKeyPassphrase | Sets the Client Keystore passphrase when using client lookup | |
trustCerts | false | Sets whether to turn on trust certificate check when using client lookup |
Ribbon Configuration
Name | Default Value | Type | Description |
---|---|---|---|
|
Example
Below is an example route that calls a service in kubernetes with the name foo.
Code Block |
---|
from("direct:start")
.serviceCall("foo")
.to("mock:result"); |
And in XML DSL:
...
Currenly no ribbon specific options yet.