mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-05 19:47:53 +00:00
Merge pull request #6952 from stevenhorsman/git-clone-doc-fix
doc: Update git commands
This commit is contained in:
commit
3f0735a7e8
@ -16,13 +16,13 @@ be utilized to install Kata Containers on a running Kubernetes cluster.
|
|||||||
For your [k3s](https://k3s.io/) cluster, run:
|
For your [k3s](https://k3s.io/) cluster, run:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ git clone github.com/kata-containers/kata-containers
|
$ git clone https://github.com/kata-containers/kata-containers.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Check and switch to the stable branch of your choice, if wanted, and then run:
|
Check and switch to the stable branch of your choice, if wanted, and then run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd kata-containers/kata-containers/tools/packaging/kata-deploy
|
$ cd kata-containers/tools/packaging/kata-deploy
|
||||||
$ kubectl apply -f kata-rbac/base/kata-rbac.yaml
|
$ kubectl apply -f kata-rbac/base/kata-rbac.yaml
|
||||||
$ kubectl apply -k kata-deploy/overlays/k3s
|
$ kubectl apply -k kata-deploy/overlays/k3s
|
||||||
```
|
```
|
||||||
@ -32,13 +32,13 @@ $ kubectl apply -k kata-deploy/overlays/k3s
|
|||||||
For your [RKE2](https://docs.rke2.io/) cluster, run:
|
For your [RKE2](https://docs.rke2.io/) cluster, run:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ git clone github.com/kata-containers/kata-containers
|
$ git clone https://github.com/kata-containers/kata-containers.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Check and switch to the stable branch of your choice, if wanted, and then run:
|
Check and switch to the stable branch of your choice, if wanted, and then run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd kata-containers/kata-containers/tools/packaging/kata-deploy
|
$ cd kata-containers/tools/packaging/kata-deploy
|
||||||
$ kubectl apply -f kata-rbac/base/kata-rbac.yaml
|
$ kubectl apply -f kata-rbac/base/kata-rbac.yaml
|
||||||
$ kubectl apply -k kata-deploy/overlays/rke2
|
$ kubectl apply -k kata-deploy/overlays/rke2
|
||||||
```
|
```
|
||||||
|
@ -70,7 +70,7 @@ $ ./build-kernel.sh -v 5.10.25 -g nvidia -f -d setup
|
|||||||
## Setup kernel source code
|
## Setup kernel source code
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ git clone github.com/kata-containers/kata-containers
|
$ git clone https://github.com/kata-containers/kata-containers.git
|
||||||
$ cd kata-containers/tools/packaging/kernel
|
$ cd kata-containers/tools/packaging/kernel
|
||||||
$ ./build-kernel.sh setup
|
$ ./build-kernel.sh setup
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user