doc: Update git commands

Fix bad migrations from `go get` to `git clone` and update the cloned
directory path

Fixes: #6951
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman 2023-05-24 13:16:48 +01:00
parent 7c9faab523
commit 6a0035e419
2 changed files with 5 additions and 5 deletions

View File

@ -16,13 +16,13 @@ be utilized to install Kata Containers on a running Kubernetes cluster.
For your [k3s](https://k3s.io/) cluster, run:
```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:
```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 -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:
```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:
```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 -k kata-deploy/overlays/rke2
```

View File

@ -70,7 +70,7 @@ $ ./build-kernel.sh -v 5.10.25 -g nvidia -f -d setup
## Setup kernel source code
```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
$ ./build-kernel.sh setup
```