github.com/cilium/cilium@v1.16.2/Documentation/cmdref/kvstore.rst (about)

     1  .. only:: not (epub or latex or html)
     2  
     3      WARNING: You are looking at unreleased Cilium documentation.
     4      Please use the official rendered version released here:
     5      https://docs.cilium.io
     6  
     7  .. _install_kvstore:
     8  
     9  Key-Value Store
    10  ===============
    11  
    12  +---------------------+--------------------------------------+----------------------+
    13  | Option              | Description                          | Default              |
    14  +---------------------+--------------------------------------+----------------------+
    15  | --kvstore TYPE      | Key Value Store Type:                |                      |
    16  |                     | (consul, etcd)                       |                      |
    17  +---------------------+--------------------------------------+----------------------+
    18  | --kvstore-opt OPTS  |                                      |                      |
    19  +---------------------+--------------------------------------+----------------------+
    20  
    21  etcd
    22  ----
    23  
    24  When using etcd, one of the following options need to be provided to configure the
    25  etcd endpoints:
    26  
    27  +---------------------+---------+---------------------------------------------------+
    28  | Option              |  Type   | Description                                       |
    29  +---------------------+---------+---------------------------------------------------+
    30  | etcd.address        | Address | Address of etcd endpoint                          |
    31  +---------------------+---------+---------------------------------------------------+
    32  | etcd.config         | Path    | Path to an etcd configuration file.               |
    33  +---------------------+---------+---------------------------------------------------+
    34  
    35  Example of the etcd configuration file:
    36  
    37  .. code-block:: yaml
    38  
    39      ---
    40      endpoints:
    41      - https://192.168.0.1:2379
    42      - https://192.168.0.2:2379
    43      trusted-ca-file: '/var/lib/cilium/etcd-ca.pem'
    44      # In case you want client to server authentication
    45      key-file: '/var/lib/cilium/etcd-client.key'
    46      cert-file: '/var/lib/cilium/etcd-client.crt'
    47