Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jkfran/hello-world-charm

Simple charm to deploy k8s images
https://github.com/jkfran/hello-world-charm

Last synced: about 1 month ago
JSON representation

Simple charm to deploy k8s images

Awesome Lists containing this project

README

        

# hello-world

## Description

Simple K8s charm, it deploys a docker image and listen on port 80.

## Environment

To ease the development, I suggest you to setup a microk8s environment:

```bash
snap install juju --classic
snap install microk8s --classic
snap install charmcraft --beta
microk8s enable dns storage
juju bootstrap microk8s micro
juju add-model hello-world
```

## Usage

```bash
charmcraft build
juju deploy ./hello-world.charm --resource site-image=tutum/hello-world:latest
```

It may take a while to have the deployment finished, in the meantime you can check the status by running:

```bash
juju status
```