Skip to content

Commit

Permalink
apiserver glog uses -alsologtostderr (#859)
Browse files Browse the repository at this point in the history
  • Loading branch information
ywskycn authored and k8s-ci-robot committed Mar 1, 2019
1 parent 77df6c2 commit de9a982
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ RUN apk add ca-certificates
EXPOSE 8888

# Start the apiserver
CMD apiserver --config=/config --sampleconfig=/config/sample_config.json
CMD apiserver --config=/config --sampleconfig=/config/sample_config.json -alsologtostderr=true
6 changes: 5 additions & 1 deletion developer_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ See [Ksonnet troubleshooting page](https://github.com/ksonnet/ksonnet/blob/maste
API server logs are located at /tmp directory of the pod. To SSH into the pod, run:
```bash
kubectl exec -it -n ${NAMESPACE} $(kubectl get pods -l app=ml-pipeline -o jsonpath='{.items[0].metadata.name}' -n ${NAMESPACE}) -- /bin/bash
kubectl exec -it -n ${NAMESPACE} $(kubectl get pods -l app=ml-pipeline -o jsonpath='{.items[0].metadata.name}' -n ${NAMESPACE}) -- /bin/sh
```
or
```bash
kubectl logs -n ${NAMESPACE} $(kubectl get pods -l app=ml-pipeline -o jsonpath='{.items[0].metadata.name}' -n ${NAMESPACE})
```
**Q: How to check my cluster status if I am using Minikube?**
Expand Down

0 comments on commit de9a982

Please sign in to comment.