...
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
# Clone the repository and enter the directory that we will use throughout the guide $ git clone --single-branch --branch v1.5.3 https://github.com/rook/rook.git $ cd rook/cluster/examples/kubernetes/nfs # Then launch (operator is created in the "rook-nfs-system" namespace) $ kubectl create -f common.yaml -f operator.yaml # Check if the operator is up and running $ kubectl get pod -n rook-nfs-system NAME READY STATUS RESTARTS AGE rook-nfs-operator-f79889845-8r5kq 1/1 Running 0 11m |
Logs produced by the operator can be very useful for troubleshooting
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
$ kubectl logs -l app=rook-nfs-operator -n rook-nfs-system |
Some preliminary steps
It is recommended that you create Pod Security Policies first. To do this, you can use the psp.yaml file already present in the folder with the usual command
...