CKE stores its data into etcd. This document describes how keys are structured.
Keys are prefixed by a constant string.
The default prefix is /cke/
.
This represents the configuration version of the constructed Kubernetes cluster. If this key does not exist, the version is considered as "1".
See cluster_overview.md for details.
cluster
key stores JSON formatted Cluster data.
constraints
key stores JSON formatted Constraints data.
JSON object that has the following fields:
Name | Required | Type | Description |
---|---|---|---|
endpoint |
true | string | URL of the Vault server. |
ca-cert |
false | string | x509 certificate in PEM format of the endpoint CA. |
role-id |
true | string | AppRole ID to login to Vault. |
secret-id |
true | string | AppRole secret to login to Vault. |
The following keys store x509 certificates in PEM format.
CA that issues TLS server certificates for docker containers.
CA that issues certificates for client and server authentication between etcd peers.
CA that issues client authentication certificates for etcd clients.
The next ID of the record formatted as a decimal string.
Each entry of audit log is stored with this type of key.
The value is JSON defined in Record.
User defined resource definitions in JSON format.
Non-namespace resources omit /<NAMESPACE>
part.
Configurations for sabakan integration.
If this key exists and its value is true
, sabakan integration is disabled.
User-specified variables for the GraphQL query.
This key stores cluster template from which cluster
will be generated.
The template is JSON formatted Cluster data.
Record the ModRevision of the template used to generate the cluster configuration.
Sabakan URL.
The reboot queue.
If this key exists and its value is true
, reboot queue is not processed.
The next index to write reboot queue entry formatted as a decimal string.
Each entry of reboot queue is stored with this type of key.
The value is JSON formatted RebootQueueEntry.
JSON object that has the following fields:
Name | Type | Description |
---|---|---|
phase |
string | CKE server processing phase represented as a string. |
timestamp |
string | RFC3339 formatted string of the time when CKE reads the cluster configuration. |