Questions tagged [confd]

A tool to manage local configuration files using templates and data from distributed storage

confd is a lightweight configuration management tool focused on:

  • synchronizing configuration files by polling etcd or consul and processing template resources
  • reloading applications to pick up new configuration file changes

Find out more about the project on Github or the official site.

34 questions
0
votes
1 answer

Go Templates - Check whether a key exists in json list

I am using confd for a dynamic nginx service reconfiguration and having a bit of a struggle with the Go Templates. I have a json object named $data and $data.subsets may contain a key named 'addresses' -- I want to only execute the template inside…
David Houde
  • 4,835
  • 1
  • 20
  • 29
0
votes
1 answer

"Injecting" configuration files at startup

I have a number of legacy services running which read their configuration files from disk and a separate daemon which updates these files as they change in zookeeper (somewhat similar to confd). For most of these types of configuration we would love…
0
votes
1 answer

How to access etcd from a container?

I'm running Kubernetes on CoreOS on Google Compute Engine, and I'd like to access etcd from a container to enable dynamic configuration using confd. Is there any way for a container in a Pod to know the Kubernetes master's IP address?
yanana
  • 2,241
  • 2
  • 18
  • 28
0
votes
1 answer

Confd error: ERROR 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]

While debugging I realised that confd doesn't pick up the keys and my journal looks like this: Sep 18 18:31:50 ip-10-171-54-76.ec2.internal docker[24891]: [nginx] waiting for confd to refresh nginx.conf Sep 18 18:31:56 ip-10-171-54-76.ec2.internal…
user1441287
  • 401
  • 2
  • 13
1 2
3