Juan Pablo Quiroga
Juan Pablo Quiroga
or db.setSlaveOk(true);
Thanks a lot for the reply!! Been trying to make this work for a couple of days, followed about 4 different tutorials hahaha, glad to know I helped by posting...
@bryanhuntesl Also, this is currently happening on AWS EKS, which still uses coreDNS, by making some tweaks the illegal hostname error and system not running fqdns too, but still it...
@mrchypark Hey, what worked for me is Elixir.Cluster.Strategy.Kubernetes My example: topologies = [ k8s_excalibur: [ strategy: Elixir.Cluster.Strategy.Kubernetes, config: [ service: System.get_env("ERLANG_CLUSTER_SERVICE_NAME"), application_name: "excalibur", kubernetes_node_basename: "excalibur", kubernetes_namespace: "default", kubernetes_selector: "io.kompose.service=excalibur" ]...
Yes, the service for kubernetes deployments
You need to use distillery, setup a pre hook before the erlang VM is up and setup the ENV VAR ERLANG_NODE with its local ip
For example. Deployment part: - name: MY_POD_IP valueFrom: fieldRef: fieldPath: status.podIP Then the pre hook: #!/bin/sh echo 'Setting ERLANG_NAME...' export ERLANG_NAME=$MY_POD_IP echo $ERLANG_NAME export ERLANG_COOKIE=**** echo $ERLANG_COOKIE vm.args: -name excalibur@${ERLANG_NAME}...
And yes, by local ip I ment pod IP
Also got to this issue setting custom VPC cidr not setting --dns-cluster-ip, --b64-cluster-ca and --apiserver-endpoint fixed it for me eksctl 0.73.0
Any information on this? same issue