Skip to content

Commit

Permalink
update README files
Browse files Browse the repository at this point in the history
  • Loading branch information
reneradoi committed Jun 4, 2024
1 parent 40e1ca0 commit c83cebe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It connects to a controller. The controller is hosted on a cloud and controls mo
Then you build and deploy this charm into the model you just created:

charmcraft pack
juju deploy ./redis-k8s_ubuntu-20.04-amd64.charm --resource redis-image=ghcr.io/canonical/charmed-redis:7.0-22.04_edge
juju deploy ./redis-k8s_ubuntu-22.04-amd64.charm --resource redis-image=ghcr.io/canonical/charmed-redis:7.0-22.04_edge

Once Redis starts up it will be running on its default port, 6379.
To check it you run:
Expand All @@ -36,7 +36,7 @@ to discover the IP Redis is running behind. The output will have lines like:

To retrieve the password to access the database, use the `get-initial-admin-password` action:

juju run-action redis-k8s/0 get-initial-admin-password --wait
juju run redis-k8s/0 get-initial-admin-password --wait

Then, from your local machine, you can:

Expand Down Expand Up @@ -71,7 +71,7 @@ In order to check the result of a modification, rebuild and upgrade the charm:

# Consider now that you are inside redis-k8s directory.
charmcraft pack
juju upgrade-charm --path="./redis-k8s_ubuntu-20.04-amd64.charm" redis-k8s --force-units
juju refresh --path="./redis-k8s_ubuntu-20.04-amd64.charm" redis-k8s --force-units

Or you can clean up things on different levels, application, model, and controller:

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ To discover the IP Redis is running behind. The output will have lines like:

To retrieve the password to access the database, use the `get-initial-admin-password` action:

juju run-action redis-k8s/0 get-initial-admin-password --wait
juju run redis-k8s/0 get-initial-admin-password --wait

Then, from your local machine, you can:

Expand All @@ -54,7 +54,7 @@ runs on its default port, 26379.
A different password is used to setup sentinel. To retrieve it, use
`get-sentinel-password` action:

juju run-action redis-k8s/0 get-sentinel-password --wait
juju run redis-k8s/0 get-sentinel-password --wait

From a local machine, you can:

Expand Down

0 comments on commit c83cebe

Please sign in to comment.