diff --git a/docs/end-to-end-demo.md b/docs/end-to-end-demo.md index 9594f312d..3edac077f 100644 --- a/docs/end-to-end-demo.md +++ b/docs/end-to-end-demo.md @@ -35,6 +35,10 @@ This demo will demonstrate end to end Akri flow, all the way from discovering lo ```sh microk8s enable dns ``` +1. Optionally enable rbac. + ```sh + microk8s enable rbac + ``` 1. Enable privileged pods and restart microk8s. ```sh echo "--allow-privileged=true" >> /var/snap/microk8s/current/args/kube-apiserver diff --git a/docs/rpi4-demo.md b/docs/rpi4-demo.md index 9f4231cbd..725562845 100644 --- a/docs/rpi4-demo.md +++ b/docs/rpi4-demo.md @@ -114,12 +114,12 @@ This demo will demonstrate how to get Akri working on a **Raspberry Pi 4**, all ```sh kubectl delete service akri-video-streaming-app kubectl delete deployment akri-video-streaming-app - watch microk8s kubectl get pods + watch kubectl get pods ``` 1. Delete the configuration and watch the instances, pods, and services be deleted. ```sh kubectl delete akric akri-udev-video - watch microk8s kubectl get pods,services,akric,akrii -o wide + watch kubectl get pods,services,akric,akrii -o wide ``` 1. Bring down the Akri Agent, Controller, and CRDs. ```sh diff --git a/docs/user-guide.md b/docs/user-guide.md index 5a6f3011a..f6d17640b 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -7,7 +7,15 @@ To get started using Akri, you must first decide what you want to discover and w ### Setting up your cluster 1. Before deploying Akri, you must have a Kubernetes cluster running and `kubectl` installed. All nodes must be Linux. All of the Akri component containers are currently built for amd64 or arm64v8, so all nodes must have one of these platforms. -If you are using [MicroK8s](https://microk8s.io/docs), be sure to allow privileged pods and label the master node: +If you are using [MicroK8s](https://microk8s.io/docs), enable dns and rbac, allow privileged pods and label the master node: +1. Enable dns. + ```sh + microk8s enable dns + ``` +1. Optionally enable rbac. + ```sh + microk8s enable rbac + ``` 1. Enable privileged pods and restart MicroK8s. ```sh echo "--allow-privileged=true" >> /var/snap/microk8s/current/args/kube-apiserver @@ -57,4 +65,4 @@ kubectl label node $HOSTNAME node-role.kubernetes.io/master= --overwrite=true ``` ### Modifying your Akri installation -See the [Modifying a Akri Installation document](./modifying-akri-installation.md) for more information on how to modify your already deployed Akri installation. \ No newline at end of file +See the [Modifying a Akri Installation document](./modifying-akri-installation.md) for more information on how to modify your already deployed Akri installation.