diff --git a/Dockerfile b/Dockerfile index 969f873..17ae862 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.12-alpine AS builder +FROM golang:1.13-alpine AS builder # Copy in the git repo from the build context COPY . /go/src/github.com/tus/tusd/ diff --git a/cmd/tusd/cli/log.go b/cmd/tusd/cli/log.go index 5475688..254a3b4 100644 --- a/cmd/tusd/cli/log.go +++ b/cmd/tusd/cli/log.go @@ -7,8 +7,8 @@ import ( "github.com/tus/tusd/pkg/handler" ) -var stdout = log.New(os.Stdout, "[tusd] ", log.Ldate|log.Ltime) -var stderr = log.New(os.Stderr, "[tusd] ", log.Ldate|log.Ltime) +var stdout = log.New(os.Stdout, "[tusd] ", log.LstdFlags|log.Lmicroseconds) +var stderr = log.New(os.Stderr, "[tusd] ", log.LstdFlags|log.Lmicroseconds) func logEv(logOutput *log.Logger, eventName string, details ...string) { handler.LogEvent(logOutput, eventName, details...) diff --git a/docs/installation.md b/docs/installation.md index f1a44a0..a3cce91 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -20,3 +20,20 @@ cd tusd go build -o tusd cmd/tusd/main.go ``` + +## Kubernetes installation + +A Helm chart for installing Tusd on Kubernetes is available [here](https://github.com/sagikazarmark/helm-charts/tree/master/charts/tusd). + +You can install it by running the following commands: + +```bash +helm repo add skm https://charts.sagikazarmark.dev +helm install --generate-name --wait skm/tusd +``` + +Minimum requirements: +- Helm 3+ +- Kubernetes 1.16+ + +Check out the available [values](https://github.com/sagikazarmark/helm-charts/tree/master/charts/tusd#values) for customizing the installation.