kc create -f hack/samples
set vm's k3s kubeconfig in .kube/config
kc port-forward -n demo svc/es 9200
elasticsearchClient, err := elasticsearch.NewKubeDBClientBuilder(kbClient, db).
WithContext(context.Background()).
WithURL("http://127.0.0.1:9200").
GetElasticClient()
- make build
- make push
- make deploy
- make clean