Consul with HELM to expose RPC consul-server

Hi, Looking for some assistance… i am deploying consul in AKS on my raspberrypi and i want to expose the RPC port 8301 so that servers outside my cluster can register as clients.



server:
  enabled: true
  replicas: 3
  bootstrapExpect: 3 # Should <= replicas count
  connect: true
  resources:
    requests:
      memory: "100Mi"
      cpu: "100m"
    limits:
      memory: "100Mi"
      cpu: "100m"
  affinity: "" # disable on sandbox
  ports:
    serflan: 
      port: 9301
  exposeGossipAndRPCPorts: true
 
client:
  enabled: true
  grpc: true
  exposeGossipPorts: true

consul-server                 ClusterIP      None            <none>           8500/TCP,8301/TCP,8301/UDP,8302/TCP,8302/UDP,8300/TCP,8600/TCP,8600/UDP   44m
consul-connect-injector-svc   ClusterIP      10.43.94.147    <none>           443/TCP                                                                   44m
consul-dns                    LoadBalancer   10.43.164.252   192.168.86.226   53:30639/TCP,53:31175/UDP                                                 44m
consul-ui                     LoadBalancer   10.43.84.222    192.168.86.225   80:32766/TCP                                                              44m

am i missing something here ?

Hey @sebbycorp

These docs might help: Consul Clients Outside of Kubernetes - Kubernetes | Consul by HashiCorp