Skip to content

Commit

Permalink
docs: update naming limit for lxd app
Browse files Browse the repository at this point in the history
  • Loading branch information
yanksyoon committed Jul 15, 2024
1 parent ae71598 commit 57e6c1a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/how-to/run-on-lxd.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ By default, juju machines on LXD are containers.
To run this charm on LXD, add `virt-type=virtual-machine` to the constraints during deployment:

```shell
juju deploy github-runner --constraints="cores=2 mem=16G virt-type=virtual-machine" --config token=<TOKEN> --config path=<OWNER/REPO>
juju deploy github-runner --constraints="cores=2 mem=16G virt-type=virtual-machine" \
--config token=<TOKEN> --config path=<OWNER/REPO>
```

This constraint ensures the juju machine hosting the charm is a LXD virtual machine. See [Managing resource usage](https://charmhub.io/github-runner/docs/managing-resource-usage) for recommendation on `cores` and `mem` constraint.
This constraint ensures the juju machine hosting the charm is a LXD virtual machine. See
[Managing resource usage](https://charmhub.io/github-runner/docs/managing-resource-usage) for
recommendation on `cores` and `mem` constraint.

### Notes

The name of the application must not be longer than 29 characters. This is due to the nature of LXD
pathing that must not exceed 108 bytes. 79 characters are reserved for path naming convention.

0 comments on commit 57e6c1a

Please sign in to comment.