Skip to content

lohmander/hostanapp

Repository files navigation

🤧 Hostan app

/ˈhʊsˌtan/ app

CI Status Go Report Card

Hostan provides a set of Kubernetes primitives to easily and rapidly deploy apps on a cluster that uses services like databases, object storage, etc. "Hostan" is a Swedish word that translates to "the cough."

Todo

  • Create README outlining the future functionality
  • Implement CRD and controller for the App resource
  • Implement CRD and controller for the Provider resource
  • Create spec/protobuf file for the provider interface
  • Create config maps and secrets for config upon reconciliation
  • Add support for cronjobs
  • Add support for explicit environment variable definitions
  • Add validation hooks for providers
  • Implement proper statuses
  • Write a provider for SQL databases (using database/sql)
  • Write a provider for redis

What it looks like (WIP)

apiVersion: hostan.hostan.app/v1
kind: App
metadata:
  name: my-app
spec:
  services:
    - name: webapp
      image: lohmander/webapp-image:latest
      port: 80
      env:
        - fromConfigMap: my-cm
        - fromSecret: my-secret
        - name: SOME_VAR
          value: some value
      ingress:
        host: myapp.hostan.app
  cronjobs:
    - name: backup
      image: lohmander/webapp-image:latest
      command: ["python", "manage.py", "dbbackup"]
      schedule: "0 0 * * *"
  uses:
    - name: postgresql
    - name: redis
    - name: s3
      config:
        endpointUrl: https://fra1.digitaloceanspaces.com

Table of contents

  1. Installation
  2. Getting started
  3. Resource types
    • App
    • Provider
  4. Providers
    • Use existing
    • Build your own provider

1. Installation

TBD

2. Getting started

TBD

3. Resource types

TBD

App

TBD

Provider

TBD

4. Providers

TBD

Use existing

  • PostgreSQL
  • Redis
  • S3

Build your own provider

TBD

About

Hostan App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors