Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jkfran/hello-world-charm
- Owner: jkfran
- License: apache-2.0
- Created: 2021-05-21T08:15:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-26T12:54:32.000Z (over 2 years ago)
- Last Synced: 2024-05-02T04:48:54.169Z (8 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```