DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
| CLI command | update-kubernetes-master |
| Description | Update the master node of the Kubernetes-CoreOS Cluster. |
| Command format |
The path to the JSON file that defines the Kubernetes-CoreOS Master needs to be defined as the |
Short option | Long option | Description | Required | Example value |
|---|---|---|---|---|
| --resource-path | Folder path where the JSON file that defines the Kubernetes-CoreOS Master is stored. | Yes | <STRATOS_SOURCE_HOME>/samples/kubernetes-clusters |
| --cluster-id | ID of the Kubernetes CoreOS Cluster. | Yes |
|
{
"hostId": "master",
"hostname": "master.dev.kubernetes.org",
"privateIPAddress": "172.17.8.105",
"publicIPAddress": "172.17.8.109",
"property": [
]
}
For information on all the properties that can be used in a Kubernetes Master definition, see the Kubernetes Master Resource Definition.
Use case: Update the master node of the Kubernetes-CoreOS Cluster with the Kubernetes Master details defined in the <STRATOS_SOURCE_HOME>/samples/kubernetes-clusters/kubernetes-master.json file.
update-kubernetes-master -c kubernetes-cluster-1 -p <STRATOS_SOURCE_HOME>/samples/kubernetes-clusters/kuberenetes-master.json
Successfully updated kubernetes master.