Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

10.6. Container sync realms configuration


Find an example container sync realms configuration at etc/container-sync-realms.conf-sample in the source code repository.
The available configuration options are:
Expand
Table 10.28. Description of configuration options for [DEFAULT] in container-sync-realms.conf
Configuration option = Default value Description
mtime_check_interval = 300 No help text available for this option.
Expand
Table 10.29. Description of configuration options for [realm1] in container-sync-realms.conf
Configuration option = Default value Description
cluster_name1 = https://host1/v1/ No help text available for this option.
cluster_name2 = https://host2/v1/ No help text available for this option.
key = realm1key No help text available for this option.
key2 = realm1key2 No help text available for this option.
Expand
Table 10.30. Description of configuration options for [realm2] in container-sync-realms.conf
Configuration option = Default value Description
cluster_name3 = https://host3/v1/ No help text available for this option.
cluster_name4 = https://host4/v1/ No help text available for this option.
key = realm2key No help text available for this option.
key2 = realm2key2 No help text available for this option.

10.6.1. Sample container sync realms configuration file

# [DEFAULT]
# The number of seconds between checking the modified time of this config file
# for changes and therefore reloading it.
# mtime_check_interval = 300


# [realm1]
# key = realm1key
# key2 = realm1key2
# cluster_name1 = https://host1/v1/
# cluster_name2 = https://host2/v1/
#
# [realm2]
# key = realm2key
# key2 = realm2key2
# cluster_name3 = https://host3/v1/
# cluster_name4 = https://host4/v1/


# Each section name is the name of a sync realm. A sync realm is a set of
# clusters that have agreed to allow container syncing with each other. Realm
# names will be considered case insensitive.
#
# The key is the overall cluster-to-cluster key used in combination with the
# external users' key that they set on their containers' X-Container-Sync-Key
# metadata header values. These keys will be used to sign each request the
# container sync daemon makes and used to validate each incoming container sync
# request.
#
# The key2 is optional and is an additional key incoming requests will be
# checked against. This is so you can rotate keys if you wish; you move the
# existing key to key2 and make a new key value.
#
# Any values in the realm section whose names begin with cluster_ will indicate
# the name and endpoint of a cluster and will be used by external users in
# their containers' X-Container-Sync-To metadata header values with the format
# "realm_name/cluster_name/container_name". Realm and cluster names are
# considered case insensitive.
#
# The endpoint is what the container sync daemon will use when sending out
# requests to that cluster. Keep in mind this endpoint must be reachable by all
# container servers, since that is where the container sync daemon runs. Note
# the the endpoint ends with /v1/ and that the container sync daemon will then
# add the account/container/obj name after that.
#
# Distribute this container-sync-realms.conf file to all your proxy servers
# and container servers.
Copy to Clipboard Toggle word wrap
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat