mynetes

command module
v0.0.0-...-7ebe467 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

Managed deploy on K8s and Docker

Requirements

The only requirement is a S3 Server (e.g Minio) because configuration of the app is pushed to a json file.

Plugins

In order to reuse the configuration we have plugins that add values to the final json config.

Example config

docker:
  registries:
  - name: prod
    host: docker.mydomain.com
    username: <USER>
    password: <PASSWORD>
  daemons:
  - name: prod
    host: "tcp://192.168.1.3:2376"

k8s:
- name: prod
  url: "https://192.168.1.3:6443"
  ca: |
    PEM_CERTIFICATE
  token: "<JWT_TOKEN>"


minio:
  endpoint: string
  accesskey: string
  secretkey: string
  bucket: string
  ssl: boolean


postgresql:
  database: string
  host: string
  user: string
  password: string
  port: number

auth0:
  token: <JWT_ADMIN_TOKEN>
  url: https://mydomain.auth0.com/api/v2


redis:
  host: string
  port: number
  password: string



elasticsearch:
  host: string
  port: string

jaeger:
  host: string
  port: number

Example deploy

app: cdn

config: {}

handlers:
  api:
    file: Dockerfile
    url: /
    liveness: /

environments:
  - name: prod
    repository: git@github.com:Dviejopomata/easy-cdn.git#master
    type: Kubernetes
    domain: easy-cdn.example.com
    cluster: prod
    config: {}
    env_variables: []

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL