manticoresoftware/manticoresearch-auto-replication

Manticore Search 在 Kubernetes 中自动复制库。由 Manticore Helm 图表和其他项目使用

1.2.2 2023-11-20 19:08 UTC

This package is auto-updated.

Last update: 2024-09-20 21:52:44 UTC


README

本地开发

为本地调试创建 index.php 文件

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);

运行 k8s 代理

kubectl proxy --port=8080