Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Latest commit

 

History

History
294 lines (190 loc) · 10.6 KB

index.md

File metadata and controls

294 lines (190 loc) · 10.6 KB
layout title permalink
simple-page
Containers
/

The Container Ecosystem team has a charter to explore and engage with emergent projects in server and cloud technology around how they might benefit or integrate with Juju, particularly in the solution space.

The people

Core members

github twitter email website
cute chuckbutler @lazypower email dasroot.net
cute mbruzek @mattatcanonical email bruzer.net

Honorary members

You can find us most days on Freenode irc at #Juju.

Juju Charmer Summit 2016

If you're attending the Juju Charmer Summit in Pasadena CA, this is the section for you!

Installing Juju

You've probably already installed Juju either in the main track, or came with prior knowledge. If not, there are instructions for:

You'll likely want to install the 2.0 release, so you can leverage the best of the new features. We dont recommend placing production deployments on juju 2.0 just yet.

Your first docker based charm

There have been a few articles published about charming with docker and layers. I'll assume you're familiar with charm-tools and ready to get started charming with layer-docker.

Start with the Layer-Docker Deep Dive

Advanced Container Deployments

If you're less interested in creating docker based charms and just want to kick the tires of a container scheduler/manager - give our Kubernetes bundle a go

juju deploy canonical-kubernetes

If you have any further questions, I'm happy to lend a hand. Come find me in the orange shirt :)

  • lazy

Projects

A list of projects to follow

Layers & Libraries

A charm layer for use in the charm build process to provide Docker, its principal tooling (docker-compose), and maintain an up-to-date docker daemon on the unit.

Flannel is an overlay network developed by CoreOS. This particular charm layer makes use of the Docker Layer, and delivers Flannel in a bootstrap docker instance to configure docker networking on the host, delivered from an app container, to effect change on the workload-runtime docker on the unit.

Kubernetes is a container orchestrator and scheduler. This layer is built on top of the Docker Layer. This layer currently launches both leader and worker nodes to each unit. This is a rewrite from the existing k8's charm which does bin on host delivery to delivering K8s via docker containers. It also ships with SkyDNS and Cadvisor visualization addons

charms.docker provides charm authors a python library with a clean and readable way to interface with the docker CLI as well as configure the Docker deamon via the DockerOpts manager.

Documentation

Etcd is a key/value store created by CoreOS and is used in several application-container based solutions, such as Kubernetes. This layer encapsulates the knowledge the ~containers team has working with etcd and delivers a stable healthy etcd cluster.

Charms and Bundles:

Kubernetes bundle

The kubernetes-bundle allows you to deploy the many services of Kubernetes to a cloud environment and get started using the Kubernetes technology quickly.

Resources:

Charm Store
Source code
Kubernetes Layer

Observable Kubernetes

Deploy Kubernetes-core hooked into an ELK cluster to aggregate all your container workload logs. Mine and visualize your container infrastructure log messaging with Kibana4.

Resources: Charm Store

ELK Stack bundle

The Elastic Stack — that's Elasticsearch, Logstash, Kibana — are open source projects that help you take data from any source, any format and search, analyze, and visualize it in real time.

This bundle deploys the core services that comprise the ELK stack.

Resources: Charm Store Source code

Consul charm

Consul is a tool for discovering and configuring services. This charm deploys a Consul server instance to a public cloud that join with other Consul servers to form a fully functioning cluster.

Features include: Service Discovery, Health Checking, Key/Value Store, and Multi Datacenter

Resources:

Source code

Etcd charm

Etcd is a highly available distributed key value store that provides a reliable way to store data across a cluster of machines. Etcd gracefully handles master elections during network partitions and will tolerate machine failure, including the master.

Resources: Charm Store Etcd Layer

Drone Charm

Drone is a continuous integration platform built on Docker, written in Golang.

This charm will deploy a single Drone CI server to execute builds against your git repositories hosted by either: GitHub, GitLab, Gogs, or BitBucket.

Drone CI has a flexible job configuration via a single .drone.yml include in your repository. For more information, see the upstream documentation.

Resources:
Source code

Docker NGINX Charm

an example for charming with docker by leverage an existing docker container of your service, and deploy it with a Juju charm.

Resources:
Source code

Older Deprecated Work

DNS Charm

The DNS charm is unique in that it wraps several other services to provide a common gateway to automatically provisioning your DNS configuration. Regardless if you are setting up a BIND cluster, PowerDNS, or integrating with a third party provider (such as Amazon Rt53, or GoDaddy).

By default the charm will deploy a configured Bind9 server, assuming it is the authoritative master of the configured domain(s).

Specific instructions how to extend/add providers is outlined in docs/HACKING.md

Resources:
Source code

Registrator Charm

A subordinate charm enabling charm deployed docker hosts service discovery via etcd or consul.

Resources:
Source code

Logspout Charm

Log shipping for charm deployed docker hosts

Resources:
Source code

DEPRECATED Docker Charm | Charm Store
A charm for deploying a cluster of docker hosts that support extension by charms for service discovery, networking, logging and other fine things.

DEPRECATED Swarm Charm
A subordinate charm which enables the use of swarm for scheduling and placement onto host deployed with the docker charm

DEPRECATED Flannel-docker Charm | Charm Store
Subordinate charm for SDN for charm deployed docker hosts

DEPRECATED Calico-docker Charm
Subordinate charm for SDN for charm deployed docker hosts

DEPRECATED Hakkasan
Pluggable ad hoc docker orchestration stack solution w/ dns, service discovery and load balancing.

Collaborating

Want to dive in and hack with us? Interested in writing a charm using docker or lxd? Awesome, check out how where to find us and how to contribute.

  • Charm Design doc
  • Declared interfaces / data points
  • contribution workflow

The Future: Where is all this going?

We have lots of ideas and would love to hear yours. Some things we are considering:

  • CI/CD workflows using containers for isolation and moving code through the pipeline.

Speculative specs

Things we think would be awesome to implement.

  • Juju deploy-src: deploy charms and bundles directly from hosted scm
  • Mesos/Marathon/Aurora bundle
  • Juju provider for Marathon
  • Docker machine integration for docker charm