Merge branch 'master' of github.com:tus/tusd
This commit is contained in:
commit
5be2afa2f8
|
@ -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/
|
||||
|
|
|
@ -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...)
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue