Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 2.84 KB

File metadata and controls

61 lines (44 loc) · 2.84 KB
title:Customizing store-daemon
description:Learn how to tune custom Deis settings.

Customizing store-daemon

The following settings are tunable for the :ref:`store` component's daemon service.

Dependencies

Requires: :ref:`store-monitor <store_monitor_settings>`

Required by: :ref:`store-gateway <store_gateway_settings>`

Considerations: none

Settings set by store-daemon

The following etcd keys are set by the store-daemon component, typically in its /bin/boot script.

setting description
/deis/store/osds/$HOST Ceph OSD ID for this OSD instance (generated by Ceph)

Settings used by store-daemon

The following etcd keys are used by the store-daemon component.

setting description
/deis/store/adminKeyring keyring for an admin user to access the Ceph cluster (set by store-monitor)
/deis/store/conf Ceph configuration file shared by store components (set by store-monitor)
/deis/store/hosts deis-monitor hosts (set by store-monitor)
/deis/store/monKeyring keyring for the monitor to access the Ceph cluster (set by store-monitor)
/deis/store/monSetupComplete set when the Ceph cluster setup is complete

Using a custom store-daemon image

You can use a custom Docker image for the store-daemon component instead of the image supplied with Deis:

$ deisctl config store-daemon set image myaccount/myimage:latest

This will pull the image from the public Docker registry. You can also pull from a private registry:

$ deisctl config store-daemon set image registry.mydomain.org:5000/myaccount/myimage:latest

Be sure that your custom image functions in the same way as the stock store-daemon image shipped with Deis. Specifically, ensure that it sets and reads appropriate etcd keys.