-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Docs] replace install command with literalinclude (#860)
* replace install command with literalinclude when updating the docs now we only have to update install.md
- Loading branch information
Showing
14 changed files
with
242 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
product: 'Canonical Kubernetes' | ||
version: '1.31' | ||
channel: '1.31/edge' | ||
channel: '1.31/candidate' | ||
multi_line_example: |- | ||
*Multi-line* text | ||
that uses basic **markup**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
``` | ||
sudo snap install k8s --classic --channel=1.31/edge | ||
``` | ||
<!-- snap start --> | ||
sudo snap install k8s --classic --channel=1.31-classic/candidate | ||
<!-- snap end --> | ||
<!-- lxd start --> | ||
lxc exec k8s -- sudo snap install k8s --classic --channel=1.31-classic/candidate | ||
<!-- lxd end --> | ||
<!-- offline start --> | ||
sudo snap download k8s --channel 1.31-classic/candidate --basename k8s | ||
<!-- offline end --> | ||
<!-- juju control start --> | ||
juju deploy k8s --channel=1.31/candidate | ||
<!-- juju control end --> | ||
<!-- juju worker start --> | ||
juju deploy k8s-worker --channel=1.31/candidate -n 2 | ||
<!-- juju worker end --> | ||
<!-- juju control constraints start --> | ||
juju deploy k8s --channel=1.31/candidate --constraints='cores=2 mem=16G root-disk=40G' | ||
<!-- juju control constraints end --> | ||
<!-- juju worker constraints start --> | ||
juju deploy k8s-worker --channel=1.31/candidate --constraints='cores=2 mem=16G root-disk=40G' | ||
<!-- juju worker constraints end --> | ||
<!-- juju vm start --> | ||
juju deploy k8s --channel=latest/edge \ | ||
--base "ubuntu@22.04" \ | ||
--constraints "cores=2 mem=8G root-disk=16G virt-type=virtual-machine" | ||
<!-- juju vm end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.