Skip to content

Commit 9acce65

Browse files
author
Aaron Schlesinger
committed
doc(README.md): add documentation on configuring the controller for object storage
1 parent 3ec9715 commit 9acce65

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ A variety of Deis components rely on an object storage system to do their work.
55
- [builder](https://github.com/deis/builder)
66
- [slugbuilder](https://github.com/deis/slugbuilder)
77
- [slugrunner](https://github.com/deis/slugrunner)
8+
- [controller](https://github.com/deis/controller)
89
- [registry](https://github.com/deis/registry)
910
- [database](https://github.com/deis/postgres)
1011

@@ -89,6 +90,20 @@ The slugrunner reads credentials from the below locations on the filesystem.
8990
- Key: `/var/run/secrets/object/store/access-key-id`
9091
- Secret: `/var/run/secrets/object/store/access-key-secret`
9192

93+
## [deis/controller](https://github.com/deis/controller)
94+
95+
When the controller needs to launch a new buildpack application or scale one up, it uses a [replication controller](http://kubernetes.io/docs/user-guide/replication-controller/). Since the slugrunner needs to download the slug to run, it needs the object storage location of the slug and the object storage credentials.
96+
97+
### Environment Variables
98+
99+
The controller needs no environment variables for object storage configuration.
100+
101+
### Credentials
102+
103+
Since the object storage location information comes from the builder, the controller only needs access to the credentials information. The controller gets this information by accessing the `minio-user` secret directly from the Kubernetes API.
104+
105+
No paths need to be mounted into the pod. Simply ensure that the secret exists in your Kubernetes cluster with the correct credentials.
106+
92107
## [deis/registry](https://github.com/deis/registry)
93108

94109
The registry is configured slightly differently from most of the other components. Read on for details.

0 commit comments

Comments
 (0)