Skip to content

Commit c78854f

Browse files
committed
Merge pull request #4525 from duanhongyi/patch-2
docs(managing_deis): add OpenStack Swift store example
2 parents 216fbb1 + 8e484a6 commit c78854f

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

docs/managing_deis/running-deis-without-ceph.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ than the :ref:`logger` component.
116116
Configure registry
117117
^^^^^^^^^^^^^^^^^^
118118

119-
The :ref:`registry` component won't start until it's configured with an S3 store.
119+
The :ref:`registry` component won't start until it's configured with a store.
120+
121+
S3 store configuration sample:
120122

121123
.. code-block:: console
122124
@@ -174,6 +176,19 @@ the registry:
174176
"Version": "2012-10-17"
175177
}
176178
179+
Openstack-swift support requires `Swift3`_ middleware to be installed. Here is a sample configuration:
180+
181+
.. code-block:: console
182+
183+
$ SWIFT_CONTAINER=mycontainer
184+
$ SWIFT_USER=system:root
185+
$ SWIFT_SECRET_KEY=testpass
186+
$ deisctl config registry set bucketName=${SWIFT_CONTAINER}
187+
$ deisctl config store set gateway/accessKey=${SWIFT_USER} \
188+
gateway/secretKey=${SWIFT_SECRET_KEY} \
189+
gateway/host=10.1.50.1 \
190+
gateway/port=8080
191+
177192
Configure database settings
178193
^^^^^^^^^^^^^^^^^^^^^^^^^^^
179194

@@ -219,3 +234,4 @@ When following the :ref:`upgrading-deis` documentation, be sure to use
219234
.. _`Amazon S3`: http://aws.amazon.com/s3/
220235
.. _`Arne-Christian Blystad`: https://github.com/blystad
221236
.. _`Papertrail`: https://papertrailapp.com/
237+
.. _`Swift3`: https://github.com/stackforge/swift3

0 commit comments

Comments
 (0)