You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/apps.go
-42Lines changed: 0 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -3,24 +3,12 @@ package apps
3
3
4
4
import (
5
5
"encoding/json"
6
-
"errors"
7
6
"fmt"
8
-
"net/http"
9
-
"net/url"
10
7
11
8
drycc "github.com/drycc/controller-sdk-go"
12
9
"github.com/drycc/controller-sdk-go/api"
13
-
"golang.org/x/net/websocket"
14
10
)
15
11
16
-
// ErrNoLogs is returned when logs are missing from an app.
17
-
varErrNoLogs=errors.New(
18
-
`There are currently no log messages. Please check the following things:
19
-
1) Logger and fluentd pods are running: kubectl --namespace=drycc get pods.
20
-
2) The application is writing logs to the logger component by checking that an entry in the ring buffer was created: kubectl --namespace=drycc logs <logger pod>
21
-
3) Making sure that the container logs were mounted properly into the fluentd pod: kubectl --namespace=drycc exec <fluentd pod> ls /var/log/containers
22
-
3a) If the above command returns saying /var/log/containers cannot be found then please see the following github issue for a workaround: https://github.com/drycc/logger/issues/50`)
0 commit comments