manticoresoftware/manticoresearch-auto-replication

Library for automation of replication of Manticore Search in Kubernetes. Used by Manticore Helm chart and other projects

2.1.0 2025-02-13 17:46 UTC

README

Local development

Create index.php file for local debug

require('vendor/autoload.php');


$labels = [
    'app.kubernetes.io/component' => 'worker',
    'app.kubernetes.io/instance' => 'helm',
];

$api = new ApiClient();
$api->setApiUrl('http://localhost:8080');
$api->setNamespace('helm');
$api->setMode(ApiClient::DEV_MODE);

Run k8s proxy

kubectl proxy --port=8080