Skip to content

etcd job from cfcr-etcd/1.12.1

Github source: 8ac451b or master branch

Properties

etcd

dns_suffix

If provided, used as a DNS suffix for all nodes in the etcd cluster

metrics_port

IF provided with etcd.metrics_protocol, metrics endpoints listen on the port. 2379 and 2380 can not be used.

metrics_protocol

IF provided with etcd.metrics_port, metrics endpoints listen with the protocol. http or https.

tls

etcd

ca

CA for etcd client and server authentication

certificate

Certificate for etcd client and server authentication

private_key

Private key for etcd client and server authentication

etcdctl

ca

CA for etcdctl client authentication

certificate

Certificate for etcdctl client authentication

private_key

Private key for etcdctl client authentication

etcdctl-root

certificate

Certificate for etcdctl client authentication with CN root

private_key

Private key for etcdctl client authentication with CN root

peer

ca

CA for peer authentication

certificate

Certificate for peer authentication

private_key

Private key for peer authentication

users

List of user’s name, permissions, path, and whether the path is a prefix. Etcd will use these info to set up rbac rules for these users

Example
|+
  - name: root
    password: ((etcd_user_root_password))
    versions: [ "v2", "v3" ]
  - name: flanneld
    permissions:
      read:
      - /coreos.com/network/*
      write:
      - /coreos.com/network/*
    password: ((etcd_user_flanneld_password))
    versions: [ "v2" ]
  - name: foo
    permissions:
      read:
      - /bar
    password: pass
    versions: [ "v2", "v3" ]

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/etcd/ directory (learn more).

  • bin/authentication-setup (from bin/authentication-setup.erb)
  • bin/drain (from bin/drain.erb)
  • bin/ensure-member-healthy (from bin/ensure-member-healthy.erb)
  • bin/etcd (from bin/etcd.erb)
  • bin/etcdctl (from bin/etcdctl.erb)
  • bin/post-start (from bin/post-start.erb)
  • bin/pre-start (from bin/pre-start.erb)
  • bin/setup (from bin/setup.erb)
  • bin/utils.sh (from bin/utils.sh.erb)
  • config/bpm.yml (from config/bpm.yml.erb)
  • config/etcd-ca.crt (from config/etcd-ca.crt.erb)
  • config/etcd.crt (from config/etcd.crt.erb)
  • config/etcd.key (from config/etcd.key.erb)
  • config/etcdctl-ca.crt (from config/etcdctl-ca.crt.erb)
  • config/etcdctl-root.crt (from config/etcdctl-root.crt.erb)
  • config/etcdctl-root.key (from config/etcdctl-root.key.erb)
  • config/etcdctl.crt (from config/etcdctl.crt.erb)
  • config/etcdctl.key (from config/etcdctl.key.erb)
  • config/peer-ca.crt (from config/peer-ca.crt.erb)
  • config/peer.crt (from config/peer.crt.erb)
  • config/peer.key (from config/peer.key.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.