Hello @pengale, I have been working on this, and I would like to clarify what is happening to me.
I also created this post, just in case could be related in anyhow.
Question: Using LXD controller, when exposing, I do not make it work (or something I am doing wrong)
Deploy and Expose
administrator@master-ubuntu:~$ juju deploy hello-juju
Located charm "cs:hello-juju-4".
Deploying charm "cs:hello-juju-4".
administrator@master-ubuntu:~$ juju expose hello-juju
administrator@master-ubuntu:~$ juju status
Model Controller Cloud/Region Version SLA Timestamp
lxd-staging-model lxd-staging localhost/localhost 2.8.7 unsupported 21:10:08Z
App Version Status Scale Charm Store Rev OS Notes
hello-juju active 1 hello-juju jujucharms 4 ubuntu exposed
Unit Workload Agent Machine Public address Ports Message
hello-juju/0* active idle 1 10.231.102.211 80/tcp Serving HTTP from gunicorn
Machine State DNS Inst id Series AZ Message
1 started 10.231.102.211 juju-c5a3b6-1 bionic Running
administrator@master-ubuntu:~$ curl 10.231.102.211
Hello Juju!
Here comes the problem.
administrator@master-ubuntu:~$ curl 192.168.2.5
curl: (7) Failed to connect to 192.168.2.5 port 80: Connection refused
administrator@master-ubuntu:~$ curl localhost
curl: (7) Failed to connect to localhost port 80: Connection refused
How can I make this pod available to be exposed from outside?
I am a network administrator and in fact, ingress, networking, domains and certs is the most complicated part in finding on Kubernetes and Juju. If anyone reading can give clear resources about this to learn practically and in deep I would much appreciate.
Thanks for your help,