A sample Kubernetes Host definition, together with information on all the properties that can be added in a Kubernetes Host definition JSON are as follows:
Sample Kubernetes Host definition JSON
The following are sample configurations that can be used in a JSON to define a Kubernetes Host:
{ "hostId": "minion-7", "hostname": "minion-7.dev.kubernetes.org", "privateIPAddress": "172.17.8.103", "publicIPAddress": "172.17.8.103", "property": [ ] }
Property definitions
|
|
|
|
|
Main properties
Property | W | R | U | Description | M | DV | Data Type | Example | |
---|---|---|---|---|---|---|---|---|---|
JSON | UI | ||||||||
hostId | hostId | √ | √ | Unique ID of the Kubernetes Host | Yes | N/A | String | minion-1 | |
privateIpAddress | privateIpAddress | √ | √ | The private IP address of the Kubernetes Host. | Yes | N/A | String | 172.17.8.102 | |
publicIPAddress | publicIpAddress | √ | √ | The public IP address of the Kubernetes Host. | Yes | N/A | String | 172.17.8.102 | |
hostname | hostname | √ | √ | The host name of the Kubernetes Host. | Yes | N/A | String | minion-1.dev.kubernetes.org | |
property | property | √ | √ | The Kubernetes Host properties are listed as name value pairs. For more information on the sub-properties, see property. | Yes | N/A | property array |
Sub-properties
property
Property | W | R | U | Description | R | DV | Data Type | Example | |
---|---|---|---|---|---|---|---|---|---|
JSON | UI | ||||||||
name | √ | √ | The name of the property being passed. | No | N/A | String | |||
value | √ | √ | The value corresponding to the value being passed. | No | N/A | String |
Overview
Content Tools
Activity