Hi,
Juju units logs can be viewed with:
sudo k8s kubectl logs --namespace openstack --container <container_name> <pod_name>
This is currently documented under How-to Guides > Troubleshooting > Inspecting the cluster > Services hosted on Canonical Kubernetes, which seems too deeply buried in the docs for how essential and common an operation it is. It is also difficult to search. Those of us with long experiences with Charmed OpenStack will try (and have already tried) to juju ssh to units then check under /var/log/juju/, which is empty in Sunbeam.
It seems reasonable to also document this in a much more prominent and easily searchable location, such as adding a section like How-to Guides > Operations > Checking unit logs.
Hi,
Juju units logs can be viewed with:
This is currently documented under How-to Guides > Troubleshooting > Inspecting the cluster > Services hosted on Canonical Kubernetes, which seems too deeply buried in the docs for how essential and common an operation it is. It is also difficult to search. Those of us with long experiences with Charmed OpenStack will try (and have already tried) to
juju sshto units then check under/var/log/juju/, which is empty in Sunbeam.It seems reasonable to also document this in a much more prominent and easily searchable location, such as adding a section like How-to Guides > Operations > Checking unit logs.