Dynamic PVs backed by EBS can be enabled by adding setting up the AWS provider:
{noformat} "openshift_cloudprovider_kind": "aws", "openshift_cloudprovider_aws_access_key": "access-key", "openshift_cloudprovider_aws_secret_key": "secret-key", "openshift_clusterid": "clusterid" {noformat}
This will enable the AWS provider which allows it to create/delete AWS resources, and by default when this is enabled the default storage kind is set to EBS.
*Notes:*
* The node name had to be the internal DNS name of the AWS instance e.g. ip-10-10-0-41.eu-west-1.compute.internal This can be achieved by changing the connect_to and hostname attributes in the installer config:
{noformat} - connect_to: ip-10-10-0-41.eu-west-1.compute.internal hostname: ip-10-10-0-41.eu-west-1.compute.internal {noformat}
* All AWS instances, subnets and sec groups(1 of at least) must be tagged with a unique cluster specific tag:
{noformat} key = kubernetes.io/cluster/clusterid, value = clusterid {noformat}
clusterid should match the "openshift_clusterid" attribute. |
|