Deployment

Learn how to deploy Trickster for your project.

Docker

$ docker run --name trickster -d [-v /path/to/trickster.yaml:/etc/trickster/trickster.yaml] -p 0.0.0.0:9090:9090 trickstercache/trickster:latest

Kubernetes, Helm, RBAC

If you want to use Helm and kubernetes rbac, use the following install steps in the deploy/helm directory.

Bootstrap Local Kubernetes-Helm Dev

  1. Install Helm Client Version 2.9.1

    brew install kubernetes-helm
    
  2. Install kubectl client server 1.13.4, client version 1.13.4

    curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.13.4/bin/darwin/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
    
  3. Install minikube version 0.35.0

    curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.23.2/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
    
  4. Start minikube and enable RBAC make start-minikube or manually with --extra-config=apiserver.Authorization.Mode=RBAC --kubernetes-version=v1.8.0.

  5. Install Tiller make bootstrap-peripherals

  6. Wait until Tiller is running kubectl get po --namespace trickster -w

  7. Deploy all K8 artifacts make bootstrap-trickster-dev

Deployment

  1. Make any necessary configuration changes to deploy/helm/values.yaml or deploy/helm/template/configmap.yaml
  2. Set your kubectl context to your target cluster kubectl config use-context <context>
  3. Make sure Tiller is running kubectl get po --namespace trickster -w
  4. Run deployment script ./deploy from within deploy/helm

Kubernetes

Bootstrap Local Kubernetes Dev

  1. Install kubectl client server 1.8.0, client version 1.8.0

    brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/e4b03ca8689987364852d645207be16a1ec1b349/Formula/kubernetes-cli.rb
    brew pin kubernetes-cli
    
  2. Install minikube version 0.25.0

    brew cask install https://raw.githubusercontent.com/caskroom/homebrew-cask/903f1507e1aeea7fc826c6520a8403b4076ed6f4/Casks/minikube.rb
    
  3. Start minikube make start-minikube or manually with minikube start.

  4. Deploy all K8 artifacts make bootstrap-trickster-dev

Deployment

  1. Make any necessary configuration changes to deploy/kube/configmap.yaml
  2. Set your kubectl context to your target cluster kubectl config use-context <context>
  3. Run deployment script ./deploy from within deploy/kube

Local Binary

Binary Dev

  1. Use parent directory and run make, then ./trickster [-config <path>]

Last modified July 8, 2021: standardize folder names (287caa6)