Closed efiku closed 7 months ago
Hi, we're also running into this issue, but I think part of the problem is also the fact that Elastic has move to a new setup with Elastic Cloud on Kubernetes(ECK) and is no longer supporting the Helm chart used with this. What is now the recommended way to setup this cluster with Elasticsearch? Set Elasticsearch up by ourselves and connect them together, or will these Helm charts be updated so they are either working with newer Kubernetes versions, or to support ECK?
hey @rcomanne, did you managed to set elasticsearch yourselves and do it? I followed this documentation to deploy elasticsearch with kibana on my cluster and it worked like a charm, I just added NodePort service to access them from my pc. But I am facing and error trying to connect srs to it, I get an error saying "Error starting Micronaut server: Bean definition [com.pega.fnx.search.storage.SingleStorageManager] could not be loaded: Error instantiating bean of type [com.pega.fnx.search.storage.SingleStorageManager]\n\nMessage: Cannot create an Elasticsearch connector for endpoint :ihttps://ip:port"",
could you help me please?
Describe the bug
You are unable to deploy backingservices using the helm repository option (no local repository) because requirements.yaml in directory backingservices is not updated with ES version.
Error received:
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "elasticsearch-master-pdb" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1" ensure CRDs are installed first
So, the backingservices charts depends on the ES chart version. Should be version: "7.17.3" but its still 7.10.2
This is working fine for K8s < 1.25. but giving a lot of warring about v1 beta apis
To Reproduce Steps to reproduce the behavior.
Expected behavior Correct backingservices deployment for k8s 1.25 api
Chart version Latest - using helm repository (no local repo)
Server (if applicable, please complete the following information):
Additional context Suggested fix: changing the requirements.yaml es version to 7.17.3 in backingservices + also in the example values file.
Workaround:
https://github.com/pegasystems/pega-helm-charts/blob/09393af4942456f24c133aae36713e2cce2862b0/charts/backingservices/requirements.yaml#L3-L5