Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

drycc-archive/influxdb

Repository files navigation

InfluxDB

Description

Build Status

Drycc (pronounced DAY-iss) is an open source PaaS that makes it easy to deploy and manage applications on your own servers. Drycc builds on Kubernetes to provide a lightweight, Heroku-inspired workflow.

About

This is an centos7 based image for running influxdb. It is built for the purpose of running on a kubernetes cluster.

Configuration

Right now the configuration is completely static but eventually I hope to use the envtpl project to help provide a more robust solution.

Development

The provided Makefile has various targets to help support building and publishing new images into a kubernetes cluster.

Environment variables

There are a few key environment variables you should be aware of when interacting with the make targets.

  • BUILD_TAG - The tag provided to the docker image when it is built (defaults to the git-sha)
  • SHORT_NAME - The name of the image (defaults to grafana)
  • DRYCC_REGISTRY - This is the registry you are using (default dockerhub)
  • IMAGE_PREFIX - This is the account for the registry you are using (default drycc)

Make targets

  • make build - Build docker image
  • make push - Push docker image to a registry
  • make upgrade - Replaces the running grafana instance with a new one

The typical workflow will look something like this - DRYCC_REGISTRY= IMAGE_PREFIX=foouser make build push upgrade

Accessing Admin UI

Included is a proxy pod that proxies the UI ports so they are accessible when doing local development. These ports are 8086 and 8083. You can access the UI by going to the http://<host_ip>:8083.