[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Losing endpoints




On Wed, Nov 25, 2015 at 4:00 PM, Clayton Coleman <ccoleman redhat com> wrote:
I'd like to see what type of persistent volume is being used, so the json for the PV with all sensitive info redacted.

There you go:

apiVersion: v1
kind: PersistentVolume
metadata:
  creationTimestamp: 2015-11-10T09:19:48Z
  name: my_volume_name
  resourceVersion: "563114"
  selfLink: /api/v1/persistentvolumes/my_volume_name
  uid: 30c73bd9-878c-11e5-8656-005056b16484
spec:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 1Gi
  claimRef:
    apiVersion: v1
    kind: PersistentVolumeClaim
    name: nsqd
    namespace: xxx-staging
    resourceVersion: "563112"
    uid: 41e0084d-91ff-11e5-8656-005056b16484
  glusterfs:
    endpoints: glusterfs-cluster
    path: pv-openshift-1G-4
  persistentVolumeReclaimPolicy: Recycle
status:
  phase: Released 

Our PVs:

xxx-1g-2.prod-openshift-storage-1    <none>    1Gi        RWO           Bound       xxx-production/nsqd2                  15d
xxx-1g-3.prod-xxx-openshift-storage-1    <none>    1Gi        RWO           Released    xxx-staging/nsqd2                     15d
xxx-1g-4.prod-xxx-openshift-storage-1    <none>    1Gi        RWO           Released    xxx-staging/nsqd                      15d
xxx-1g-5.prod-xxx-openshift-storage-1    <none>    1Gi        RWO           Bound       xxx-production/nsqd                   15d

in the staging project:

NAME      LABELS    STATUS    VOLUME                                              CAPACITY   ACCESSMODES   AGE
nsqd      <none>    Bound     xxx-1g-4.prod-storage-1   1Gi        RWO           2d
nsqd2     <none>    Bound     xxx-1g-3.prod-openshift-storage-1   1Gi        RWO           2d

(They should be "Released"!)

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  creationTimestamp: 2015-11-23T16:28:41Z
  name: nsqd
  namespace: xxx-staging
  resourceVersion: "563113"
  selfLink: /api/v1/namespaces/xxx-staging/persistentvolumeclaims/nsqd
  uid: 41e0084d-91ff-11e5-8656-005056b16484
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 512Mi
  volumeName: xxx-1g-4.prod-openshift-storage-1
status:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 1Gi
  phase: Bound

thanks
Philippe

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]