astarte-platform / astarte-kubernetes-operator

Astarte Kubernetes Operator
http://astarte-platform.org
Apache License 2.0
22 stars 9 forks source link

api/broker host setup #75

Closed shortwavedave closed 1 year ago

shortwavedave commented 4 years ago

When setting up a cluster using astartectl it asks for an API Host and a Broker Host. In the example in the docs it shows this:

when I'm setting up the cluster, the console asks for an API host: Please enter the API Host for this Deployment

api:
    host: "api.astarte.yourdomain.com" # MANDATORY

vernemq:
    host: "broker.astarte.yourdomain.com"

On my local nameserver (this is a deployment on a microk8s cluster), I only have one resolvable domain name, say "yourdomain.com", and I can't add prefixes (as far as I know) such as api.astarte or broker.astarte.

Can I set both hosts to my domain name (e.g., yourdomain.com), or do they need unique names?

Also, I have the voyager operator installed, can I set up the astarte cluster to use a NodePort type ingress instead of load balancer?

matt-mazzucato commented 1 year ago

Sorry for the (very) late reply. Currently, the deployment of an Astarte instance with astartectl is viable only for test instances. Furthermore, the AstarteVoyagerIngress is deprecated and replaced by the AstarteDefaultIngress. If you are experiencing any other problem, please feel free to open a new issue.