This documentation is for WSO2 Private PaaS 4.1.0. View documentation for the latest release.
Kubernetes Host Resource Definition - WSO2 Private PaaS 4.1.0 - WSO2 Documentation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
||
Skip to end of metadata
Go to start of metadata

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

  • W = Writable
  • R = Readable
  • U = Updatable
  • M = Mandatory (Required)
  • DV = Default Value

Main properties

PropertyWRUDescriptionMDVData
Type 
Example
JSONUI
hostIdhostId Unique ID of the Kubernetes HostYesN/A String
minion-1
privateIpAddressprivateIpAddress The private IP address of the Kubernetes Host.YesN/A String
172.17.8.102
publicIPAddress
publicIpAddress The public IP address of the Kubernetes Host.YesN/A String
172.17.8.102
hostnamehostname The host name of the Kubernetes Host.YesN/A String
minion-1.dev.kubernetes.org
propertyproperty The Kubernetes Host properties are listed as name value pairs. For more information on the sub-properties, see property.YesN/Aproperty array 

Sub-properties

property
PropertyWRUDescriptionRDVData TypeExample
JSONUI
name  The name of the property being passed.NoN/AString 
value  The value corresponding to the value being passed.NoN/AString 
  • No labels