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
Requires
- php: >=7.4
- ext-curl: *
- ext-json: *
- ext-mysqli: *
- guzzlehttp/guzzle: ^7.3
- monolog/monolog: 2.9.1
- phpunit/phpunit: ^10.3
Requires (Dev)
- mockery/mockery: dev-main@dev
- roave/security-advisories: dev-latest
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