A sample Kubernetes Master definition, together with information on all the properties that can be added in a Kubernetes Master definition JSON are as follows:

Sample Kubernetes Master definition JSON

The following are sample configurations that can be used in a JSON to define a Kubernetes-CoreOS Master:

{
  "hostId": "master",
  "hostname": "master.dev.kubernetes.org",
  "privateIPAddress": "172.17.8.105",
  "publicIPAddress": "172.17.8.109",
  "property": [
    
  ]
}

Property definitions

Main properties

PropertyDescriptionData TypeExample
JSONUI

hostId

 hostId Unique ID of the Kubernetes master.YesN/AStringmaster
hostnamehostname The hostname of the Kubernetes master.YesN/AStringmaster.dev.kubernetes.org
privateIPAddressprivateIPAddress The IP address of the Kubernetes master used to communicate within the Kubernetes cluster.YesN/AString172.17.8.101 
publicIPAddresspublicIPAddress The IP address of the Kubernetes master used for external communication.YesN/AString172.17.8.101 
propertyproperty These are properties that are used by Stratos when creating the Stratos Kubernetes Master. These properties are listed as name value pairs. For more information on the sub-properties, see property.YesN/Aproperty arrayN/A

Sub-properties

property
PropertyDescriptionData 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