File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -232,16 +232,32 @@ $ kubectl get events --sort-by=.metadata.creationTimestamp -n openfaas-fn
232232
233233### Check logs of the core services
234234
235+ Check for any relevant events:
236+
237+ ```
238+ $ kubectl get events --sort-by=.metadata.creationTimestamp -n openfaas
239+ ```
240+
241+ These instructions may differ depending on whether you are using faas-netes (default) or the OpenFaaS Operator
242+
243+ #### Get logs using faas-netes
244+
245+ ```
246+ $ kubectl logs -n openfaas deploy/faas-netes
247+ $ kubectl logs -n openfaas deploy/gateway
248+ ```
249+
250+ #### Check the queue-worker
251+
235252```
236- $ kubectl logs -n openfaas-fn deploy/faas-netes
237- $ kubectl logs -n openfaas-fn deploy/gateway
238253$ kubectl logs -n openfaas-fn deploy/queue-worker
239254```
240255
241- Check for events too
256+ #### Get logs using OpenFaaS Operator
242257
243258```
244- $ kubectl get events --sort-by=.metadata.creationTimestamp -n openfaas
259+ $ kubectl logs -n openfaas deploy/gateway -c operator
260+ $ kubectl logs -n openfaas deploy/gateway -c gateway
245261```
246262
247263### Remove the OpenFaaS deployment
You can’t perform that action at this time.
0 commit comments