forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes#387 from ddysher/cleanup-log
cleanup logs & update README
- Loading branch information
Showing
7 changed files
with
39 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Caicloud baremetal cloudprovider | ||
|
||
Baremetal cloudprovider implements kubernetes cloudprovider plugin. It assumes nothing but a few running instances. | ||
|
||
## Create a development cluster | ||
|
||
To create a kubernetes cluster for local developement, first create VMs using Vagrant file: | ||
``` | ||
vagrant up | ||
``` | ||
|
||
This will create two ubuntu VMs with dedicated IP addresses. Now, to bring up kubernete cluster, simply run: | ||
``` | ||
KUBERNETES_PROVIDER=caicloud-baremetal ./cluster/kube-up.sh | ||
``` | ||
|
||
#### Options: | ||
|
||
There are quite a few options used to create a baremetal cluster, located at `config-default.sh`. Following is a curated list of options | ||
used in kube-up. For a full list of options, consult the file. | ||
|
||
* `KUBE_DISTRO`: The Linux distribution of underline OS, currently only ubuntu:trusty is supported. | ||
|
||
* `MASTER_SSH_INFO`: The master ssh information in the format of "username:password@ip_address". HA master is currently supported. | ||
|
||
* `NODE_SSH_INFO`: The master ssh information in the format of "username:password@ip_address". Multiple nodes are separated via comma. | ||
|
||
* `REGISTER_MASTER_KUBELET`: The flag controls whether we registry master as a node, this is true by default. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters