All Projects → nanit → Redash Kubernetes

nanit / Redash Kubernetes

Licence: apache-2.0
Kubernetes setup for Redash

Labels

Projects that are alternatives of or similar to Redash Kubernetes

Webappsec Change Password Url
A Well-Known URL for Changing Passwords
Stars: ✭ 828 (+5075%)
Mutual labels:  makefile
Ovirt Live
This is a mirror for http://gerrit.ovirt.org, for issues use http://bugzilla.redhat.com
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Disco
decentralized infrastructure for serverless computing operations
Stars: ✭ 16 (+0%)
Mutual labels:  makefile
Docker Alpine S6
Docker Alpine Linux images with s6 init
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Rutgersclasses
a Repo for CS assignments
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Rtspcamera
android rtsp camera
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile
Docker Xymon
Dockerization of the Xymon monitoring system on an Ubuntu base
Stars: ✭ 5 (-68.75%)
Mutual labels:  makefile
Python Mk
A Makefile that contains the seed of a python development environment.
Stars: ✭ 16 (+0%)
Mutual labels:  makefile
Article Template
This is a simple template for writing academic papers. It uses bibtex for tracking bibliographic information and Pandoc to convert the content to a correctly formatted document.
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Ansible Freeipa
An Ansible playbook for configuring FreeIPA server(s) and clients.
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile
Rust Ffi Examples
FFI examples written in Rust
Stars: ✭ 831 (+5093.75%)
Mutual labels:  makefile
Docker Debootstrap Builder
🐳 Build a debootstrap based distribution from Docker (ubuntu, debian)
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Armhf Registry
Minimal Docker Registry image the ARM architecture
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile
Vmware Host Modules
Patches needed to build VMware (Player and Workstation) host modules against recent kernels
Stars: ✭ 828 (+5075%)
Mutual labels:  makefile
Hdpslam
The implementation of HDP SLAM
Stars: ✭ 16 (+0%)
Mutual labels:  makefile
Salt Fr
Blog de la communauté Saltstack francophone
Stars: ✭ 5 (-68.75%)
Mutual labels:  makefile
Thunderbird Flatpak
Resources to build Mozilla Thunderbird as a flatpak
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile
League Gothic
A revival of an old classic, Alternate Gothic #1
Stars: ✭ 887 (+5443.75%)
Mutual labels:  makefile
Device xiaomi cepheus
Stars: ✭ 16 (+0%)
Mutual labels:  makefile
Docker Coreos Img
🐳 CoreOS image in a docker image
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile

DB upgrade after version upgrade

exec to one of the redash containers and run

bin/run ./manage.py db upgrade

Redash Setup For Kubernetes

If you arrived here, you probably know what Redash is.

If not, you're more than welcome to get yourself familiar with it.

Prerequsites:

  1. A working K8s cluster
  2. kubectl configured to work against your cluster
  3. A crypted htpasswd string for the web interface's basic auth
  4. A Docker repository you are able to push and pull images from
  5. A PostgreSQL database URL with the redash database (not schema, only database) already created.

Deployment

  1. Clone this repository: git clone --recursive [email protected]:nanit/redash-kubernetes.git

  2. Run the deployment task from the makefile:

DOCKER_REPO=my_company_docker_repo \
REDASH_DATABASE_URL=postgres://[email protected]/redash-db \
REDASH_NAME=my-redash \
REDASH_HOST=my-redash.my-company.com \
REDASH_MAIL_SERVER=my.smtp.com \
REDASH_MAIL_PORT=587 \
REDASH_MAIL_USERNAME=smtp-user \
REDASH_MAIL_PASSWORD=smtp-password \
[email protected] 
make deploy
  1. When the redash pod is ready run create_db in order to create the DB schema:

List your redash pods: kubectl get pods -l app=redash

Then run the command on the pod:

kubectl exec redash-3940390882-13xgl -c redash-web -- /app/bin/docker-entrypoint create_db

Just replace redash-3940390882-13xgl with your actual pod name

Usage

  1. Get the ELB hostname which is serving Redash:

kubectl get service redash -o jsonpath="{.status.loadBalancer.ingress[0].hostname}"

  1. Put it into the browser and set up the initial user.

That's it, you're in.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].