Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

enable NFS over RDMA(--with-nfsrdma) by default #39

Open
cyclinder opened this issue Jan 8, 2024 · 0 comments
Open

enable NFS over RDMA(--with-nfsrdma) by default #39

cyclinder opened this issue Jan 8, 2024 · 0 comments

Comments

@cyclinder
Copy link

There are all the default install parameters.

/bin/bash -c '/root/${D_OFED_PATH}/mlnxofedinstall --without-fw-update --kernel-only --add-kernel-support --distro ${D_OS} --skip-repo --force ${D_WITHOUT_FLAGS}'

If I want to enable NFS over RDMA(--with-nfsrdma), what me to do? We can write a new ENV like "MLNXOFEDINSTALL_ARGS" to https://github.com/Mellanox/ofed-docker/blob/master/deployment/ofed-driver-pod.yaml, and pass it to https://github.com/Mellanox/ofed-docker/blob/master/rhel/entrypoint.sh.

For example:

apiVersion: v1
kind: Pod
metadata:
  name: ofed-driver
  labels:
    app: ofed-driver
spec:
  hostNetwork: true
  ENV:
  - name: MLNXOFEDINSTALL_ARGS
    value: "--with-nfsrdma --with-nvmf"
  containers:
    - name: ofed-driver
      image: ofed_container
      imagePullPolicy: Never
      securityContext:
        privileged: true
      volumeMounts:
        - name: run-mofed
          mountPath: /run/mellanox/drivers
          mountPropagation: Bidirectional
        - name: etc-network
          mountPath: /etc/network
        - name: host-etc
          mountPath: /host/etc
        - name: host-udev
          mountPath: /host/lib/udev

How do you think? If you guys think so, I'm willing to do this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant