Skip to content

jhinds/helm-ckan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Helm CKAN

This repo serves to help deploy CKAN onto Kubernetes via Helm.

Prerequisites

  • docker if you want to build your own CKAN image
  • helm to deploy to kubernetes
  • a running kubernetes cluster, you can install minikube to test locally.

Build Dockerfile

From the base repo directory where:

  • REGISTRY=<registry> is your docker registry or username.
  • TAG=<tag> is the tag of the image.
  • IMAGE=<image> is the name of the image in the docker directory. Options are ckan, and ckan-postgres, ckan-solr.
$ export REGISTRY=<registry> && \
     export TAG=<tag> && \
     export IMAGE=<image>

$ docker build -t $REGISTRY/$IMAGE:$TAG docker/$IMAGE && \
     docker push $REGISTRY/$IMAGE:$TAG

Create Helm Release

From the base repo directory

# template out files to check output
$ helm template ckan helm/ckan --namespace ckan --create-namespace

$ helm install ckan helm/ckan --namespace ckan --create-namespace

Upgrade Helm Release

$ helm upgrade ckan helm/ckan --namespace ckan

About

CKAN Deployment on Kubernetes Using Helm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published