mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-02-01 01:26:45 +00:00
33 lines
743 B
Markdown
33 lines
743 B
Markdown
|
# MicroK8S
|
||
|
|
||
|
This example deploy a 3 nodes Elasticsearch 7.16.2 cluster on [MicroK8S][]
|
||
|
using [custom values][].
|
||
|
|
||
|
Note that this configuration should be used for test only and isn't recommended
|
||
|
for production.
|
||
|
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
The following MicroK8S [addons][] need to be enabled:
|
||
|
- `dns`
|
||
|
- `helm`
|
||
|
- `storage`
|
||
|
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
* Deploy Elasticsearch chart with the default values: `make install`
|
||
|
|
||
|
* You can now setup a port forward to query Elasticsearch API:
|
||
|
|
||
|
```
|
||
|
kubectl port-forward svc/elasticsearch-master 9200
|
||
|
curl localhost:9200/_cat/indices
|
||
|
```
|
||
|
|
||
|
|
||
|
[addons]: https://microk8s.io/docs/addons
|
||
|
[custom values]: https://github.com/elastic/helm-charts/tree/7.16/elasticsearch/examples/microk8s/values.yaml
|
||
|
[MicroK8S]: https://microk8s.io
|