manticoresoftware/manticoresearch-auto-replication

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

1.2.2 2023-11-20 19:08 UTC

This package is auto-updated.

Last update: 2024-10-20 22:01:02 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