Files
my-rook-config/deploy/examples/headless-mon-service.yaml
T
Patryk Rostkowski 08199b27c9 mon: manage endpoints containing set of mon ip addresses
The change creates and manages an Endpoints resource
with the current Ceph monitor (mon) IPs, allowing
clients to resolve mon IPs via DNS without relying
on the rook-ceph-mon-endpoints ConfigMap.

Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com>
2025-03-31 18:05:37 +02:00

10 lines
306 B
YAML

# Create a headless service which will effectively referenced by the EndpointSlice resources
# of the same name which is created automatically by Rook
apiVersion: v1
kind: Service
metadata:
name: rook-ceph-active-mons
namespace: rook-ceph # namespace:cluster
spec:
clusterIP: None # headless service