Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
opensearch 2.x Describe the issue:
I have deployed open search in kuberneties as fer documentaion through opensearch operator
From your cloned OpenSearch Kubernetes Operator repo, navigate to the opensearch-operator/examples directory. There you’ll find the opensearch-cluster.yaml file, which can be customized to the needs of your cluster, including the clusterName that acts as the namespace in which your new OpenSearch cluster will reside.
With your cluster configured, run the kubectl apply command.
kubectl apply -f opensearch-cluster.yaml
Once I have deployed the opensearch and opnesearch dashboards those service running succesfully but while access the dashboard i couldn’t able to do .
I allow all ports in my azure kuberneties nsg
Configuration:
#Minimal configuration of a cluster with version 2.X of the operator.
#Note the replacement of 'master' role with 'cluster_manager' on line 49
apiVersion: opensearch.opster.io/v1
kind: OpenSearchCluster
metadata:
name: my-first-cluster
namespace: grafana
spec:
security:
config:
tls:
http:
generate: true
transport:
generate: true
perNode: true
general:
httpPort: 9200
serviceName: my-first-cluster
version: 2.14.0
pluginsList: ["repository-s3"]
drainDataNodes: true
dashboards:
tls:
enable: true
generate: true
version: 2.14.0
enable: true
replicas: 1
resources:
requests:
memory: "512Mi"
cpu: "200m"
limits:
memory: "512Mi"
cpu: "200m"
nodePools:
- component: masters
replicas: 2
resources:
requests:
memory: "2Gi"
cpu: "1000m"
limits:
memory: "2Gi"
cpu: "1000m"
roles:
- "data"
- "cluster_manager"
persistence:
emptyDir: {}
@stmx38 @pablo
please share opensearch deployment file with enable service load balancer or ingress controller configuration for azure kuberneties service
@malyadri Docker has less complex networking than Kubernetes.
If you’re using AKS then your ingress controller should pick the Public IP and Ingress redirect you to my-first-cluster-dashboards service and then to OpenSearch Dashboards UI.
Also, your path to OpenSearch Dashboards is /opensearch-dashboards.
Did you configure opensearch_dashboards.yml accordingly to support the new path?