Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this example will walk through creating a NFS server instance, that exports storage that is backed by the default StorageClass for the environment you happen to be running in. In some environments, this could be a host path, in others it could be a cloud provider virtual disk. Either way, this example requires a default StorageClass to exist.

Create and Initialize NFS Server

Now that the operator is running, we can create set up an instance of a NFS server by , creating an instance of the nfsservers.nfs.rook.io resource. The various fields and options of the NFS server resource can be used to configure the server and its volumes to export.

...