From 4db8ee39ca14975e5d52cf51e750f856c7ee684b Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Wed, 20 May 2020 09:05:38 -0700 Subject: [PATCH] Add external blobstore content (#806) --- xml/cap_depl_aks.xml | 5 +++ xml/cap_depl_caasp.xml | 5 +++ xml/cap_depl_eks.xml | 5 +++ xml/cap_depl_gke.xml | 5 +++ xml/repeated-content-decl.ent | 59 +++++++++++++++++++++++++++++++++++ 5 files changed, 79 insertions(+) diff --git a/xml/cap_depl_aks.xml b/xml/cap_depl_aks.xml index bd1992b4..21a57f5f 100644 --- a/xml/cap_depl_aks.xml +++ b/xml/cap_depl_aks.xml @@ -379,6 +379,11 @@ export NODEPOOL_NAME="mypool" &high-availability; + + + &external-blobstore; + + &external-database; diff --git a/xml/cap_depl_caasp.xml b/xml/cap_depl_caasp.xml index 148523db..8ae1c9f9 100644 --- a/xml/cap_depl_caasp.xml +++ b/xml/cap_depl_caasp.xml @@ -320,6 +320,11 @@ sed's/"namespace": "default"/"namespace": "scf"/' | kubectl create --filename - &high-availability; + + + &external-blobstore; + + &external-database; diff --git a/xml/cap_depl_eks.xml b/xml/cap_depl_eks.xml index a56c1af3..363222e2 100644 --- a/xml/cap_depl_eks.xml +++ b/xml/cap_depl_eks.xml @@ -317,6 +317,11 @@ allowVolumeExpansion: true &high-availability; + + + &external-blobstore; + + &external-database; diff --git a/xml/cap_depl_gke.xml b/xml/cap_depl_gke.xml index 8d203b98..12024bb8 100644 --- a/xml/cap_depl_gke.xml +++ b/xml/cap_depl_gke.xml @@ -261,6 +261,11 @@ &high-availability; + + + &external-blobstore; + + &external-database; diff --git a/xml/repeated-content-decl.ent b/xml/repeated-content-decl.ent index b172ed8d..8cb48539 100644 --- a/xml/repeated-content-decl.ent +++ b/xml/repeated-content-decl.ent @@ -1744,6 +1744,65 @@ perl -ne '/^sizing/..0 and do { print $.,":",$_ if /^ [a-z]/ || /high avail '> + + + + External Blobstore + + + &cf; Application Runtime (CFAR) uses a blobstore (see + ) + to store the source code that developers push, stage, and run. This section + explains how to configure an external blobstore for the Cloud Controller + component of your &productname; deployment. + + + &productname; relies on ops files (see + ) + provided by cf-deployment (see ) + releases for external blobstore configurations. The default configuration for + the blobstore is singleton. + + + Configuration + + Currently &productname; supports Amazon Simple Storage Service (Amazon S3, + see ) as an external blobstore + . In order to configure Amazon S3 as an external blobstore, set the following + in your kubecf-config-values.yaml file and replace the + example values. + +features: + blobstore: + provider: s3 + s3: + aws_region: "us-east-1" + blobstore_access_key_id: AWS-ACCESS-KEY-ID + blobstore_secret_access_key: AWS-SECRET-ACCESS-KEY> + # User provided value for the blobstore admin password. + blobstore_admin_users_password: PASSWORD + # The following values are used as S3 bucket names. The buckets are automatically created if not present. + app_package_directory_key: APP-BUCKET-NAME + buildpack_directory_key: BUILDPACK-BUCKET-NAME + droplet_directory_key: DROPLET-BUCKET-NAME + resource_directory_key: RESOURCE-BUCKET-NAME + + + <literal>us-east-1</literal> as Only Valid Region + + Currently, there is a limitation where only us-east-1 can + be chosen as the aws_region. For more information about + this issue, see + . + + + + Ensure the supplied AWS credentials have appropriate permissions as described + at . + + '> +