mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-18 14:06:59 +00:00
updated docs to view logs for docker and k8s (#1624)
This commit is contained in:
parent
689e5beaea
commit
07b81edfc8
@ -83,3 +83,37 @@ To expose the OpenMetadata UI on a local Kubernetes instance, run this command.
|
||||
kubectl port-forward <openmetadata-front end pod name> 8585:8585
|
||||
```
|
||||
{% endhint %}
|
||||
|
||||
## Troubleshooting
|
||||
### View helm chart deployment status
|
||||
|
||||
Run the below command to view status of openmetadata helm chart deployed -
|
||||
|
||||
```
|
||||
helm status openmetadata
|
||||
```
|
||||
|
||||
For more information, visit helm command line reference [here](https://helm.sh/docs/helm/helm_status/).
|
||||
|
||||
### View openmetadata kubernetes pod logs
|
||||
|
||||
Run the below command to list openmetadata kubernetes pods deployed in a namespace -
|
||||
|
||||
```
|
||||
kubectl get pods --namespace <NAMESPACE_NAME> -l='app.kubernetes.io/managed-by=Helm,app.kubernetes.io/instance=<RELEASE_NAME>'
|
||||
```
|
||||
|
||||
Example, list pods deployed by helm release name 'ometa' in the namespace 'ometa-dev' -
|
||||
|
||||
```
|
||||
kubectl get pods --namespace ometa-dev -l='app.kubernetes.io/managed-by=Helm,app.kubernetes.io/instance=ometa'
|
||||
```
|
||||
|
||||
Next, view the logs of pod by running the below command,
|
||||
|
||||
```
|
||||
kubectl logs <POD_NAME> --namespace <NAMESPACE_NAME>
|
||||
```
|
||||
|
||||
For more information, visit the kubectl logs command line reference documentation [here](https://kubernetes.io/docs/tasks/debug-application-cluster/debug-running-pod/).
|
||||
|
||||
|
@ -193,6 +193,22 @@ You should see a page similar to the following as the landing page for the OpenM
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
#### Viewing docker container logs
|
||||
|
||||
You can view the logs generated by openmetadata containers with the below command -
|
||||
|
||||
```
|
||||
docker-compose logs <SERVICE_NAME>
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```
|
||||
docker logs <CONTAINER_NAME>
|
||||
```
|
||||
|
||||
For further reference, visit command line documentation for [docker-compose logs](https://docs.docker.com/compose/reference/logs/) and [docker logs](https://docs.docker.com/engine/reference/commandline/logs/)
|
||||
|
||||
#### Could not find a version that satisfied the requirement
|
||||
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user