forked from rook/rook
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>
20 lines
434 B
YAML
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
|