anchor.diff:  ====
   
   [[complete-example-using-gusterfs-creating-the-gluster-endpoints]]
  -== Creating the Gluster Endpoints
  +== Creating the Gluster Endpoints and Gluster Service for Persistence
   
   The named endpoints define each node in the Gluster-trusted storage pool:
   
  
positive.code: ====
  
  [[complete-example-using-gusterfs-creating-the-pod]]
  == Creating the Pod
  A pod definition file or a template file can be used to define a pod. Below is a
  pod specification that creates a single container and mounts the Gluster volume
  for read-write access:
  
  .Pod Object Definition
  ====
  [source,yaml]
  ----
  
negative.code: ----
  ====
  
  [NOTE]
  ====
  To persist the gluster endpoints you will need to also create a service
  ====
  
  .GlusterFS Service Definition
  ====
  [source,yaml]
  ----
  apiVersion: v1
  kind: Service
  metadata:
    name: gluster-service <1>
  spec:
    ports:
    - port: 1 <2>
  
  ----
  <1> The name of the service.
  <2> The port should match the same port used in the endpoints.
  ====
  
  Save the service definition to a file, for example *_gluster-service.yaml_*,
  then create the endpoints object:
  
  ====
  ----
  # oc create -f gluster-service.yaml
  endpoints "gluster-service" created
  ----
  ====
  
  Verify that the service was created:
  
  ====
  ----
  # oc get service gluster-service
  NAME                CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
  gluster-service   10.0.0.130   <none>        1/TCP     9s
  
  ----
  ====
  
  [[complete-example-using-gusterfs-creating-the-persistent-volume]]
  == Creating the Persistent Volume
  Next, before creating the PV object, define the persistent volume in
  