Replace a deployment's desired state with a whole `schemaVersion: 1` deployment body
curl --request PUT \
--url http://localhost:3001/api/clusters/{clusterName} \
--header 'Content-Type: application/json' \
--cookie token= \
--data '
{
"schemaVersion": 1,
"metadata": {
"name": "<string>",
"namespace": "<string>",
"labels": {},
"annotations": {}
},
"spec": {
"topology": {
"mode": "standalone",
"replicas": 2,
"shards": 4,
"replicasPerShard": 3
},
"version": "<string>",
"componentDefinition": "<string>",
"nodes": {
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"sentinels": {
"replicas": 2,
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"storage": {
"size": "<string>",
"storageClass": "<string>"
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"config": {
"graph": {
"THREAD_COUNT": "<string>",
"CACHE_SIZE": "<string>",
"OMP_THREAD_COUNT": "<string>",
"NODE_CREATION_BUFFER": "<string>",
"BOLT_PORT": "<string>",
"MAX_QUEUED_QUERIES": "<string>",
"TIMEOUT_MAX": "<string>",
"TIMEOUT_DEFAULT": "<string>",
"RESULTSET_SIZE": "<string>",
"QUERY_MEM_CAPACITY": "<string>",
"VKEY_MAX_ENTITY_COUNT": "<string>",
"EFFECTS_THRESHOLD": "<string>",
"CMD_INFO": "<string>",
"MAX_INFO_QUERIES": "<string>",
"DELTA_MAX_PENDING_CHANGES": "<string>",
"IMPORT_FOLDER": "<string>"
},
"enterprise": {
"falkordbe.idle-threshold-ms": "<string>",
"falkordbe.evict-interval-ms": "<string>",
"falkordbe.memory-pressure": "<string>",
"falkordbe.load-evict-budget": "<string>",
"falkordbe.ldap_servers": "<string>",
"falkordbe.ldap_auth_mode": "<string>",
"falkordbe.ldap_bind_dn_prefix": "<string>",
"falkordbe.ldap_bind_dn_suffix": "<string>",
"falkordbe.ldap_search_base": "<string>",
"falkordbe.ldap_search_filter": "<string>",
"falkordbe.ldap_search_scope": "<string>",
"falkordbe.ldap_search_attribute": "<string>",
"falkordbe.ldap_search_dn_attribute": "<string>",
"falkordbe.ldap_search_bind_dn": "<string>",
"falkordbe.ldap_search_bind_passwd": "<string>",
"falkordbe.ldap_connection_pool_size": "<string>",
"falkordbe.ldap_timeout_connection": "<string>",
"falkordbe.ldap_timeout_ldap_operation": "<string>",
"falkordbe.ldap_failure_detector_interval": "<string>",
"falkordbe.ldap_use_starttls": "<string>",
"falkordbe.ldap_tls_ca_cert_path": "<string>",
"falkordbe.ldap_tls_cert_path": "<string>",
"falkordbe.ldap_tls_key_path": "<string>",
"falkordbe.ldap_tls_skip_verify": "<string>",
"falkordbe.ldap_exempted_users_regex": "<string>",
"falkordbe.ldap_return_auth_errors": "<string>",
"falkordbe.ldap_acl_fallback_enabled": "<string>",
"falkordbe.ldap_default_acl_rules": "<string>",
"falkordbe.ldap_groups_search_base": "<string>",
"falkordbe.ldap_groups_filter": "<string>",
"falkordbe.ldap_groups_name_attribute": "<string>",
"falkordbe.ldap_groups_member_attribute": "<string>",
"falkordbe.ldap_groups_rules_attribute": "<string>",
"falkordbe.ldap_group_acl_rules_map": "<string>",
"falkordbe.ldap_group_acl_user_map": "<string>"
},
"server": {}
},
"networking": {
"externalDomain": "<string>",
"services": [
{
"name": "<string>",
"target": "nodes",
"type": "ClusterIP",
"perPod": true,
"annotations": {}
}
]
},
"security": {
"auth": {
"password": "<string>"
}
},
"observability": {
"exporter": true
},
"lifecycle": {
"state": "Running",
"deletionPolicy": "DoNotTerminate"
}
}
}
'import requests
url = "http://localhost:3001/api/clusters/{clusterName}"
payload = {
"schemaVersion": 1,
"metadata": {
"name": "<string>",
"namespace": "<string>",
"labels": {},
"annotations": {}
},
"spec": {
"topology": {
"mode": "standalone",
"replicas": 2,
"shards": 4,
"replicasPerShard": 3
},
"version": "<string>",
"componentDefinition": "<string>",
"nodes": {
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"sentinels": {
"replicas": 2,
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"storage": {
"size": "<string>",
"storageClass": "<string>"
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"config": {
"graph": {
"THREAD_COUNT": "<string>",
"CACHE_SIZE": "<string>",
"OMP_THREAD_COUNT": "<string>",
"NODE_CREATION_BUFFER": "<string>",
"BOLT_PORT": "<string>",
"MAX_QUEUED_QUERIES": "<string>",
"TIMEOUT_MAX": "<string>",
"TIMEOUT_DEFAULT": "<string>",
"RESULTSET_SIZE": "<string>",
"QUERY_MEM_CAPACITY": "<string>",
"VKEY_MAX_ENTITY_COUNT": "<string>",
"EFFECTS_THRESHOLD": "<string>",
"CMD_INFO": "<string>",
"MAX_INFO_QUERIES": "<string>",
"DELTA_MAX_PENDING_CHANGES": "<string>",
"IMPORT_FOLDER": "<string>"
},
"enterprise": {
"falkordbe.idle-threshold-ms": "<string>",
"falkordbe.evict-interval-ms": "<string>",
"falkordbe.memory-pressure": "<string>",
"falkordbe.load-evict-budget": "<string>",
"falkordbe.ldap_servers": "<string>",
"falkordbe.ldap_auth_mode": "<string>",
"falkordbe.ldap_bind_dn_prefix": "<string>",
"falkordbe.ldap_bind_dn_suffix": "<string>",
"falkordbe.ldap_search_base": "<string>",
"falkordbe.ldap_search_filter": "<string>",
"falkordbe.ldap_search_scope": "<string>",
"falkordbe.ldap_search_attribute": "<string>",
"falkordbe.ldap_search_dn_attribute": "<string>",
"falkordbe.ldap_search_bind_dn": "<string>",
"falkordbe.ldap_search_bind_passwd": "<string>",
"falkordbe.ldap_connection_pool_size": "<string>",
"falkordbe.ldap_timeout_connection": "<string>",
"falkordbe.ldap_timeout_ldap_operation": "<string>",
"falkordbe.ldap_failure_detector_interval": "<string>",
"falkordbe.ldap_use_starttls": "<string>",
"falkordbe.ldap_tls_ca_cert_path": "<string>",
"falkordbe.ldap_tls_cert_path": "<string>",
"falkordbe.ldap_tls_key_path": "<string>",
"falkordbe.ldap_tls_skip_verify": "<string>",
"falkordbe.ldap_exempted_users_regex": "<string>",
"falkordbe.ldap_return_auth_errors": "<string>",
"falkordbe.ldap_acl_fallback_enabled": "<string>",
"falkordbe.ldap_default_acl_rules": "<string>",
"falkordbe.ldap_groups_search_base": "<string>",
"falkordbe.ldap_groups_filter": "<string>",
"falkordbe.ldap_groups_name_attribute": "<string>",
"falkordbe.ldap_groups_member_attribute": "<string>",
"falkordbe.ldap_groups_rules_attribute": "<string>",
"falkordbe.ldap_group_acl_rules_map": "<string>",
"falkordbe.ldap_group_acl_user_map": "<string>"
},
"server": {}
},
"networking": {
"externalDomain": "<string>",
"services": [
{
"name": "<string>",
"target": "nodes",
"type": "ClusterIP",
"perPod": True,
"annotations": {}
}
]
},
"security": { "auth": { "password": "<string>" } },
"observability": { "exporter": True },
"lifecycle": {
"state": "Running",
"deletionPolicy": "DoNotTerminate"
}
}
}
headers = {
"cookie": "token=",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {cookie: 'token=', 'Content-Type': 'application/json'},
body: JSON.stringify({
schemaVersion: 1,
metadata: {name: '<string>', namespace: '<string>', labels: {}, annotations: {}},
spec: {
topology: {mode: 'standalone', replicas: 2, shards: 4, replicasPerShard: 3},
version: '<string>',
componentDefinition: '<string>',
nodes: {
resources: {
requests: {cpu: '<string>', memory: '<string>'},
limits: {cpu: '<string>', memory: '<string>'}
},
scheduling: {
nodeSelector: {},
tolerations: [
{
key: '<string>',
operator: 'Equal',
value: '<string>',
effect: 'NoSchedule',
tolerationSeconds: 1
}
]
}
},
sentinels: {
replicas: 2,
resources: {
requests: {cpu: '<string>', memory: '<string>'},
limits: {cpu: '<string>', memory: '<string>'}
},
storage: {size: '<string>', storageClass: '<string>'},
scheduling: {
nodeSelector: {},
tolerations: [
{
key: '<string>',
operator: 'Equal',
value: '<string>',
effect: 'NoSchedule',
tolerationSeconds: 1
}
]
}
},
config: {
graph: {
THREAD_COUNT: '<string>',
CACHE_SIZE: '<string>',
OMP_THREAD_COUNT: '<string>',
NODE_CREATION_BUFFER: '<string>',
BOLT_PORT: '<string>',
MAX_QUEUED_QUERIES: '<string>',
TIMEOUT_MAX: '<string>',
TIMEOUT_DEFAULT: '<string>',
RESULTSET_SIZE: '<string>',
QUERY_MEM_CAPACITY: '<string>',
VKEY_MAX_ENTITY_COUNT: '<string>',
EFFECTS_THRESHOLD: '<string>',
CMD_INFO: '<string>',
MAX_INFO_QUERIES: '<string>',
DELTA_MAX_PENDING_CHANGES: '<string>',
IMPORT_FOLDER: '<string>'
},
enterprise: {
'falkordbe.idle-threshold-ms': '<string>',
'falkordbe.evict-interval-ms': '<string>',
'falkordbe.memory-pressure': '<string>',
'falkordbe.load-evict-budget': '<string>',
'falkordbe.ldap_servers': '<string>',
'falkordbe.ldap_auth_mode': '<string>',
'falkordbe.ldap_bind_dn_prefix': '<string>',
'falkordbe.ldap_bind_dn_suffix': '<string>',
'falkordbe.ldap_search_base': '<string>',
'falkordbe.ldap_search_filter': '<string>',
'falkordbe.ldap_search_scope': '<string>',
'falkordbe.ldap_search_attribute': '<string>',
'falkordbe.ldap_search_dn_attribute': '<string>',
'falkordbe.ldap_search_bind_dn': '<string>',
'falkordbe.ldap_search_bind_passwd': '<string>',
'falkordbe.ldap_connection_pool_size': '<string>',
'falkordbe.ldap_timeout_connection': '<string>',
'falkordbe.ldap_timeout_ldap_operation': '<string>',
'falkordbe.ldap_failure_detector_interval': '<string>',
'falkordbe.ldap_use_starttls': '<string>',
'falkordbe.ldap_tls_ca_cert_path': '<string>',
'falkordbe.ldap_tls_cert_path': '<string>',
'falkordbe.ldap_tls_key_path': '<string>',
'falkordbe.ldap_tls_skip_verify': '<string>',
'falkordbe.ldap_exempted_users_regex': '<string>',
'falkordbe.ldap_return_auth_errors': '<string>',
'falkordbe.ldap_acl_fallback_enabled': '<string>',
'falkordbe.ldap_default_acl_rules': '<string>',
'falkordbe.ldap_groups_search_base': '<string>',
'falkordbe.ldap_groups_filter': '<string>',
'falkordbe.ldap_groups_name_attribute': '<string>',
'falkordbe.ldap_groups_member_attribute': '<string>',
'falkordbe.ldap_groups_rules_attribute': '<string>',
'falkordbe.ldap_group_acl_rules_map': '<string>',
'falkordbe.ldap_group_acl_user_map': '<string>'
},
server: {}
},
networking: {
externalDomain: '<string>',
services: [
{
name: '<string>',
target: 'nodes',
type: 'ClusterIP',
perPod: true,
annotations: {}
}
]
},
security: {auth: {password: '<string>'}},
observability: {exporter: true},
lifecycle: {state: 'Running', deletionPolicy: 'DoNotTerminate'}
}
})
};
fetch('http://localhost:3001/api/clusters/{clusterName}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3001",
CURLOPT_URL => "http://localhost:3001/api/clusters/{clusterName}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'schemaVersion' => 1,
'metadata' => [
'name' => '<string>',
'namespace' => '<string>',
'labels' => [
],
'annotations' => [
]
],
'spec' => [
'topology' => [
'mode' => 'standalone',
'replicas' => 2,
'shards' => 4,
'replicasPerShard' => 3
],
'version' => '<string>',
'componentDefinition' => '<string>',
'nodes' => [
'resources' => [
'requests' => [
'cpu' => '<string>',
'memory' => '<string>'
],
'limits' => [
'cpu' => '<string>',
'memory' => '<string>'
]
],
'scheduling' => [
'nodeSelector' => [
],
'tolerations' => [
[
'key' => '<string>',
'operator' => 'Equal',
'value' => '<string>',
'effect' => 'NoSchedule',
'tolerationSeconds' => 1
]
]
]
],
'sentinels' => [
'replicas' => 2,
'resources' => [
'requests' => [
'cpu' => '<string>',
'memory' => '<string>'
],
'limits' => [
'cpu' => '<string>',
'memory' => '<string>'
]
],
'storage' => [
'size' => '<string>',
'storageClass' => '<string>'
],
'scheduling' => [
'nodeSelector' => [
],
'tolerations' => [
[
'key' => '<string>',
'operator' => 'Equal',
'value' => '<string>',
'effect' => 'NoSchedule',
'tolerationSeconds' => 1
]
]
]
],
'config' => [
'graph' => [
'THREAD_COUNT' => '<string>',
'CACHE_SIZE' => '<string>',
'OMP_THREAD_COUNT' => '<string>',
'NODE_CREATION_BUFFER' => '<string>',
'BOLT_PORT' => '<string>',
'MAX_QUEUED_QUERIES' => '<string>',
'TIMEOUT_MAX' => '<string>',
'TIMEOUT_DEFAULT' => '<string>',
'RESULTSET_SIZE' => '<string>',
'QUERY_MEM_CAPACITY' => '<string>',
'VKEY_MAX_ENTITY_COUNT' => '<string>',
'EFFECTS_THRESHOLD' => '<string>',
'CMD_INFO' => '<string>',
'MAX_INFO_QUERIES' => '<string>',
'DELTA_MAX_PENDING_CHANGES' => '<string>',
'IMPORT_FOLDER' => '<string>'
],
'enterprise' => [
'falkordbe.idle-threshold-ms' => '<string>',
'falkordbe.evict-interval-ms' => '<string>',
'falkordbe.memory-pressure' => '<string>',
'falkordbe.load-evict-budget' => '<string>',
'falkordbe.ldap_servers' => '<string>',
'falkordbe.ldap_auth_mode' => '<string>',
'falkordbe.ldap_bind_dn_prefix' => '<string>',
'falkordbe.ldap_bind_dn_suffix' => '<string>',
'falkordbe.ldap_search_base' => '<string>',
'falkordbe.ldap_search_filter' => '<string>',
'falkordbe.ldap_search_scope' => '<string>',
'falkordbe.ldap_search_attribute' => '<string>',
'falkordbe.ldap_search_dn_attribute' => '<string>',
'falkordbe.ldap_search_bind_dn' => '<string>',
'falkordbe.ldap_search_bind_passwd' => '<string>',
'falkordbe.ldap_connection_pool_size' => '<string>',
'falkordbe.ldap_timeout_connection' => '<string>',
'falkordbe.ldap_timeout_ldap_operation' => '<string>',
'falkordbe.ldap_failure_detector_interval' => '<string>',
'falkordbe.ldap_use_starttls' => '<string>',
'falkordbe.ldap_tls_ca_cert_path' => '<string>',
'falkordbe.ldap_tls_cert_path' => '<string>',
'falkordbe.ldap_tls_key_path' => '<string>',
'falkordbe.ldap_tls_skip_verify' => '<string>',
'falkordbe.ldap_exempted_users_regex' => '<string>',
'falkordbe.ldap_return_auth_errors' => '<string>',
'falkordbe.ldap_acl_fallback_enabled' => '<string>',
'falkordbe.ldap_default_acl_rules' => '<string>',
'falkordbe.ldap_groups_search_base' => '<string>',
'falkordbe.ldap_groups_filter' => '<string>',
'falkordbe.ldap_groups_name_attribute' => '<string>',
'falkordbe.ldap_groups_member_attribute' => '<string>',
'falkordbe.ldap_groups_rules_attribute' => '<string>',
'falkordbe.ldap_group_acl_rules_map' => '<string>',
'falkordbe.ldap_group_acl_user_map' => '<string>'
],
'server' => [
]
],
'networking' => [
'externalDomain' => '<string>',
'services' => [
[
'name' => '<string>',
'target' => 'nodes',
'type' => 'ClusterIP',
'perPod' => true,
'annotations' => [
]
]
]
],
'security' => [
'auth' => [
'password' => '<string>'
]
],
'observability' => [
'exporter' => true
],
'lifecycle' => [
'state' => 'Running',
'deletionPolicy' => 'DoNotTerminate'
]
]
]),
CURLOPT_COOKIE => "token=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://localhost:3001/api/clusters/{clusterName}"
payload := strings.NewReader("{\n \"schemaVersion\": 1,\n \"metadata\": {\n \"name\": \"<string>\",\n \"namespace\": \"<string>\",\n \"labels\": {},\n \"annotations\": {}\n },\n \"spec\": {\n \"topology\": {\n \"mode\": \"standalone\",\n \"replicas\": 2,\n \"shards\": 4,\n \"replicasPerShard\": 3\n },\n \"version\": \"<string>\",\n \"componentDefinition\": \"<string>\",\n \"nodes\": {\n \"resources\": {\n \"requests\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n },\n \"limits\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n }\n },\n \"scheduling\": {\n \"nodeSelector\": {},\n \"tolerations\": [\n {\n \"key\": \"<string>\",\n \"operator\": \"Equal\",\n \"value\": \"<string>\",\n \"effect\": \"NoSchedule\",\n \"tolerationSeconds\": 1\n }\n ]\n }\n },\n \"sentinels\": {\n \"replicas\": 2,\n \"resources\": {\n \"requests\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n },\n \"limits\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n }\n },\n \"storage\": {\n \"size\": \"<string>\",\n \"storageClass\": \"<string>\"\n },\n \"scheduling\": {\n \"nodeSelector\": {},\n \"tolerations\": [\n {\n \"key\": \"<string>\",\n \"operator\": \"Equal\",\n \"value\": \"<string>\",\n \"effect\": \"NoSchedule\",\n \"tolerationSeconds\": 1\n }\n ]\n }\n },\n \"config\": {\n \"graph\": {\n \"THREAD_COUNT\": \"<string>\",\n \"CACHE_SIZE\": \"<string>\",\n \"OMP_THREAD_COUNT\": \"<string>\",\n \"NODE_CREATION_BUFFER\": \"<string>\",\n \"BOLT_PORT\": \"<string>\",\n \"MAX_QUEUED_QUERIES\": \"<string>\",\n \"TIMEOUT_MAX\": \"<string>\",\n \"TIMEOUT_DEFAULT\": \"<string>\",\n \"RESULTSET_SIZE\": \"<string>\",\n \"QUERY_MEM_CAPACITY\": \"<string>\",\n \"VKEY_MAX_ENTITY_COUNT\": \"<string>\",\n \"EFFECTS_THRESHOLD\": \"<string>\",\n \"CMD_INFO\": \"<string>\",\n \"MAX_INFO_QUERIES\": \"<string>\",\n \"DELTA_MAX_PENDING_CHANGES\": \"<string>\",\n \"IMPORT_FOLDER\": \"<string>\"\n },\n \"enterprise\": {\n \"falkordbe.idle-threshold-ms\": \"<string>\",\n \"falkordbe.evict-interval-ms\": \"<string>\",\n \"falkordbe.memory-pressure\": \"<string>\",\n \"falkordbe.load-evict-budget\": \"<string>\",\n \"falkordbe.ldap_servers\": \"<string>\",\n \"falkordbe.ldap_auth_mode\": \"<string>\",\n \"falkordbe.ldap_bind_dn_prefix\": \"<string>\",\n \"falkordbe.ldap_bind_dn_suffix\": \"<string>\",\n \"falkordbe.ldap_search_base\": \"<string>\",\n \"falkordbe.ldap_search_filter\": \"<string>\",\n \"falkordbe.ldap_search_scope\": \"<string>\",\n \"falkordbe.ldap_search_attribute\": \"<string>\",\n \"falkordbe.ldap_search_dn_attribute\": \"<string>\",\n \"falkordbe.ldap_search_bind_dn\": \"<string>\",\n \"falkordbe.ldap_search_bind_passwd\": \"<string>\",\n \"falkordbe.ldap_connection_pool_size\": \"<string>\",\n \"falkordbe.ldap_timeout_connection\": \"<string>\",\n \"falkordbe.ldap_timeout_ldap_operation\": \"<string>\",\n \"falkordbe.ldap_failure_detector_interval\": \"<string>\",\n \"falkordbe.ldap_use_starttls\": \"<string>\",\n \"falkordbe.ldap_tls_ca_cert_path\": \"<string>\",\n \"falkordbe.ldap_tls_cert_path\": \"<string>\",\n \"falkordbe.ldap_tls_key_path\": \"<string>\",\n \"falkordbe.ldap_tls_skip_verify\": \"<string>\",\n \"falkordbe.ldap_exempted_users_regex\": \"<string>\",\n \"falkordbe.ldap_return_auth_errors\": \"<string>\",\n \"falkordbe.ldap_acl_fallback_enabled\": \"<string>\",\n \"falkordbe.ldap_default_acl_rules\": \"<string>\",\n \"falkordbe.ldap_groups_search_base\": \"<string>\",\n \"falkordbe.ldap_groups_filter\": \"<string>\",\n \"falkordbe.ldap_groups_name_attribute\": \"<string>\",\n \"falkordbe.ldap_groups_member_attribute\": \"<string>\",\n \"falkordbe.ldap_groups_rules_attribute\": \"<string>\",\n \"falkordbe.ldap_group_acl_rules_map\": \"<string>\",\n \"falkordbe.ldap_group_acl_user_map\": \"<string>\"\n },\n \"server\": {}\n },\n \"networking\": {\n \"externalDomain\": \"<string>\",\n \"services\": [\n {\n \"name\": \"<string>\",\n \"target\": \"nodes\",\n \"type\": \"ClusterIP\",\n \"perPod\": true,\n \"annotations\": {}\n }\n ]\n },\n \"security\": {\n \"auth\": {\n \"password\": \"<string>\"\n }\n },\n \"observability\": {\n \"exporter\": true\n },\n \"lifecycle\": {\n \"state\": \"Running\",\n \"deletionPolicy\": \"DoNotTerminate\"\n }\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("cookie", "token=")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("http://localhost:3001/api/clusters/{clusterName}")
.header("cookie", "token=")
.header("Content-Type", "application/json")
.body("{\n \"schemaVersion\": 1,\n \"metadata\": {\n \"name\": \"<string>\",\n \"namespace\": \"<string>\",\n \"labels\": {},\n \"annotations\": {}\n },\n \"spec\": {\n \"topology\": {\n \"mode\": \"standalone\",\n \"replicas\": 2,\n \"shards\": 4,\n \"replicasPerShard\": 3\n },\n \"version\": \"<string>\",\n \"componentDefinition\": \"<string>\",\n \"nodes\": {\n \"resources\": {\n \"requests\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n },\n \"limits\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n }\n },\n \"scheduling\": {\n \"nodeSelector\": {},\n \"tolerations\": [\n {\n \"key\": \"<string>\",\n \"operator\": \"Equal\",\n \"value\": \"<string>\",\n \"effect\": \"NoSchedule\",\n \"tolerationSeconds\": 1\n }\n ]\n }\n },\n \"sentinels\": {\n \"replicas\": 2,\n \"resources\": {\n \"requests\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n },\n \"limits\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n }\n },\n \"storage\": {\n \"size\": \"<string>\",\n \"storageClass\": \"<string>\"\n },\n \"scheduling\": {\n \"nodeSelector\": {},\n \"tolerations\": [\n {\n \"key\": \"<string>\",\n \"operator\": \"Equal\",\n \"value\": \"<string>\",\n \"effect\": \"NoSchedule\",\n \"tolerationSeconds\": 1\n }\n ]\n }\n },\n \"config\": {\n \"graph\": {\n \"THREAD_COUNT\": \"<string>\",\n \"CACHE_SIZE\": \"<string>\",\n \"OMP_THREAD_COUNT\": \"<string>\",\n \"NODE_CREATION_BUFFER\": \"<string>\",\n \"BOLT_PORT\": \"<string>\",\n \"MAX_QUEUED_QUERIES\": \"<string>\",\n \"TIMEOUT_MAX\": \"<string>\",\n \"TIMEOUT_DEFAULT\": \"<string>\",\n \"RESULTSET_SIZE\": \"<string>\",\n \"QUERY_MEM_CAPACITY\": \"<string>\",\n \"VKEY_MAX_ENTITY_COUNT\": \"<string>\",\n \"EFFECTS_THRESHOLD\": \"<string>\",\n \"CMD_INFO\": \"<string>\",\n \"MAX_INFO_QUERIES\": \"<string>\",\n \"DELTA_MAX_PENDING_CHANGES\": \"<string>\",\n \"IMPORT_FOLDER\": \"<string>\"\n },\n \"enterprise\": {\n \"falkordbe.idle-threshold-ms\": \"<string>\",\n \"falkordbe.evict-interval-ms\": \"<string>\",\n \"falkordbe.memory-pressure\": \"<string>\",\n \"falkordbe.load-evict-budget\": \"<string>\",\n \"falkordbe.ldap_servers\": \"<string>\",\n \"falkordbe.ldap_auth_mode\": \"<string>\",\n \"falkordbe.ldap_bind_dn_prefix\": \"<string>\",\n \"falkordbe.ldap_bind_dn_suffix\": \"<string>\",\n \"falkordbe.ldap_search_base\": \"<string>\",\n \"falkordbe.ldap_search_filter\": \"<string>\",\n \"falkordbe.ldap_search_scope\": \"<string>\",\n \"falkordbe.ldap_search_attribute\": \"<string>\",\n \"falkordbe.ldap_search_dn_attribute\": \"<string>\",\n \"falkordbe.ldap_search_bind_dn\": \"<string>\",\n \"falkordbe.ldap_search_bind_passwd\": \"<string>\",\n \"falkordbe.ldap_connection_pool_size\": \"<string>\",\n \"falkordbe.ldap_timeout_connection\": \"<string>\",\n \"falkordbe.ldap_timeout_ldap_operation\": \"<string>\",\n \"falkordbe.ldap_failure_detector_interval\": \"<string>\",\n \"falkordbe.ldap_use_starttls\": \"<string>\",\n \"falkordbe.ldap_tls_ca_cert_path\": \"<string>\",\n \"falkordbe.ldap_tls_cert_path\": \"<string>\",\n \"falkordbe.ldap_tls_key_path\": \"<string>\",\n \"falkordbe.ldap_tls_skip_verify\": \"<string>\",\n \"falkordbe.ldap_exempted_users_regex\": \"<string>\",\n \"falkordbe.ldap_return_auth_errors\": \"<string>\",\n \"falkordbe.ldap_acl_fallback_enabled\": \"<string>\",\n \"falkordbe.ldap_default_acl_rules\": \"<string>\",\n \"falkordbe.ldap_groups_search_base\": \"<string>\",\n \"falkordbe.ldap_groups_filter\": \"<string>\",\n \"falkordbe.ldap_groups_name_attribute\": \"<string>\",\n \"falkordbe.ldap_groups_member_attribute\": \"<string>\",\n \"falkordbe.ldap_groups_rules_attribute\": \"<string>\",\n \"falkordbe.ldap_group_acl_rules_map\": \"<string>\",\n \"falkordbe.ldap_group_acl_user_map\": \"<string>\"\n },\n \"server\": {}\n },\n \"networking\": {\n \"externalDomain\": \"<string>\",\n \"services\": [\n {\n \"name\": \"<string>\",\n \"target\": \"nodes\",\n \"type\": \"ClusterIP\",\n \"perPod\": true,\n \"annotations\": {}\n }\n ]\n },\n \"security\": {\n \"auth\": {\n \"password\": \"<string>\"\n }\n },\n \"observability\": {\n \"exporter\": true\n },\n \"lifecycle\": {\n \"state\": \"Running\",\n \"deletionPolicy\": \"DoNotTerminate\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3001/api/clusters/{clusterName}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Put.new(url)
request["cookie"] = 'token='
request["Content-Type"] = 'application/json'
request.body = "{\n \"schemaVersion\": 1,\n \"metadata\": {\n \"name\": \"<string>\",\n \"namespace\": \"<string>\",\n \"labels\": {},\n \"annotations\": {}\n },\n \"spec\": {\n \"topology\": {\n \"mode\": \"standalone\",\n \"replicas\": 2,\n \"shards\": 4,\n \"replicasPerShard\": 3\n },\n \"version\": \"<string>\",\n \"componentDefinition\": \"<string>\",\n \"nodes\": {\n \"resources\": {\n \"requests\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n },\n \"limits\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n }\n },\n \"scheduling\": {\n \"nodeSelector\": {},\n \"tolerations\": [\n {\n \"key\": \"<string>\",\n \"operator\": \"Equal\",\n \"value\": \"<string>\",\n \"effect\": \"NoSchedule\",\n \"tolerationSeconds\": 1\n }\n ]\n }\n },\n \"sentinels\": {\n \"replicas\": 2,\n \"resources\": {\n \"requests\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n },\n \"limits\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n }\n },\n \"storage\": {\n \"size\": \"<string>\",\n \"storageClass\": \"<string>\"\n },\n \"scheduling\": {\n \"nodeSelector\": {},\n \"tolerations\": [\n {\n \"key\": \"<string>\",\n \"operator\": \"Equal\",\n \"value\": \"<string>\",\n \"effect\": \"NoSchedule\",\n \"tolerationSeconds\": 1\n }\n ]\n }\n },\n \"config\": {\n \"graph\": {\n \"THREAD_COUNT\": \"<string>\",\n \"CACHE_SIZE\": \"<string>\",\n \"OMP_THREAD_COUNT\": \"<string>\",\n \"NODE_CREATION_BUFFER\": \"<string>\",\n \"BOLT_PORT\": \"<string>\",\n \"MAX_QUEUED_QUERIES\": \"<string>\",\n \"TIMEOUT_MAX\": \"<string>\",\n \"TIMEOUT_DEFAULT\": \"<string>\",\n \"RESULTSET_SIZE\": \"<string>\",\n \"QUERY_MEM_CAPACITY\": \"<string>\",\n \"VKEY_MAX_ENTITY_COUNT\": \"<string>\",\n \"EFFECTS_THRESHOLD\": \"<string>\",\n \"CMD_INFO\": \"<string>\",\n \"MAX_INFO_QUERIES\": \"<string>\",\n \"DELTA_MAX_PENDING_CHANGES\": \"<string>\",\n \"IMPORT_FOLDER\": \"<string>\"\n },\n \"enterprise\": {\n \"falkordbe.idle-threshold-ms\": \"<string>\",\n \"falkordbe.evict-interval-ms\": \"<string>\",\n \"falkordbe.memory-pressure\": \"<string>\",\n \"falkordbe.load-evict-budget\": \"<string>\",\n \"falkordbe.ldap_servers\": \"<string>\",\n \"falkordbe.ldap_auth_mode\": \"<string>\",\n \"falkordbe.ldap_bind_dn_prefix\": \"<string>\",\n \"falkordbe.ldap_bind_dn_suffix\": \"<string>\",\n \"falkordbe.ldap_search_base\": \"<string>\",\n \"falkordbe.ldap_search_filter\": \"<string>\",\n \"falkordbe.ldap_search_scope\": \"<string>\",\n \"falkordbe.ldap_search_attribute\": \"<string>\",\n \"falkordbe.ldap_search_dn_attribute\": \"<string>\",\n \"falkordbe.ldap_search_bind_dn\": \"<string>\",\n \"falkordbe.ldap_search_bind_passwd\": \"<string>\",\n \"falkordbe.ldap_connection_pool_size\": \"<string>\",\n \"falkordbe.ldap_timeout_connection\": \"<string>\",\n \"falkordbe.ldap_timeout_ldap_operation\": \"<string>\",\n \"falkordbe.ldap_failure_detector_interval\": \"<string>\",\n \"falkordbe.ldap_use_starttls\": \"<string>\",\n \"falkordbe.ldap_tls_ca_cert_path\": \"<string>\",\n \"falkordbe.ldap_tls_cert_path\": \"<string>\",\n \"falkordbe.ldap_tls_key_path\": \"<string>\",\n \"falkordbe.ldap_tls_skip_verify\": \"<string>\",\n \"falkordbe.ldap_exempted_users_regex\": \"<string>\",\n \"falkordbe.ldap_return_auth_errors\": \"<string>\",\n \"falkordbe.ldap_acl_fallback_enabled\": \"<string>\",\n \"falkordbe.ldap_default_acl_rules\": \"<string>\",\n \"falkordbe.ldap_groups_search_base\": \"<string>\",\n \"falkordbe.ldap_groups_filter\": \"<string>\",\n \"falkordbe.ldap_groups_name_attribute\": \"<string>\",\n \"falkordbe.ldap_groups_member_attribute\": \"<string>\",\n \"falkordbe.ldap_groups_rules_attribute\": \"<string>\",\n \"falkordbe.ldap_group_acl_rules_map\": \"<string>\",\n \"falkordbe.ldap_group_acl_user_map\": \"<string>\"\n },\n \"server\": {}\n },\n \"networking\": {\n \"externalDomain\": \"<string>\",\n \"services\": [\n {\n \"name\": \"<string>\",\n \"target\": \"nodes\",\n \"type\": \"ClusterIP\",\n \"perPod\": true,\n \"annotations\": {}\n }\n ]\n },\n \"security\": {\n \"auth\": {\n \"password\": \"<string>\"\n }\n },\n \"observability\": {\n \"exporter\": true\n },\n \"lifecycle\": {\n \"state\": \"Running\",\n \"deletionPolicy\": \"DoNotTerminate\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"schemaVersion": 1,
"plan": {
"changedPaths": [
"<string>"
],
"volumeExpansions": [
{
"componentName": "<string>",
"storage": "<string>"
}
],
"reconfigure": [
"<string>"
]
},
"deployment": {
"schemaVersion": 1,
"metadata": {
"name": "<string>",
"namespace": "<string>",
"labels": {},
"annotations": {},
"creationTimestamp": "<string>",
"generation": 123
},
"spec": {
"topology": {
"mode": "standalone",
"replicas": 2,
"shards": 4,
"replicasPerShard": 3
},
"version": "<string>",
"componentDefinition": "<string>",
"nodes": {
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"storage": {
"size": "<string>",
"storageClass": "<string>"
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"sentinels": {
"replicas": 2,
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"storage": {
"size": "<string>",
"storageClass": "<string>"
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"config": {
"graph": {
"THREAD_COUNT": "<string>",
"CACHE_SIZE": "<string>",
"OMP_THREAD_COUNT": "<string>",
"NODE_CREATION_BUFFER": "<string>",
"BOLT_PORT": "<string>",
"MAX_QUEUED_QUERIES": "<string>",
"TIMEOUT_MAX": "<string>",
"TIMEOUT_DEFAULT": "<string>",
"RESULTSET_SIZE": "<string>",
"QUERY_MEM_CAPACITY": "<string>",
"VKEY_MAX_ENTITY_COUNT": "<string>",
"EFFECTS_THRESHOLD": "<string>",
"CMD_INFO": "<string>",
"MAX_INFO_QUERIES": "<string>",
"DELTA_MAX_PENDING_CHANGES": "<string>",
"IMPORT_FOLDER": "<string>"
},
"enterprise": {
"falkordbe.idle-threshold-ms": "<string>",
"falkordbe.evict-interval-ms": "<string>",
"falkordbe.memory-pressure": "<string>",
"falkordbe.load-evict-budget": "<string>",
"falkordbe.ldap_servers": "<string>",
"falkordbe.ldap_auth_mode": "<string>",
"falkordbe.ldap_bind_dn_prefix": "<string>",
"falkordbe.ldap_bind_dn_suffix": "<string>",
"falkordbe.ldap_search_base": "<string>",
"falkordbe.ldap_search_filter": "<string>",
"falkordbe.ldap_search_scope": "<string>",
"falkordbe.ldap_search_attribute": "<string>",
"falkordbe.ldap_search_dn_attribute": "<string>",
"falkordbe.ldap_search_bind_dn": "<string>",
"falkordbe.ldap_search_bind_passwd": "<string>",
"falkordbe.ldap_connection_pool_size": "<string>",
"falkordbe.ldap_timeout_connection": "<string>",
"falkordbe.ldap_timeout_ldap_operation": "<string>",
"falkordbe.ldap_failure_detector_interval": "<string>",
"falkordbe.ldap_use_starttls": "<string>",
"falkordbe.ldap_tls_ca_cert_path": "<string>",
"falkordbe.ldap_tls_cert_path": "<string>",
"falkordbe.ldap_tls_key_path": "<string>",
"falkordbe.ldap_tls_skip_verify": "<string>",
"falkordbe.ldap_exempted_users_regex": "<string>",
"falkordbe.ldap_return_auth_errors": "<string>",
"falkordbe.ldap_acl_fallback_enabled": "<string>",
"falkordbe.ldap_default_acl_rules": "<string>",
"falkordbe.ldap_groups_search_base": "<string>",
"falkordbe.ldap_groups_filter": "<string>",
"falkordbe.ldap_groups_name_attribute": "<string>",
"falkordbe.ldap_groups_member_attribute": "<string>",
"falkordbe.ldap_groups_rules_attribute": "<string>",
"falkordbe.ldap_group_acl_rules_map": "<string>",
"falkordbe.ldap_group_acl_user_map": "<string>"
},
"server": {}
},
"networking": {
"externalDomain": "<string>",
"services": [
{
"name": "<string>",
"target": "nodes",
"type": "ClusterIP",
"perPod": true,
"annotations": {}
}
]
},
"security": {
"tls": {
"issuer": "Enterprise",
"secretRef": {
"name": "<string>",
"namespace": "<string>",
"ca": "<string>",
"cert": "<string>",
"key": "<string>"
},
"issuerRef": {
"name": "<string>",
"kind": "Issuer"
}
},
"auth": {
"password": "<string>",
"passwordSecretRef": {
"name": "<string>",
"key": "<string>"
}
}
},
"backup": {
"schedule": "<string>",
"retentionPeriod": "<string>"
},
"observability": {
"exporter": true
},
"lifecycle": {
"state": "Running",
"deletionPolicy": "DoNotTerminate"
}
},
"status": {
"phase": "<string>",
"state": "Pending",
"ready": true,
"managed": true,
"unmanagedFields": [
"<string>"
],
"nodes": {
"desired": 1,
"ready": 1
},
"sentinels": {
"desired": 1,
"ready": 1
},
"tls": {
"issuer": "Enterprise",
"appliedFingerprint": "<string>",
"certificateExpiresAt": "2023-11-07T05:31:56Z",
"upToDate": true
},
"pendingChanges": [
{
"path": "<string>",
"via": "OpsRequest",
"name": "<string>",
"type": "<string>",
"phase": "<string>",
"keys": [
"<string>"
],
"since": "<string>"
}
],
"conditions": [
{
"type": "<string>",
"status": "<string>",
"reason": "<string>",
"message": "<string>",
"lastTransitionTime": "<string>"
}
],
"observedGeneration": 123,
"endpoints": {
"internal": "<string>",
"external": "<string>"
}
}
},
"dryRun": true
}{
"schemaVersion": 1,
"plan": {
"changedPaths": [
"<string>"
],
"volumeExpansions": [
{
"componentName": "<string>",
"storage": "<string>"
}
],
"reconfigure": [
"<string>"
]
},
"deployment": {
"schemaVersion": 1,
"metadata": {
"name": "<string>",
"namespace": "<string>",
"labels": {},
"annotations": {},
"creationTimestamp": "<string>",
"generation": 123
},
"spec": {
"topology": {
"mode": "standalone",
"replicas": 2,
"shards": 4,
"replicasPerShard": 3
},
"version": "<string>",
"componentDefinition": "<string>",
"nodes": {
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"storage": {
"size": "<string>",
"storageClass": "<string>"
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"sentinels": {
"replicas": 2,
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"storage": {
"size": "<string>",
"storageClass": "<string>"
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"config": {
"graph": {
"THREAD_COUNT": "<string>",
"CACHE_SIZE": "<string>",
"OMP_THREAD_COUNT": "<string>",
"NODE_CREATION_BUFFER": "<string>",
"BOLT_PORT": "<string>",
"MAX_QUEUED_QUERIES": "<string>",
"TIMEOUT_MAX": "<string>",
"TIMEOUT_DEFAULT": "<string>",
"RESULTSET_SIZE": "<string>",
"QUERY_MEM_CAPACITY": "<string>",
"VKEY_MAX_ENTITY_COUNT": "<string>",
"EFFECTS_THRESHOLD": "<string>",
"CMD_INFO": "<string>",
"MAX_INFO_QUERIES": "<string>",
"DELTA_MAX_PENDING_CHANGES": "<string>",
"IMPORT_FOLDER": "<string>"
},
"enterprise": {
"falkordbe.idle-threshold-ms": "<string>",
"falkordbe.evict-interval-ms": "<string>",
"falkordbe.memory-pressure": "<string>",
"falkordbe.load-evict-budget": "<string>",
"falkordbe.ldap_servers": "<string>",
"falkordbe.ldap_auth_mode": "<string>",
"falkordbe.ldap_bind_dn_prefix": "<string>",
"falkordbe.ldap_bind_dn_suffix": "<string>",
"falkordbe.ldap_search_base": "<string>",
"falkordbe.ldap_search_filter": "<string>",
"falkordbe.ldap_search_scope": "<string>",
"falkordbe.ldap_search_attribute": "<string>",
"falkordbe.ldap_search_dn_attribute": "<string>",
"falkordbe.ldap_search_bind_dn": "<string>",
"falkordbe.ldap_search_bind_passwd": "<string>",
"falkordbe.ldap_connection_pool_size": "<string>",
"falkordbe.ldap_timeout_connection": "<string>",
"falkordbe.ldap_timeout_ldap_operation": "<string>",
"falkordbe.ldap_failure_detector_interval": "<string>",
"falkordbe.ldap_use_starttls": "<string>",
"falkordbe.ldap_tls_ca_cert_path": "<string>",
"falkordbe.ldap_tls_cert_path": "<string>",
"falkordbe.ldap_tls_key_path": "<string>",
"falkordbe.ldap_tls_skip_verify": "<string>",
"falkordbe.ldap_exempted_users_regex": "<string>",
"falkordbe.ldap_return_auth_errors": "<string>",
"falkordbe.ldap_acl_fallback_enabled": "<string>",
"falkordbe.ldap_default_acl_rules": "<string>",
"falkordbe.ldap_groups_search_base": "<string>",
"falkordbe.ldap_groups_filter": "<string>",
"falkordbe.ldap_groups_name_attribute": "<string>",
"falkordbe.ldap_groups_member_attribute": "<string>",
"falkordbe.ldap_groups_rules_attribute": "<string>",
"falkordbe.ldap_group_acl_rules_map": "<string>",
"falkordbe.ldap_group_acl_user_map": "<string>"
},
"server": {}
},
"networking": {
"externalDomain": "<string>",
"services": [
{
"name": "<string>",
"target": "nodes",
"type": "ClusterIP",
"perPod": true,
"annotations": {}
}
]
},
"security": {
"tls": {
"issuer": "Enterprise",
"secretRef": {
"name": "<string>",
"namespace": "<string>",
"ca": "<string>",
"cert": "<string>",
"key": "<string>"
},
"issuerRef": {
"name": "<string>",
"kind": "Issuer"
}
},
"auth": {
"password": "<string>",
"passwordSecretRef": {
"name": "<string>",
"key": "<string>"
}
}
},
"backup": {
"schedule": "<string>",
"retentionPeriod": "<string>"
},
"observability": {
"exporter": true
},
"lifecycle": {
"state": "Running",
"deletionPolicy": "DoNotTerminate"
}
},
"status": {
"phase": "<string>",
"state": "Pending",
"ready": true,
"managed": true,
"unmanagedFields": [
"<string>"
],
"nodes": {
"desired": 1,
"ready": 1
},
"sentinels": {
"desired": 1,
"ready": 1
},
"tls": {
"issuer": "Enterprise",
"appliedFingerprint": "<string>",
"certificateExpiresAt": "2023-11-07T05:31:56Z",
"upToDate": true
},
"pendingChanges": [
{
"path": "<string>",
"via": "OpsRequest",
"name": "<string>",
"type": "<string>",
"phase": "<string>",
"keys": [
"<string>"
],
"since": "<string>"
}
],
"conditions": [
{
"type": "<string>",
"status": "<string>",
"reason": "<string>",
"message": "<string>",
"lastTransitionTime": "<string>"
}
],
"observedGeneration": 123,
"endpoints": {
"internal": "<string>",
"external": "<string>"
}
}
},
"dryRun": true
}{
"statusCode": 123,
"error": "<string>",
"message": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"error": "<string>",
"statusCode": 123,
"message": "<string>"
}{
"error": "<string>",
"statusCode": 123,
"message": "<string>"
}{
"error": "<string>",
"statusCode": 123,
"message": "<string>"
}{
"statusCode": 123,
"error": "<string>",
"message": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"error": "<string>",
"statusCode": 123,
"message": "<string>"
}Clusters
Replace a deployment's desired state with a whole `schemaVersion: 1` deployment body
Replace a deployment’s desired state with a whole schemaVersion: 1 deployment body. Answered with the updated deployment and the plan (202 when volume growth or settings wait for the deployment to run).
PUT
/
api
/
clusters
/
{clusterName}
Replace a deployment's desired state with a whole `schemaVersion: 1` deployment body
curl --request PUT \
--url http://localhost:3001/api/clusters/{clusterName} \
--header 'Content-Type: application/json' \
--cookie token= \
--data '
{
"schemaVersion": 1,
"metadata": {
"name": "<string>",
"namespace": "<string>",
"labels": {},
"annotations": {}
},
"spec": {
"topology": {
"mode": "standalone",
"replicas": 2,
"shards": 4,
"replicasPerShard": 3
},
"version": "<string>",
"componentDefinition": "<string>",
"nodes": {
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"sentinels": {
"replicas": 2,
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"storage": {
"size": "<string>",
"storageClass": "<string>"
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"config": {
"graph": {
"THREAD_COUNT": "<string>",
"CACHE_SIZE": "<string>",
"OMP_THREAD_COUNT": "<string>",
"NODE_CREATION_BUFFER": "<string>",
"BOLT_PORT": "<string>",
"MAX_QUEUED_QUERIES": "<string>",
"TIMEOUT_MAX": "<string>",
"TIMEOUT_DEFAULT": "<string>",
"RESULTSET_SIZE": "<string>",
"QUERY_MEM_CAPACITY": "<string>",
"VKEY_MAX_ENTITY_COUNT": "<string>",
"EFFECTS_THRESHOLD": "<string>",
"CMD_INFO": "<string>",
"MAX_INFO_QUERIES": "<string>",
"DELTA_MAX_PENDING_CHANGES": "<string>",
"IMPORT_FOLDER": "<string>"
},
"enterprise": {
"falkordbe.idle-threshold-ms": "<string>",
"falkordbe.evict-interval-ms": "<string>",
"falkordbe.memory-pressure": "<string>",
"falkordbe.load-evict-budget": "<string>",
"falkordbe.ldap_servers": "<string>",
"falkordbe.ldap_auth_mode": "<string>",
"falkordbe.ldap_bind_dn_prefix": "<string>",
"falkordbe.ldap_bind_dn_suffix": "<string>",
"falkordbe.ldap_search_base": "<string>",
"falkordbe.ldap_search_filter": "<string>",
"falkordbe.ldap_search_scope": "<string>",
"falkordbe.ldap_search_attribute": "<string>",
"falkordbe.ldap_search_dn_attribute": "<string>",
"falkordbe.ldap_search_bind_dn": "<string>",
"falkordbe.ldap_search_bind_passwd": "<string>",
"falkordbe.ldap_connection_pool_size": "<string>",
"falkordbe.ldap_timeout_connection": "<string>",
"falkordbe.ldap_timeout_ldap_operation": "<string>",
"falkordbe.ldap_failure_detector_interval": "<string>",
"falkordbe.ldap_use_starttls": "<string>",
"falkordbe.ldap_tls_ca_cert_path": "<string>",
"falkordbe.ldap_tls_cert_path": "<string>",
"falkordbe.ldap_tls_key_path": "<string>",
"falkordbe.ldap_tls_skip_verify": "<string>",
"falkordbe.ldap_exempted_users_regex": "<string>",
"falkordbe.ldap_return_auth_errors": "<string>",
"falkordbe.ldap_acl_fallback_enabled": "<string>",
"falkordbe.ldap_default_acl_rules": "<string>",
"falkordbe.ldap_groups_search_base": "<string>",
"falkordbe.ldap_groups_filter": "<string>",
"falkordbe.ldap_groups_name_attribute": "<string>",
"falkordbe.ldap_groups_member_attribute": "<string>",
"falkordbe.ldap_groups_rules_attribute": "<string>",
"falkordbe.ldap_group_acl_rules_map": "<string>",
"falkordbe.ldap_group_acl_user_map": "<string>"
},
"server": {}
},
"networking": {
"externalDomain": "<string>",
"services": [
{
"name": "<string>",
"target": "nodes",
"type": "ClusterIP",
"perPod": true,
"annotations": {}
}
]
},
"security": {
"auth": {
"password": "<string>"
}
},
"observability": {
"exporter": true
},
"lifecycle": {
"state": "Running",
"deletionPolicy": "DoNotTerminate"
}
}
}
'import requests
url = "http://localhost:3001/api/clusters/{clusterName}"
payload = {
"schemaVersion": 1,
"metadata": {
"name": "<string>",
"namespace": "<string>",
"labels": {},
"annotations": {}
},
"spec": {
"topology": {
"mode": "standalone",
"replicas": 2,
"shards": 4,
"replicasPerShard": 3
},
"version": "<string>",
"componentDefinition": "<string>",
"nodes": {
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"sentinels": {
"replicas": 2,
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"storage": {
"size": "<string>",
"storageClass": "<string>"
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"config": {
"graph": {
"THREAD_COUNT": "<string>",
"CACHE_SIZE": "<string>",
"OMP_THREAD_COUNT": "<string>",
"NODE_CREATION_BUFFER": "<string>",
"BOLT_PORT": "<string>",
"MAX_QUEUED_QUERIES": "<string>",
"TIMEOUT_MAX": "<string>",
"TIMEOUT_DEFAULT": "<string>",
"RESULTSET_SIZE": "<string>",
"QUERY_MEM_CAPACITY": "<string>",
"VKEY_MAX_ENTITY_COUNT": "<string>",
"EFFECTS_THRESHOLD": "<string>",
"CMD_INFO": "<string>",
"MAX_INFO_QUERIES": "<string>",
"DELTA_MAX_PENDING_CHANGES": "<string>",
"IMPORT_FOLDER": "<string>"
},
"enterprise": {
"falkordbe.idle-threshold-ms": "<string>",
"falkordbe.evict-interval-ms": "<string>",
"falkordbe.memory-pressure": "<string>",
"falkordbe.load-evict-budget": "<string>",
"falkordbe.ldap_servers": "<string>",
"falkordbe.ldap_auth_mode": "<string>",
"falkordbe.ldap_bind_dn_prefix": "<string>",
"falkordbe.ldap_bind_dn_suffix": "<string>",
"falkordbe.ldap_search_base": "<string>",
"falkordbe.ldap_search_filter": "<string>",
"falkordbe.ldap_search_scope": "<string>",
"falkordbe.ldap_search_attribute": "<string>",
"falkordbe.ldap_search_dn_attribute": "<string>",
"falkordbe.ldap_search_bind_dn": "<string>",
"falkordbe.ldap_search_bind_passwd": "<string>",
"falkordbe.ldap_connection_pool_size": "<string>",
"falkordbe.ldap_timeout_connection": "<string>",
"falkordbe.ldap_timeout_ldap_operation": "<string>",
"falkordbe.ldap_failure_detector_interval": "<string>",
"falkordbe.ldap_use_starttls": "<string>",
"falkordbe.ldap_tls_ca_cert_path": "<string>",
"falkordbe.ldap_tls_cert_path": "<string>",
"falkordbe.ldap_tls_key_path": "<string>",
"falkordbe.ldap_tls_skip_verify": "<string>",
"falkordbe.ldap_exempted_users_regex": "<string>",
"falkordbe.ldap_return_auth_errors": "<string>",
"falkordbe.ldap_acl_fallback_enabled": "<string>",
"falkordbe.ldap_default_acl_rules": "<string>",
"falkordbe.ldap_groups_search_base": "<string>",
"falkordbe.ldap_groups_filter": "<string>",
"falkordbe.ldap_groups_name_attribute": "<string>",
"falkordbe.ldap_groups_member_attribute": "<string>",
"falkordbe.ldap_groups_rules_attribute": "<string>",
"falkordbe.ldap_group_acl_rules_map": "<string>",
"falkordbe.ldap_group_acl_user_map": "<string>"
},
"server": {}
},
"networking": {
"externalDomain": "<string>",
"services": [
{
"name": "<string>",
"target": "nodes",
"type": "ClusterIP",
"perPod": True,
"annotations": {}
}
]
},
"security": { "auth": { "password": "<string>" } },
"observability": { "exporter": True },
"lifecycle": {
"state": "Running",
"deletionPolicy": "DoNotTerminate"
}
}
}
headers = {
"cookie": "token=",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {cookie: 'token=', 'Content-Type': 'application/json'},
body: JSON.stringify({
schemaVersion: 1,
metadata: {name: '<string>', namespace: '<string>', labels: {}, annotations: {}},
spec: {
topology: {mode: 'standalone', replicas: 2, shards: 4, replicasPerShard: 3},
version: '<string>',
componentDefinition: '<string>',
nodes: {
resources: {
requests: {cpu: '<string>', memory: '<string>'},
limits: {cpu: '<string>', memory: '<string>'}
},
scheduling: {
nodeSelector: {},
tolerations: [
{
key: '<string>',
operator: 'Equal',
value: '<string>',
effect: 'NoSchedule',
tolerationSeconds: 1
}
]
}
},
sentinels: {
replicas: 2,
resources: {
requests: {cpu: '<string>', memory: '<string>'},
limits: {cpu: '<string>', memory: '<string>'}
},
storage: {size: '<string>', storageClass: '<string>'},
scheduling: {
nodeSelector: {},
tolerations: [
{
key: '<string>',
operator: 'Equal',
value: '<string>',
effect: 'NoSchedule',
tolerationSeconds: 1
}
]
}
},
config: {
graph: {
THREAD_COUNT: '<string>',
CACHE_SIZE: '<string>',
OMP_THREAD_COUNT: '<string>',
NODE_CREATION_BUFFER: '<string>',
BOLT_PORT: '<string>',
MAX_QUEUED_QUERIES: '<string>',
TIMEOUT_MAX: '<string>',
TIMEOUT_DEFAULT: '<string>',
RESULTSET_SIZE: '<string>',
QUERY_MEM_CAPACITY: '<string>',
VKEY_MAX_ENTITY_COUNT: '<string>',
EFFECTS_THRESHOLD: '<string>',
CMD_INFO: '<string>',
MAX_INFO_QUERIES: '<string>',
DELTA_MAX_PENDING_CHANGES: '<string>',
IMPORT_FOLDER: '<string>'
},
enterprise: {
'falkordbe.idle-threshold-ms': '<string>',
'falkordbe.evict-interval-ms': '<string>',
'falkordbe.memory-pressure': '<string>',
'falkordbe.load-evict-budget': '<string>',
'falkordbe.ldap_servers': '<string>',
'falkordbe.ldap_auth_mode': '<string>',
'falkordbe.ldap_bind_dn_prefix': '<string>',
'falkordbe.ldap_bind_dn_suffix': '<string>',
'falkordbe.ldap_search_base': '<string>',
'falkordbe.ldap_search_filter': '<string>',
'falkordbe.ldap_search_scope': '<string>',
'falkordbe.ldap_search_attribute': '<string>',
'falkordbe.ldap_search_dn_attribute': '<string>',
'falkordbe.ldap_search_bind_dn': '<string>',
'falkordbe.ldap_search_bind_passwd': '<string>',
'falkordbe.ldap_connection_pool_size': '<string>',
'falkordbe.ldap_timeout_connection': '<string>',
'falkordbe.ldap_timeout_ldap_operation': '<string>',
'falkordbe.ldap_failure_detector_interval': '<string>',
'falkordbe.ldap_use_starttls': '<string>',
'falkordbe.ldap_tls_ca_cert_path': '<string>',
'falkordbe.ldap_tls_cert_path': '<string>',
'falkordbe.ldap_tls_key_path': '<string>',
'falkordbe.ldap_tls_skip_verify': '<string>',
'falkordbe.ldap_exempted_users_regex': '<string>',
'falkordbe.ldap_return_auth_errors': '<string>',
'falkordbe.ldap_acl_fallback_enabled': '<string>',
'falkordbe.ldap_default_acl_rules': '<string>',
'falkordbe.ldap_groups_search_base': '<string>',
'falkordbe.ldap_groups_filter': '<string>',
'falkordbe.ldap_groups_name_attribute': '<string>',
'falkordbe.ldap_groups_member_attribute': '<string>',
'falkordbe.ldap_groups_rules_attribute': '<string>',
'falkordbe.ldap_group_acl_rules_map': '<string>',
'falkordbe.ldap_group_acl_user_map': '<string>'
},
server: {}
},
networking: {
externalDomain: '<string>',
services: [
{
name: '<string>',
target: 'nodes',
type: 'ClusterIP',
perPod: true,
annotations: {}
}
]
},
security: {auth: {password: '<string>'}},
observability: {exporter: true},
lifecycle: {state: 'Running', deletionPolicy: 'DoNotTerminate'}
}
})
};
fetch('http://localhost:3001/api/clusters/{clusterName}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3001",
CURLOPT_URL => "http://localhost:3001/api/clusters/{clusterName}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'schemaVersion' => 1,
'metadata' => [
'name' => '<string>',
'namespace' => '<string>',
'labels' => [
],
'annotations' => [
]
],
'spec' => [
'topology' => [
'mode' => 'standalone',
'replicas' => 2,
'shards' => 4,
'replicasPerShard' => 3
],
'version' => '<string>',
'componentDefinition' => '<string>',
'nodes' => [
'resources' => [
'requests' => [
'cpu' => '<string>',
'memory' => '<string>'
],
'limits' => [
'cpu' => '<string>',
'memory' => '<string>'
]
],
'scheduling' => [
'nodeSelector' => [
],
'tolerations' => [
[
'key' => '<string>',
'operator' => 'Equal',
'value' => '<string>',
'effect' => 'NoSchedule',
'tolerationSeconds' => 1
]
]
]
],
'sentinels' => [
'replicas' => 2,
'resources' => [
'requests' => [
'cpu' => '<string>',
'memory' => '<string>'
],
'limits' => [
'cpu' => '<string>',
'memory' => '<string>'
]
],
'storage' => [
'size' => '<string>',
'storageClass' => '<string>'
],
'scheduling' => [
'nodeSelector' => [
],
'tolerations' => [
[
'key' => '<string>',
'operator' => 'Equal',
'value' => '<string>',
'effect' => 'NoSchedule',
'tolerationSeconds' => 1
]
]
]
],
'config' => [
'graph' => [
'THREAD_COUNT' => '<string>',
'CACHE_SIZE' => '<string>',
'OMP_THREAD_COUNT' => '<string>',
'NODE_CREATION_BUFFER' => '<string>',
'BOLT_PORT' => '<string>',
'MAX_QUEUED_QUERIES' => '<string>',
'TIMEOUT_MAX' => '<string>',
'TIMEOUT_DEFAULT' => '<string>',
'RESULTSET_SIZE' => '<string>',
'QUERY_MEM_CAPACITY' => '<string>',
'VKEY_MAX_ENTITY_COUNT' => '<string>',
'EFFECTS_THRESHOLD' => '<string>',
'CMD_INFO' => '<string>',
'MAX_INFO_QUERIES' => '<string>',
'DELTA_MAX_PENDING_CHANGES' => '<string>',
'IMPORT_FOLDER' => '<string>'
],
'enterprise' => [
'falkordbe.idle-threshold-ms' => '<string>',
'falkordbe.evict-interval-ms' => '<string>',
'falkordbe.memory-pressure' => '<string>',
'falkordbe.load-evict-budget' => '<string>',
'falkordbe.ldap_servers' => '<string>',
'falkordbe.ldap_auth_mode' => '<string>',
'falkordbe.ldap_bind_dn_prefix' => '<string>',
'falkordbe.ldap_bind_dn_suffix' => '<string>',
'falkordbe.ldap_search_base' => '<string>',
'falkordbe.ldap_search_filter' => '<string>',
'falkordbe.ldap_search_scope' => '<string>',
'falkordbe.ldap_search_attribute' => '<string>',
'falkordbe.ldap_search_dn_attribute' => '<string>',
'falkordbe.ldap_search_bind_dn' => '<string>',
'falkordbe.ldap_search_bind_passwd' => '<string>',
'falkordbe.ldap_connection_pool_size' => '<string>',
'falkordbe.ldap_timeout_connection' => '<string>',
'falkordbe.ldap_timeout_ldap_operation' => '<string>',
'falkordbe.ldap_failure_detector_interval' => '<string>',
'falkordbe.ldap_use_starttls' => '<string>',
'falkordbe.ldap_tls_ca_cert_path' => '<string>',
'falkordbe.ldap_tls_cert_path' => '<string>',
'falkordbe.ldap_tls_key_path' => '<string>',
'falkordbe.ldap_tls_skip_verify' => '<string>',
'falkordbe.ldap_exempted_users_regex' => '<string>',
'falkordbe.ldap_return_auth_errors' => '<string>',
'falkordbe.ldap_acl_fallback_enabled' => '<string>',
'falkordbe.ldap_default_acl_rules' => '<string>',
'falkordbe.ldap_groups_search_base' => '<string>',
'falkordbe.ldap_groups_filter' => '<string>',
'falkordbe.ldap_groups_name_attribute' => '<string>',
'falkordbe.ldap_groups_member_attribute' => '<string>',
'falkordbe.ldap_groups_rules_attribute' => '<string>',
'falkordbe.ldap_group_acl_rules_map' => '<string>',
'falkordbe.ldap_group_acl_user_map' => '<string>'
],
'server' => [
]
],
'networking' => [
'externalDomain' => '<string>',
'services' => [
[
'name' => '<string>',
'target' => 'nodes',
'type' => 'ClusterIP',
'perPod' => true,
'annotations' => [
]
]
]
],
'security' => [
'auth' => [
'password' => '<string>'
]
],
'observability' => [
'exporter' => true
],
'lifecycle' => [
'state' => 'Running',
'deletionPolicy' => 'DoNotTerminate'
]
]
]),
CURLOPT_COOKIE => "token=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://localhost:3001/api/clusters/{clusterName}"
payload := strings.NewReader("{\n \"schemaVersion\": 1,\n \"metadata\": {\n \"name\": \"<string>\",\n \"namespace\": \"<string>\",\n \"labels\": {},\n \"annotations\": {}\n },\n \"spec\": {\n \"topology\": {\n \"mode\": \"standalone\",\n \"replicas\": 2,\n \"shards\": 4,\n \"replicasPerShard\": 3\n },\n \"version\": \"<string>\",\n \"componentDefinition\": \"<string>\",\n \"nodes\": {\n \"resources\": {\n \"requests\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n },\n \"limits\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n }\n },\n \"scheduling\": {\n \"nodeSelector\": {},\n \"tolerations\": [\n {\n \"key\": \"<string>\",\n \"operator\": \"Equal\",\n \"value\": \"<string>\",\n \"effect\": \"NoSchedule\",\n \"tolerationSeconds\": 1\n }\n ]\n }\n },\n \"sentinels\": {\n \"replicas\": 2,\n \"resources\": {\n \"requests\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n },\n \"limits\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n }\n },\n \"storage\": {\n \"size\": \"<string>\",\n \"storageClass\": \"<string>\"\n },\n \"scheduling\": {\n \"nodeSelector\": {},\n \"tolerations\": [\n {\n \"key\": \"<string>\",\n \"operator\": \"Equal\",\n \"value\": \"<string>\",\n \"effect\": \"NoSchedule\",\n \"tolerationSeconds\": 1\n }\n ]\n }\n },\n \"config\": {\n \"graph\": {\n \"THREAD_COUNT\": \"<string>\",\n \"CACHE_SIZE\": \"<string>\",\n \"OMP_THREAD_COUNT\": \"<string>\",\n \"NODE_CREATION_BUFFER\": \"<string>\",\n \"BOLT_PORT\": \"<string>\",\n \"MAX_QUEUED_QUERIES\": \"<string>\",\n \"TIMEOUT_MAX\": \"<string>\",\n \"TIMEOUT_DEFAULT\": \"<string>\",\n \"RESULTSET_SIZE\": \"<string>\",\n \"QUERY_MEM_CAPACITY\": \"<string>\",\n \"VKEY_MAX_ENTITY_COUNT\": \"<string>\",\n \"EFFECTS_THRESHOLD\": \"<string>\",\n \"CMD_INFO\": \"<string>\",\n \"MAX_INFO_QUERIES\": \"<string>\",\n \"DELTA_MAX_PENDING_CHANGES\": \"<string>\",\n \"IMPORT_FOLDER\": \"<string>\"\n },\n \"enterprise\": {\n \"falkordbe.idle-threshold-ms\": \"<string>\",\n \"falkordbe.evict-interval-ms\": \"<string>\",\n \"falkordbe.memory-pressure\": \"<string>\",\n \"falkordbe.load-evict-budget\": \"<string>\",\n \"falkordbe.ldap_servers\": \"<string>\",\n \"falkordbe.ldap_auth_mode\": \"<string>\",\n \"falkordbe.ldap_bind_dn_prefix\": \"<string>\",\n \"falkordbe.ldap_bind_dn_suffix\": \"<string>\",\n \"falkordbe.ldap_search_base\": \"<string>\",\n \"falkordbe.ldap_search_filter\": \"<string>\",\n \"falkordbe.ldap_search_scope\": \"<string>\",\n \"falkordbe.ldap_search_attribute\": \"<string>\",\n \"falkordbe.ldap_search_dn_attribute\": \"<string>\",\n \"falkordbe.ldap_search_bind_dn\": \"<string>\",\n \"falkordbe.ldap_search_bind_passwd\": \"<string>\",\n \"falkordbe.ldap_connection_pool_size\": \"<string>\",\n \"falkordbe.ldap_timeout_connection\": \"<string>\",\n \"falkordbe.ldap_timeout_ldap_operation\": \"<string>\",\n \"falkordbe.ldap_failure_detector_interval\": \"<string>\",\n \"falkordbe.ldap_use_starttls\": \"<string>\",\n \"falkordbe.ldap_tls_ca_cert_path\": \"<string>\",\n \"falkordbe.ldap_tls_cert_path\": \"<string>\",\n \"falkordbe.ldap_tls_key_path\": \"<string>\",\n \"falkordbe.ldap_tls_skip_verify\": \"<string>\",\n \"falkordbe.ldap_exempted_users_regex\": \"<string>\",\n \"falkordbe.ldap_return_auth_errors\": \"<string>\",\n \"falkordbe.ldap_acl_fallback_enabled\": \"<string>\",\n \"falkordbe.ldap_default_acl_rules\": \"<string>\",\n \"falkordbe.ldap_groups_search_base\": \"<string>\",\n \"falkordbe.ldap_groups_filter\": \"<string>\",\n \"falkordbe.ldap_groups_name_attribute\": \"<string>\",\n \"falkordbe.ldap_groups_member_attribute\": \"<string>\",\n \"falkordbe.ldap_groups_rules_attribute\": \"<string>\",\n \"falkordbe.ldap_group_acl_rules_map\": \"<string>\",\n \"falkordbe.ldap_group_acl_user_map\": \"<string>\"\n },\n \"server\": {}\n },\n \"networking\": {\n \"externalDomain\": \"<string>\",\n \"services\": [\n {\n \"name\": \"<string>\",\n \"target\": \"nodes\",\n \"type\": \"ClusterIP\",\n \"perPod\": true,\n \"annotations\": {}\n }\n ]\n },\n \"security\": {\n \"auth\": {\n \"password\": \"<string>\"\n }\n },\n \"observability\": {\n \"exporter\": true\n },\n \"lifecycle\": {\n \"state\": \"Running\",\n \"deletionPolicy\": \"DoNotTerminate\"\n }\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("cookie", "token=")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("http://localhost:3001/api/clusters/{clusterName}")
.header("cookie", "token=")
.header("Content-Type", "application/json")
.body("{\n \"schemaVersion\": 1,\n \"metadata\": {\n \"name\": \"<string>\",\n \"namespace\": \"<string>\",\n \"labels\": {},\n \"annotations\": {}\n },\n \"spec\": {\n \"topology\": {\n \"mode\": \"standalone\",\n \"replicas\": 2,\n \"shards\": 4,\n \"replicasPerShard\": 3\n },\n \"version\": \"<string>\",\n \"componentDefinition\": \"<string>\",\n \"nodes\": {\n \"resources\": {\n \"requests\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n },\n \"limits\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n }\n },\n \"scheduling\": {\n \"nodeSelector\": {},\n \"tolerations\": [\n {\n \"key\": \"<string>\",\n \"operator\": \"Equal\",\n \"value\": \"<string>\",\n \"effect\": \"NoSchedule\",\n \"tolerationSeconds\": 1\n }\n ]\n }\n },\n \"sentinels\": {\n \"replicas\": 2,\n \"resources\": {\n \"requests\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n },\n \"limits\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n }\n },\n \"storage\": {\n \"size\": \"<string>\",\n \"storageClass\": \"<string>\"\n },\n \"scheduling\": {\n \"nodeSelector\": {},\n \"tolerations\": [\n {\n \"key\": \"<string>\",\n \"operator\": \"Equal\",\n \"value\": \"<string>\",\n \"effect\": \"NoSchedule\",\n \"tolerationSeconds\": 1\n }\n ]\n }\n },\n \"config\": {\n \"graph\": {\n \"THREAD_COUNT\": \"<string>\",\n \"CACHE_SIZE\": \"<string>\",\n \"OMP_THREAD_COUNT\": \"<string>\",\n \"NODE_CREATION_BUFFER\": \"<string>\",\n \"BOLT_PORT\": \"<string>\",\n \"MAX_QUEUED_QUERIES\": \"<string>\",\n \"TIMEOUT_MAX\": \"<string>\",\n \"TIMEOUT_DEFAULT\": \"<string>\",\n \"RESULTSET_SIZE\": \"<string>\",\n \"QUERY_MEM_CAPACITY\": \"<string>\",\n \"VKEY_MAX_ENTITY_COUNT\": \"<string>\",\n \"EFFECTS_THRESHOLD\": \"<string>\",\n \"CMD_INFO\": \"<string>\",\n \"MAX_INFO_QUERIES\": \"<string>\",\n \"DELTA_MAX_PENDING_CHANGES\": \"<string>\",\n \"IMPORT_FOLDER\": \"<string>\"\n },\n \"enterprise\": {\n \"falkordbe.idle-threshold-ms\": \"<string>\",\n \"falkordbe.evict-interval-ms\": \"<string>\",\n \"falkordbe.memory-pressure\": \"<string>\",\n \"falkordbe.load-evict-budget\": \"<string>\",\n \"falkordbe.ldap_servers\": \"<string>\",\n \"falkordbe.ldap_auth_mode\": \"<string>\",\n \"falkordbe.ldap_bind_dn_prefix\": \"<string>\",\n \"falkordbe.ldap_bind_dn_suffix\": \"<string>\",\n \"falkordbe.ldap_search_base\": \"<string>\",\n \"falkordbe.ldap_search_filter\": \"<string>\",\n \"falkordbe.ldap_search_scope\": \"<string>\",\n \"falkordbe.ldap_search_attribute\": \"<string>\",\n \"falkordbe.ldap_search_dn_attribute\": \"<string>\",\n \"falkordbe.ldap_search_bind_dn\": \"<string>\",\n \"falkordbe.ldap_search_bind_passwd\": \"<string>\",\n \"falkordbe.ldap_connection_pool_size\": \"<string>\",\n \"falkordbe.ldap_timeout_connection\": \"<string>\",\n \"falkordbe.ldap_timeout_ldap_operation\": \"<string>\",\n \"falkordbe.ldap_failure_detector_interval\": \"<string>\",\n \"falkordbe.ldap_use_starttls\": \"<string>\",\n \"falkordbe.ldap_tls_ca_cert_path\": \"<string>\",\n \"falkordbe.ldap_tls_cert_path\": \"<string>\",\n \"falkordbe.ldap_tls_key_path\": \"<string>\",\n \"falkordbe.ldap_tls_skip_verify\": \"<string>\",\n \"falkordbe.ldap_exempted_users_regex\": \"<string>\",\n \"falkordbe.ldap_return_auth_errors\": \"<string>\",\n \"falkordbe.ldap_acl_fallback_enabled\": \"<string>\",\n \"falkordbe.ldap_default_acl_rules\": \"<string>\",\n \"falkordbe.ldap_groups_search_base\": \"<string>\",\n \"falkordbe.ldap_groups_filter\": \"<string>\",\n \"falkordbe.ldap_groups_name_attribute\": \"<string>\",\n \"falkordbe.ldap_groups_member_attribute\": \"<string>\",\n \"falkordbe.ldap_groups_rules_attribute\": \"<string>\",\n \"falkordbe.ldap_group_acl_rules_map\": \"<string>\",\n \"falkordbe.ldap_group_acl_user_map\": \"<string>\"\n },\n \"server\": {}\n },\n \"networking\": {\n \"externalDomain\": \"<string>\",\n \"services\": [\n {\n \"name\": \"<string>\",\n \"target\": \"nodes\",\n \"type\": \"ClusterIP\",\n \"perPod\": true,\n \"annotations\": {}\n }\n ]\n },\n \"security\": {\n \"auth\": {\n \"password\": \"<string>\"\n }\n },\n \"observability\": {\n \"exporter\": true\n },\n \"lifecycle\": {\n \"state\": \"Running\",\n \"deletionPolicy\": \"DoNotTerminate\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3001/api/clusters/{clusterName}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Put.new(url)
request["cookie"] = 'token='
request["Content-Type"] = 'application/json'
request.body = "{\n \"schemaVersion\": 1,\n \"metadata\": {\n \"name\": \"<string>\",\n \"namespace\": \"<string>\",\n \"labels\": {},\n \"annotations\": {}\n },\n \"spec\": {\n \"topology\": {\n \"mode\": \"standalone\",\n \"replicas\": 2,\n \"shards\": 4,\n \"replicasPerShard\": 3\n },\n \"version\": \"<string>\",\n \"componentDefinition\": \"<string>\",\n \"nodes\": {\n \"resources\": {\n \"requests\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n },\n \"limits\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n }\n },\n \"scheduling\": {\n \"nodeSelector\": {},\n \"tolerations\": [\n {\n \"key\": \"<string>\",\n \"operator\": \"Equal\",\n \"value\": \"<string>\",\n \"effect\": \"NoSchedule\",\n \"tolerationSeconds\": 1\n }\n ]\n }\n },\n \"sentinels\": {\n \"replicas\": 2,\n \"resources\": {\n \"requests\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n },\n \"limits\": {\n \"cpu\": \"<string>\",\n \"memory\": \"<string>\"\n }\n },\n \"storage\": {\n \"size\": \"<string>\",\n \"storageClass\": \"<string>\"\n },\n \"scheduling\": {\n \"nodeSelector\": {},\n \"tolerations\": [\n {\n \"key\": \"<string>\",\n \"operator\": \"Equal\",\n \"value\": \"<string>\",\n \"effect\": \"NoSchedule\",\n \"tolerationSeconds\": 1\n }\n ]\n }\n },\n \"config\": {\n \"graph\": {\n \"THREAD_COUNT\": \"<string>\",\n \"CACHE_SIZE\": \"<string>\",\n \"OMP_THREAD_COUNT\": \"<string>\",\n \"NODE_CREATION_BUFFER\": \"<string>\",\n \"BOLT_PORT\": \"<string>\",\n \"MAX_QUEUED_QUERIES\": \"<string>\",\n \"TIMEOUT_MAX\": \"<string>\",\n \"TIMEOUT_DEFAULT\": \"<string>\",\n \"RESULTSET_SIZE\": \"<string>\",\n \"QUERY_MEM_CAPACITY\": \"<string>\",\n \"VKEY_MAX_ENTITY_COUNT\": \"<string>\",\n \"EFFECTS_THRESHOLD\": \"<string>\",\n \"CMD_INFO\": \"<string>\",\n \"MAX_INFO_QUERIES\": \"<string>\",\n \"DELTA_MAX_PENDING_CHANGES\": \"<string>\",\n \"IMPORT_FOLDER\": \"<string>\"\n },\n \"enterprise\": {\n \"falkordbe.idle-threshold-ms\": \"<string>\",\n \"falkordbe.evict-interval-ms\": \"<string>\",\n \"falkordbe.memory-pressure\": \"<string>\",\n \"falkordbe.load-evict-budget\": \"<string>\",\n \"falkordbe.ldap_servers\": \"<string>\",\n \"falkordbe.ldap_auth_mode\": \"<string>\",\n \"falkordbe.ldap_bind_dn_prefix\": \"<string>\",\n \"falkordbe.ldap_bind_dn_suffix\": \"<string>\",\n \"falkordbe.ldap_search_base\": \"<string>\",\n \"falkordbe.ldap_search_filter\": \"<string>\",\n \"falkordbe.ldap_search_scope\": \"<string>\",\n \"falkordbe.ldap_search_attribute\": \"<string>\",\n \"falkordbe.ldap_search_dn_attribute\": \"<string>\",\n \"falkordbe.ldap_search_bind_dn\": \"<string>\",\n \"falkordbe.ldap_search_bind_passwd\": \"<string>\",\n \"falkordbe.ldap_connection_pool_size\": \"<string>\",\n \"falkordbe.ldap_timeout_connection\": \"<string>\",\n \"falkordbe.ldap_timeout_ldap_operation\": \"<string>\",\n \"falkordbe.ldap_failure_detector_interval\": \"<string>\",\n \"falkordbe.ldap_use_starttls\": \"<string>\",\n \"falkordbe.ldap_tls_ca_cert_path\": \"<string>\",\n \"falkordbe.ldap_tls_cert_path\": \"<string>\",\n \"falkordbe.ldap_tls_key_path\": \"<string>\",\n \"falkordbe.ldap_tls_skip_verify\": \"<string>\",\n \"falkordbe.ldap_exempted_users_regex\": \"<string>\",\n \"falkordbe.ldap_return_auth_errors\": \"<string>\",\n \"falkordbe.ldap_acl_fallback_enabled\": \"<string>\",\n \"falkordbe.ldap_default_acl_rules\": \"<string>\",\n \"falkordbe.ldap_groups_search_base\": \"<string>\",\n \"falkordbe.ldap_groups_filter\": \"<string>\",\n \"falkordbe.ldap_groups_name_attribute\": \"<string>\",\n \"falkordbe.ldap_groups_member_attribute\": \"<string>\",\n \"falkordbe.ldap_groups_rules_attribute\": \"<string>\",\n \"falkordbe.ldap_group_acl_rules_map\": \"<string>\",\n \"falkordbe.ldap_group_acl_user_map\": \"<string>\"\n },\n \"server\": {}\n },\n \"networking\": {\n \"externalDomain\": \"<string>\",\n \"services\": [\n {\n \"name\": \"<string>\",\n \"target\": \"nodes\",\n \"type\": \"ClusterIP\",\n \"perPod\": true,\n \"annotations\": {}\n }\n ]\n },\n \"security\": {\n \"auth\": {\n \"password\": \"<string>\"\n }\n },\n \"observability\": {\n \"exporter\": true\n },\n \"lifecycle\": {\n \"state\": \"Running\",\n \"deletionPolicy\": \"DoNotTerminate\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"schemaVersion": 1,
"plan": {
"changedPaths": [
"<string>"
],
"volumeExpansions": [
{
"componentName": "<string>",
"storage": "<string>"
}
],
"reconfigure": [
"<string>"
]
},
"deployment": {
"schemaVersion": 1,
"metadata": {
"name": "<string>",
"namespace": "<string>",
"labels": {},
"annotations": {},
"creationTimestamp": "<string>",
"generation": 123
},
"spec": {
"topology": {
"mode": "standalone",
"replicas": 2,
"shards": 4,
"replicasPerShard": 3
},
"version": "<string>",
"componentDefinition": "<string>",
"nodes": {
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"storage": {
"size": "<string>",
"storageClass": "<string>"
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"sentinels": {
"replicas": 2,
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"storage": {
"size": "<string>",
"storageClass": "<string>"
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"config": {
"graph": {
"THREAD_COUNT": "<string>",
"CACHE_SIZE": "<string>",
"OMP_THREAD_COUNT": "<string>",
"NODE_CREATION_BUFFER": "<string>",
"BOLT_PORT": "<string>",
"MAX_QUEUED_QUERIES": "<string>",
"TIMEOUT_MAX": "<string>",
"TIMEOUT_DEFAULT": "<string>",
"RESULTSET_SIZE": "<string>",
"QUERY_MEM_CAPACITY": "<string>",
"VKEY_MAX_ENTITY_COUNT": "<string>",
"EFFECTS_THRESHOLD": "<string>",
"CMD_INFO": "<string>",
"MAX_INFO_QUERIES": "<string>",
"DELTA_MAX_PENDING_CHANGES": "<string>",
"IMPORT_FOLDER": "<string>"
},
"enterprise": {
"falkordbe.idle-threshold-ms": "<string>",
"falkordbe.evict-interval-ms": "<string>",
"falkordbe.memory-pressure": "<string>",
"falkordbe.load-evict-budget": "<string>",
"falkordbe.ldap_servers": "<string>",
"falkordbe.ldap_auth_mode": "<string>",
"falkordbe.ldap_bind_dn_prefix": "<string>",
"falkordbe.ldap_bind_dn_suffix": "<string>",
"falkordbe.ldap_search_base": "<string>",
"falkordbe.ldap_search_filter": "<string>",
"falkordbe.ldap_search_scope": "<string>",
"falkordbe.ldap_search_attribute": "<string>",
"falkordbe.ldap_search_dn_attribute": "<string>",
"falkordbe.ldap_search_bind_dn": "<string>",
"falkordbe.ldap_search_bind_passwd": "<string>",
"falkordbe.ldap_connection_pool_size": "<string>",
"falkordbe.ldap_timeout_connection": "<string>",
"falkordbe.ldap_timeout_ldap_operation": "<string>",
"falkordbe.ldap_failure_detector_interval": "<string>",
"falkordbe.ldap_use_starttls": "<string>",
"falkordbe.ldap_tls_ca_cert_path": "<string>",
"falkordbe.ldap_tls_cert_path": "<string>",
"falkordbe.ldap_tls_key_path": "<string>",
"falkordbe.ldap_tls_skip_verify": "<string>",
"falkordbe.ldap_exempted_users_regex": "<string>",
"falkordbe.ldap_return_auth_errors": "<string>",
"falkordbe.ldap_acl_fallback_enabled": "<string>",
"falkordbe.ldap_default_acl_rules": "<string>",
"falkordbe.ldap_groups_search_base": "<string>",
"falkordbe.ldap_groups_filter": "<string>",
"falkordbe.ldap_groups_name_attribute": "<string>",
"falkordbe.ldap_groups_member_attribute": "<string>",
"falkordbe.ldap_groups_rules_attribute": "<string>",
"falkordbe.ldap_group_acl_rules_map": "<string>",
"falkordbe.ldap_group_acl_user_map": "<string>"
},
"server": {}
},
"networking": {
"externalDomain": "<string>",
"services": [
{
"name": "<string>",
"target": "nodes",
"type": "ClusterIP",
"perPod": true,
"annotations": {}
}
]
},
"security": {
"tls": {
"issuer": "Enterprise",
"secretRef": {
"name": "<string>",
"namespace": "<string>",
"ca": "<string>",
"cert": "<string>",
"key": "<string>"
},
"issuerRef": {
"name": "<string>",
"kind": "Issuer"
}
},
"auth": {
"password": "<string>",
"passwordSecretRef": {
"name": "<string>",
"key": "<string>"
}
}
},
"backup": {
"schedule": "<string>",
"retentionPeriod": "<string>"
},
"observability": {
"exporter": true
},
"lifecycle": {
"state": "Running",
"deletionPolicy": "DoNotTerminate"
}
},
"status": {
"phase": "<string>",
"state": "Pending",
"ready": true,
"managed": true,
"unmanagedFields": [
"<string>"
],
"nodes": {
"desired": 1,
"ready": 1
},
"sentinels": {
"desired": 1,
"ready": 1
},
"tls": {
"issuer": "Enterprise",
"appliedFingerprint": "<string>",
"certificateExpiresAt": "2023-11-07T05:31:56Z",
"upToDate": true
},
"pendingChanges": [
{
"path": "<string>",
"via": "OpsRequest",
"name": "<string>",
"type": "<string>",
"phase": "<string>",
"keys": [
"<string>"
],
"since": "<string>"
}
],
"conditions": [
{
"type": "<string>",
"status": "<string>",
"reason": "<string>",
"message": "<string>",
"lastTransitionTime": "<string>"
}
],
"observedGeneration": 123,
"endpoints": {
"internal": "<string>",
"external": "<string>"
}
}
},
"dryRun": true
}{
"schemaVersion": 1,
"plan": {
"changedPaths": [
"<string>"
],
"volumeExpansions": [
{
"componentName": "<string>",
"storage": "<string>"
}
],
"reconfigure": [
"<string>"
]
},
"deployment": {
"schemaVersion": 1,
"metadata": {
"name": "<string>",
"namespace": "<string>",
"labels": {},
"annotations": {},
"creationTimestamp": "<string>",
"generation": 123
},
"spec": {
"topology": {
"mode": "standalone",
"replicas": 2,
"shards": 4,
"replicasPerShard": 3
},
"version": "<string>",
"componentDefinition": "<string>",
"nodes": {
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"storage": {
"size": "<string>",
"storageClass": "<string>"
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"sentinels": {
"replicas": 2,
"resources": {
"requests": {
"cpu": "<string>",
"memory": "<string>"
},
"limits": {
"cpu": "<string>",
"memory": "<string>"
}
},
"storage": {
"size": "<string>",
"storageClass": "<string>"
},
"scheduling": {
"nodeSelector": {},
"tolerations": [
{
"key": "<string>",
"operator": "Equal",
"value": "<string>",
"effect": "NoSchedule",
"tolerationSeconds": 1
}
]
}
},
"config": {
"graph": {
"THREAD_COUNT": "<string>",
"CACHE_SIZE": "<string>",
"OMP_THREAD_COUNT": "<string>",
"NODE_CREATION_BUFFER": "<string>",
"BOLT_PORT": "<string>",
"MAX_QUEUED_QUERIES": "<string>",
"TIMEOUT_MAX": "<string>",
"TIMEOUT_DEFAULT": "<string>",
"RESULTSET_SIZE": "<string>",
"QUERY_MEM_CAPACITY": "<string>",
"VKEY_MAX_ENTITY_COUNT": "<string>",
"EFFECTS_THRESHOLD": "<string>",
"CMD_INFO": "<string>",
"MAX_INFO_QUERIES": "<string>",
"DELTA_MAX_PENDING_CHANGES": "<string>",
"IMPORT_FOLDER": "<string>"
},
"enterprise": {
"falkordbe.idle-threshold-ms": "<string>",
"falkordbe.evict-interval-ms": "<string>",
"falkordbe.memory-pressure": "<string>",
"falkordbe.load-evict-budget": "<string>",
"falkordbe.ldap_servers": "<string>",
"falkordbe.ldap_auth_mode": "<string>",
"falkordbe.ldap_bind_dn_prefix": "<string>",
"falkordbe.ldap_bind_dn_suffix": "<string>",
"falkordbe.ldap_search_base": "<string>",
"falkordbe.ldap_search_filter": "<string>",
"falkordbe.ldap_search_scope": "<string>",
"falkordbe.ldap_search_attribute": "<string>",
"falkordbe.ldap_search_dn_attribute": "<string>",
"falkordbe.ldap_search_bind_dn": "<string>",
"falkordbe.ldap_search_bind_passwd": "<string>",
"falkordbe.ldap_connection_pool_size": "<string>",
"falkordbe.ldap_timeout_connection": "<string>",
"falkordbe.ldap_timeout_ldap_operation": "<string>",
"falkordbe.ldap_failure_detector_interval": "<string>",
"falkordbe.ldap_use_starttls": "<string>",
"falkordbe.ldap_tls_ca_cert_path": "<string>",
"falkordbe.ldap_tls_cert_path": "<string>",
"falkordbe.ldap_tls_key_path": "<string>",
"falkordbe.ldap_tls_skip_verify": "<string>",
"falkordbe.ldap_exempted_users_regex": "<string>",
"falkordbe.ldap_return_auth_errors": "<string>",
"falkordbe.ldap_acl_fallback_enabled": "<string>",
"falkordbe.ldap_default_acl_rules": "<string>",
"falkordbe.ldap_groups_search_base": "<string>",
"falkordbe.ldap_groups_filter": "<string>",
"falkordbe.ldap_groups_name_attribute": "<string>",
"falkordbe.ldap_groups_member_attribute": "<string>",
"falkordbe.ldap_groups_rules_attribute": "<string>",
"falkordbe.ldap_group_acl_rules_map": "<string>",
"falkordbe.ldap_group_acl_user_map": "<string>"
},
"server": {}
},
"networking": {
"externalDomain": "<string>",
"services": [
{
"name": "<string>",
"target": "nodes",
"type": "ClusterIP",
"perPod": true,
"annotations": {}
}
]
},
"security": {
"tls": {
"issuer": "Enterprise",
"secretRef": {
"name": "<string>",
"namespace": "<string>",
"ca": "<string>",
"cert": "<string>",
"key": "<string>"
},
"issuerRef": {
"name": "<string>",
"kind": "Issuer"
}
},
"auth": {
"password": "<string>",
"passwordSecretRef": {
"name": "<string>",
"key": "<string>"
}
}
},
"backup": {
"schedule": "<string>",
"retentionPeriod": "<string>"
},
"observability": {
"exporter": true
},
"lifecycle": {
"state": "Running",
"deletionPolicy": "DoNotTerminate"
}
},
"status": {
"phase": "<string>",
"state": "Pending",
"ready": true,
"managed": true,
"unmanagedFields": [
"<string>"
],
"nodes": {
"desired": 1,
"ready": 1
},
"sentinels": {
"desired": 1,
"ready": 1
},
"tls": {
"issuer": "Enterprise",
"appliedFingerprint": "<string>",
"certificateExpiresAt": "2023-11-07T05:31:56Z",
"upToDate": true
},
"pendingChanges": [
{
"path": "<string>",
"via": "OpsRequest",
"name": "<string>",
"type": "<string>",
"phase": "<string>",
"keys": [
"<string>"
],
"since": "<string>"
}
],
"conditions": [
{
"type": "<string>",
"status": "<string>",
"reason": "<string>",
"message": "<string>",
"lastTransitionTime": "<string>"
}
],
"observedGeneration": 123,
"endpoints": {
"internal": "<string>",
"external": "<string>"
}
}
},
"dryRun": true
}{
"statusCode": 123,
"error": "<string>",
"message": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"error": "<string>",
"statusCode": 123,
"message": "<string>"
}{
"error": "<string>",
"statusCode": 123,
"message": "<string>"
}{
"error": "<string>",
"statusCode": 123,
"message": "<string>"
}{
"statusCode": 123,
"error": "<string>",
"message": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>"
}
]
}{
"error": "<string>",
"statusCode": 123,
"message": "<string>"
}Authorizations
JWT token stored in HTTP-only cookie
Path Parameters
Query Parameters
namespace is required
Minimum string length:
1Return the plan without applying it
Replace fields set outside this API (YAML editor, kubectl) instead of refusing
Body
application/json
Was this page helpful?