mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
create cloudprovider "providers" package
move all providers into new package update all references to old package path
This commit is contained in:
@@ -669,7 +669,7 @@ Apiserver supports several cloud providers.
|
||||
|
||||
- options for `--cloud-provider` flag are `aws`, `gce`, `mesos`, `openshift`, `ovirt`, `rackspace`, `vagrant`, or unset.
|
||||
- unset used for e.g. bare metal setups.
|
||||
- support for new IaaS is added by contributing code [here](../../pkg/cloudprovider/)
|
||||
- support for new IaaS is added by contributing code [here](../../pkg/cloudprovider/providers/)
|
||||
|
||||
Some cloud providers require a config file. If so, you need to put config file into apiserver image or mount through hostPath.
|
||||
|
||||
@@ -677,7 +677,7 @@ Some cloud providers require a config file. If so, you need to put config file i
|
||||
- Used by `aws`, `gce`, `mesos`, `openshift`, `ovirt` and `rackspace`.
|
||||
- You must put config file into apiserver image or mount through hostPath.
|
||||
- Cloud config file syntax is [Gcfg](https://code.google.com/p/gcfg/).
|
||||
- AWS format defined by type [AWSCloudConfig](../../pkg/cloudprovider/aws/aws.go)
|
||||
- AWS format defined by type [AWSCloudConfig](../../pkg/cloudprovider/providers/aws/aws.go)
|
||||
- There is a similar type in the corresponding file for other cloud providers.
|
||||
- GCE example: search for `gce.conf` in [this file](../../cluster/gce/configure-vm.sh)
|
||||
|
||||
|
Reference in New Issue
Block a user