Merge ~barryprice/charm-k8s-bind/+git/charm-k8s-bind:readme into charm-k8s-bind:master

Proposed by Barry Price
Status: Merged
Approved by: Tom Haddon
Approved revision: cc6ce12afb2c5d58269f85256ed56d40fc54bb99
Merged at revision: 84be32b643b869c77c6408076eabec63fd25292e
Proposed branch: ~barryprice/charm-k8s-bind/+git/charm-k8s-bind:readme
Merge into: charm-k8s-bind:master
Diff against target: 62 lines (+56/-0)
1 file modified
README.md (+56/-0)
Reviewer Review Type Date Requested Status
Tom Haddon Approve
Barry Price Needs Resubmitting
Review via email: mp+389321@code.launchpad.net

Commit message

First draft of README.md

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
Tom Haddon (mthaddon) wrote :

Some comments inline about the description of images.

Revision history for this message
Barry Price (barryprice) wrote :

Thanks, I've made some changes in reponse

review: Needs Resubmitting
Revision history for this message
Tom Haddon (mthaddon) wrote :

LGTM, thx

review: Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 84be32b643b869c77c6408076eabec63fd25292e

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/README.md b/README.md
2new file mode 100644
3index 0000000..a5ba4ae
4--- /dev/null
5+++ b/README.md
6@@ -0,0 +1,56 @@
7+# Bind charm
8+
9+A Juju charm deploying Bind, configurable to use a git repository for its configuration files.
10+
11+## Overview
12+
13+This is a k8s workload charm and can only be deployed to a Juju k8s cloud,
14+attached to a controller using `juju add-k8s`.
15+
16+This charm is not currently ready for production due to issues with providing
17+an egress to route TCP and UDP traffic to the pods. See:
18+
19+https://bugs.launchpad.net/charm-k8s-bind/+bug/1889746
20+
21+https://bugs.launchpad.net/juju/+bug/1889703
22+
23+## Details
24+
25+See config option descriptions in config.yaml.
26+
27+## Getting Started
28+
29+Notes for deploying a test setup locally using microk8s:
30+
31+ sudo snap install juju --classic
32+ sudo snap install juju-wait --classic
33+ sudo snap install microk8s --classic
34+ sudo snap alias microk8s.kubectl kubectl
35+ sudo snap install charmcraft
36+ git clone https://git.launchpad.net/charm-k8s-bind
37+ make bind.charm
38+
39+ microk8s.reset # Warning! Clean slate!
40+ microk8s.enable dns dashboard registry storage
41+ microk8s.status --wait-ready
42+ microk8s.config | juju add-k8s myk8s --client
43+
44+ # Build your Bind image
45+ make build-image
46+ docker push localhost:32000/bind
47+
48+ juju bootstrap myk8s
49+ juju add-model bind-test
50+ juju deploy ./bind.charm --config bind_image_path=localhost:32000/bind:latest bind
51+ juju wait
52+ juju status
53+
54+Assuming you're using the image as built locally from this repo, the charm will
55+deploy bind with its stock Ubuntu package configuration, which will forward all
56+queries to root name servers.
57+
58+DNSSEC is also enabled by default.
59+
60+Custom config can be deployed by setting the `custom_config_repo` option to
61+point to a Git repository containing a valid set of configuration files with
62+which to populate the /etc/bind/ directory within the pod(s).

Subscribers

People subscribed via source and target branches

to all changes: