Skip to content

Instantly share code, notes, and snippets.

@vFondevilla
Last active December 1, 2017 17:29
Show Gist options
  • Save vFondevilla/6ab3f5bbc668d6a3be1f5fcde49eb5fb to your computer and use it in GitHub Desktop.
Save vFondevilla/6ab3f5bbc668d6a3be1f5fcde49eb5fb to your computer and use it in GitHub Desktop.
ConfiguracionHeteki.json
{
"_port_comment": "Heketi Server Port Number",
"port": "8080",
"_use_auth": "Enable JWT authorization. Please enable for deployment",
"use_auth": true,
"_jwt": "Private keys for access",
"jwt": {
"_admin": "HeketiAdmin",
"admin": {
"key": "Passw0rdSuperMegaComplicada"
},
"_user": "HeketiUser",
"user": {
"key": "Passw0rdSuperMegaComplicada"
}
},
"_glusterfs_comment": "GlusterFS Configuration",
"glusterfs": {
"_executor_comment": [
"Execute plugin. Possible choices: mock, ssh",
"mock: This setting is used for testing and development.",
" It will not send commands to any node.",
"ssh: This setting will notify Heketi to ssh to the nodes.",
" It will need the values in sshexec to be configured.",
"kubernetes: Communicate with GlusterFS containers over",
" Kubernetes exec api."
],
"executor": "ssh",
"_sshexec_comment": "SSH username and private key file information",
"sshexec": {
"keyfile": "/etc/heketi/heketi_key",
"user": "root",
"port": "22",
"fstab": "/etc/fstab"
},
"_kubeexec_comment": "Kubernetes configuration",
"kubeexec": {
"host" :"https://kubernetes.host:8443",
"cert" : "/path/to/crt.file",
"insecure": false,
"user": "kubernetes username",
"password": "password for kubernetes user",
"namespace": "OpenShift project or Kubernetes namespace",
"fstab": "Optional: Specify fstab file on node. Default is /etc/fstab"
},
"_db_comment": "Database file name",
"db": "/var/lib/heketi/heketi.db",
"_loglevel_comment": [
"Set log level. Choices are:",
" none, critical, error, warning, info, debug",
"Default is warning"
],
"loglevel" : "debug"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment