...
The following are sample configurations that can be used in a JSON to define a Kubernetes-CoreOS Cluster:
Excerpt |
---|
...
Localtabgroup | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
-include | ||||||
---|---|---|---|---|---|---|
|
Note | ||
---|---|---|
You can configure the Example:
|
...
Panel | |||||
---|---|---|---|---|---|
|
Main property definitions
Property | W | R | U | Description | M | DV | Data | Example | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JSON | UI | ||||||||||||||
| clusterId | √ | √ | X | ID of the Kubernetes cluster. This needs to be a unique value. | Yes | N/A | String | kubernetes-cluster-1 | ||||||
| description | √ | √ | √ | A short description of the Kubernetes Cluster. | Yes | N/A | String | Kubernetes Cluster 1 | ||||||
| kubernetesMaster | √ | √ | √ | The Kubernetes master definition. For more information on the sub-properties, see kubernetesMaster. | Yes | N/A | kubernetesMaster | N/A | ||||||
| portRange | √ | √ | √ | The allowed port range for the service. | Yes | N/A | portRange | N/A | ||||||
| kubernetesHosts | √ | √ | √ | The Kubernetes host (salve/minion) definition. or more information on the sub-properties, see kubernetesHosts. | Yes | N/A | kubernetesHosts array | N/A | ||||||
| property | √ | √ | √ | These are properties that are used by Stratos PPaaS when creating the Stratos PPaaS Kubernetes Cluster. These properties are listed as name value pairs. | Yes | N/A | property array | N/A |
Sub-parameter definitions
kubernetesMaster
Property | W | R | U | Description | M | DV | Data | Example | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JSON | UI | ||||||||||||||
| hostId | √ | √ | X | Unique ID of the Kubernetes master. | Yes | N/A | String | master | ||||||
| hostname | √ | √ | √ | The hostname of the Kubernetes master. | Yes | N/A | String | master.dev.kubernetes.org | ||||||
| privateIPAddress | √ | √ | √ | The IP address of the Kubernetes master used to communicate within the Kubernetes cluster. | Yes | N/A | String | 172.17.8.101 | ||||||
| publicIPAddress | √ | √ | √ | The IP address of the Kubernetes master used for external communication. | Yes | N/A | String | 172.17.8.101 | ||||||
| property | √ | √ | √ | These are properties that are used by Stratos PPaaS when creating the Stratos PPaaS Kubernetes Master. These properties are listed as name value pairs. For more information on the sub-properties, see property . | Yes | N/A | property array | N/A |
kubernetesHost
Property | W | R | U | Description | M | DV | Data | Example | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JSON | UI | ||||||||||||||
| hostId | √ | √ | X | Unique ID of the Kubernetes Host. | Yes | N/A | String | minion-1 | ||||||
| hostname | √ | √ | √ | The hostname of the Kubernetes Host. | Yes | N/A | String | minion-1.dev.kubernetes.org | ||||||
| privateIPAddress | √ | √ | √ | The IP address of the Kubernetes Host used to communicate within the Kubernetes Cluster. | Yes | N/A | String | 172.17.8.102 | ||||||
| publicIPAddress | √ | √ | √ | The IP address of the Kubernetes Host used for external communication. | Yes | N/A | String | 172.17.8.102 | ||||||
| property | √ | √ | √ | These are properties that are used by Stratos PPaaS when creating the Stratos PPaaS Kubernetes Host. These properties are listed as name value pairs. For more information on the sub-properties, see property. | Yes | N/A | property array | N/A |
portRange
Property | W | R | U | Description | M | DV | Data | Example | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JSON | UI | ||||||||||||||
| lower | √ | √ | √ | This is the lower limit of the service port range. | Yes | N/A | Int | 4500 | ||||||
| upper | √ | √ | √ | This is the upper limit of the service port range. | Yes | N/A | Int | 5000 |
...