Interface NfsVolumeSource

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    NfsVolumeSource.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)",
               date="2022-11-24T11:18:28.990Z")
    @Stability(Stable)
    public interface NfsVolumeSource
    extends software.amazon.jsii.JsiiSerializable
    Represents an NFS mount that lasts the lifetime of a pod.

    NFS volumes do not support ownership management or SELinux relabeling.

    • Method Detail

      • getPath

        @Stability(Stable)
        @NotNull
        String getPath()
        path that is exported by the NFS server.

        More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

      • getServer

        @Stability(Stable)
        @NotNull
        String getServer()
        server is the hostname or IP address of the NFS server.

        More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

      • getReadOnly

        @Stability(Stable)
        @Nullable
        default Boolean getReadOnly()
        readOnly here will force the NFS export to be mounted with read-only permissions.

        Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

        Default: false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs