Skip to content

Commit ddae24f

Browse files
committed
Merge pull request #103 from arschles/move-gcs
doc(object-storage): move the GCS section to a more global area
2 parents 2f92f53 + 33646b5 commit ddae24f

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

src/installing-workflow/configuring-object-storage.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,16 @@ These components are flexible and can work out of the box with almost any system
1313

1414
Note: object storage configuration has not been standardized across all components in our beta release. As such, configuration instructions differ for each component. We plan to remediate this problem in our next release. Please see our [deis/deis#4966](https://github.com/deis/deis/issues/4966) for our progress on that work.
1515

16-
# Minio
16+
## Minio
1717

1818
Additionally, Deis ships with a [Minio](http://minio.io) [component](https://github.com/deis/minio). This component runs as a Kubernetes service, and the components listed above are configured to automatically look for that service and use it as object storage if it's available.
1919

20+
## Google Cloud Storage
21+
22+
[Google Cloud Storage](https://cloud.google.com/storage/) (GCS) can interoperate with the S3 API using a feature called [interoperability](https://cloud.google.com/storage/docs/interoperability). If you choose to use GCS for object storage, you'll have to turn on this interoperability mode. In order to do so, please follow the steps in the [GCS migration documentation](https://cloud.google.com/storage/docs/migrating?hl=en_US#migration-simple).
23+
24+
We recommend storing these and all other credentials as Kubernetes secrets. See the below sections for details on configuring each component for details.
25+
2026
# Configuring the Deis Components
2127

2228
Every Deis component that relies on object storage relies on the following two inputs for configuration:
@@ -64,14 +70,6 @@ Note - to base64 encode your credentials, you can use the `base64` tool on most
6470
echo $MY_ACCESS_KEY | base64
6571
```
6672

67-
### A Note on Google Cloud Storage
68-
69-
Google Cloud Storage (GCS) can interoperate with the S3 API using a feature called [interoperability](https://cloud.google.com/storage/docs/interoperability). If you choose to use GCS for object storage, you'll have to turn on this interoperability mode. In order to do so, please follow the steps at https://cloud.google.com/storage/docs/migrating?hl=en_US#migration-simple.
70-
71-
When you're done, please set the `DEIS_OUTSIDE_STORAGE` environment variable to `storage.googleapis.com`, and ensure the keys that you created (as part of the previous paragraph) are in the correct locations on the filesystem.
72-
73-
Reminder: We recommend storing these and all other credentials as Kubernetes secrets. See the "Configuring Deis Components" section above for more details and examples.
74-
7573
## [deis/slugbuilder](https://github.com/deis/slugbuilder)
7674

7775
### Environment Variables
@@ -209,7 +207,7 @@ Connection details to minio are configured via `DEIS_MINIO_SERVICE_HOST` and `DE
209207

210208
If the `DATABASE_STORAGE` backend is configured as "s3", the database will receive its credentials from `/var/run/secrets/deis/objectstore/creds/`. This is generated automatically (as part of the `helm generate` command) based on the configuration options given in the https://github.com/deis/charts/blob/master/workflow-dev/tpl/objectstorage.toml file.
211209

212-
### Google Cloud Storage (S3 Compatibility Mode)
210+
### Google Cloud Storage (Interoperability Mode)
213211

214212
If the `DATABASE_STORAGE` backend is configured as "gcs", the database will receive its credentials from `/var/run/secrets/deis/database/creds/`. This is generated based on the configuration options given in the https://github.com/deis/charts/blob/master/workflow-dev/manifests/deis-minio-secret-user.yaml file. The access key and secret key must be `base64` encoded.
215213

0 commit comments

Comments
 (0)