Need help on azure container apps

I am a complete beginner in es. Im having trouble deploying it on azure container apps. I have deployed 2 container apps for master and data nodes, i have problem connecting my data nodes to my master node.
Master config:

    .WithEnvironment("network.host", "0.0.0.0")
    .WithEnvironment("node.name", "es-master")
    .WithEnvironment("cluster.name", "es-cluster")
    .WithEnvironment("ES_JAVA_OPTS", "-Xms4g -Xmx4g")
    .WithEnvironment("xpack.security.enabled", "false")
    .WithEnvironment("xpack.security.enrollment.enabled", "false")
    .WithEnvironment("node.store.allow_mmap", "false")
    .WithEnvironment("cluster.initial_master_nodes", "es-master")

Data config:

        .WithEnvironment("network.host", "0.0.0.0")
        .WithEnvironment("cluster.name", "es-cluster")
        .WithEnvironment("ES_JAVA_OPTS", "-Xms4g -Xmx4g")
        .WithEnvironment("xpack.security.enabled", "false")
        .WithEnvironment("xpack.security.enrollment.enabled", "false")
        .WithEnvironment("node.store.allow_mmap", "false")
        .WithEnvironment("discovery.seed_hosts", "https://es-master.sample-123abc.southeastasia.azurecontainerapps.io")

The logs says

master not discovered yet, this node has not previously joined a bootstrapped cluster

I also tried allowing public access for testing and tried connecting local docker es data node to it. still no luck.
I also notice in logs that my seed_host was converted to an IP address which i cannot access.
I suspect this might be because the azure container apps sits behind its internal load balancer.

What might be the proper way of deploying es to azure container apps?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.