Files
my-rook-config/deploy/examples/nfs-load-balancer.yaml
T
Redouane Kachach ff081cc4ae namespace: adding namespace to all rook-ceph namespaces references
To make it easier for the user to switch to a namespace other than the
default 'rook-ceph', the tag '# namespace:cluster' must be inserted in
all the places where this namespace is used. This way, a simple 'sed'
command can update all the Yaml files to the new namespace.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-10-24 14:17:17 +02:00

20 lines
434 B
YAML

apiVersion: v1
kind: Service
metadata:
name: rook-ceph-nfs-my-nfs-load-balancer
namespace: rook-ceph # namespace:cluster
spec:
ports:
- name: nfs
port: 2049
type: LoadBalancer
externalTrafficPolicy: Local
selector:
app: rook-ceph-nfs
# Use the name of the CephNFS here
ceph_nfs: my-nfs
# It is safest to send clients to a single NFS server instance. Instance "a" always exists.
instance: a