Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curated Links, TODO Lists, Done Already !! #12

Open
3 of 84 tasks
AmitKumarDas opened this issue Dec 7, 2017 · 5 comments
Open
3 of 84 tasks

Curated Links, TODO Lists, Done Already !! #12

AmitKumarDas opened this issue Dec 7, 2017 · 5 comments

Comments

@AmitKumarDas
Copy link
Owner

AmitKumarDas commented Dec 7, 2017

TODO

Life Skills

Day Job

@AmitKumarDas AmitKumarDas changed the title Curated Design & Code Tips Curated Design, Code, Tips, Quotes -- Day Job -- Technical Dec 20, 2017
@AmitKumarDas AmitKumarDas changed the title Curated Design, Code, Tips, Quotes -- Day Job -- Technical Curated Links, TODO Dec 23, 2017
@AmitKumarDas AmitKumarDas changed the title Curated Links, TODO Curated Links, TODO Lists, Done Already !! Dec 23, 2017
@AmitKumarDas
Copy link
Owner Author

AmitKumarDas commented Jan 22, 2018

  • jiva service as of 0.5.0
apiVersion: v1
kind: Service
metadata:
  creationTimestamp: 2018-01-22T07:22:00Z
  labels:
    openebs/controller-service: jiva-controller-service
    openebs/volume-provisioner: jiva
    vsm: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
  name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-ctrl-svc
  namespace: default
  resourceVersion: "483672"
  selfLink: /api/v1/namespaces/default/services/pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-ctrl-svc
  uid: efbeee1d-ff44-11e7-9120-080027a8df8b
spec:
  clusterIP: 10.102.185.67
  ports:
  - name: iscsi
    port: 3260
    protocol: TCP
    targetPort: 3260
  - name: api
    port: 9501
    protocol: TCP
    targetPort: 9501
  selector:
    openebs/controller: jiva-controller
    vsm: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}
  • jiva controller deploy as of 0.5.0
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "1"
    openebs.io/volume-monitor: "true"
    openebs.io/volume-type: jiva
  creationTimestamp: 2018-01-22T07:22:00Z
  generation: 1
  labels:
    openebs/controller: jiva-controller
    openebs/volume-provisioner: jiva
    vsm: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
  name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-ctrl
  namespace: default
  resourceVersion: "500907"
  selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-ctrl
  uid: efcd1e8c-ff44-11e7-9120-080027a8df8b
spec:
  replicas: 1
  selector:
    matchLabels:
      monitoring: volume_exporter_prometheus
      openebs/controller: jiva-controller
      vsm: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
  strategy:
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 1
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        monitoring: volume_exporter_prometheus
        openebs/controller: jiva-controller
        vsm: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
    spec:
      containers:
      - args:
        - controller
        - --frontend
        - gotgt
        - --clusterIP
        - 10.102.185.67
        - pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
        command:
        - launch
        image: openebs/jiva:0.5.0
        imagePullPolicy: IfNotPresent
        name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-ctrl-con
        ports:
        - containerPort: 3260
          protocol: TCP
        - containerPort: 9501
          protocol: TCP
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
      - args:
        - -c=http://127.0.0.1:9501
        command:
        - maya-volume-exporter
        image: openebs/m-exporter:0.5.0
        imagePullPolicy: IfNotPresent
        name: maya-volume-exporter
        ports:
        - containerPort: 9500
          protocol: TCP
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
      tolerations:
      - effect: NoExecute
        key: node.alpha.kubernetes.io/notReady
        operator: Exists
        tolerationSeconds: 0
      - effect: NoExecute
        key: node.alpha.kubernetes.io/unreachable
        operator: Exists
        tolerationSeconds: 0
status:
  availableReplicas: 1
  conditions:
  - lastTransitionTime: 2018-01-22T07:22:00Z
    lastUpdateTime: 2018-01-22T07:22:00Z
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  observedGeneration: 1
  readyReplicas: 1
  replicas: 1
  updatedReplicas: 1
  • jiva controller pod as of 0.5.0
kubectl get po pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-ctrl-54b9c47f58-jv8vp -o yaml
apiVersion: v1
kind: Pod
metadata:
  annotations:
    kubernetes.io/created-by: |
      {"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"default","name":"pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-ctrl-54b9c47f58","uid":"efcdfc05-ff44-11e7-9120-080027a8df8b","apiVersion":"extensions","resourceVersion":"483675"}}
  creationTimestamp: 2018-01-22T07:22:00Z
  generateName: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-ctrl-54b9c47f58-
  labels:
    monitoring: volume_exporter_prometheus
    openebs/controller: jiva-controller
    pod-template-hash: "1065703914"
    vsm: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
  name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-ctrl-54b9c47f58-jv8vp
  namespace: default
  ownerReferences:
  - apiVersion: extensions/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-ctrl-54b9c47f58
    uid: efcdfc05-ff44-11e7-9120-080027a8df8b
  resourceVersion: "483725"
  selfLink: /api/v1/namespaces/default/pods/pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-ctrl-54b9c47f58-jv8vp
  uid: efcf9f62-ff44-11e7-9120-080027a8df8b
spec:
  containers:
  - args:
    - controller
    - --frontend
    - gotgt
    - --clusterIP
    - 10.102.185.67
    - pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
    command:
    - launch
    image: openebs/jiva:0.5.0
    imagePullPolicy: IfNotPresent
    name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-ctrl-con
    ports:
    - containerPort: 3260
      protocol: TCP
    - containerPort: 9501
      protocol: TCP
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: default-token-lbz9l
      readOnly: true
  - args:
    - -c=http://127.0.0.1:9501
    command:
    - maya-volume-exporter
    image: openebs/m-exporter:0.5.0
    imagePullPolicy: IfNotPresent
    name: maya-volume-exporter
    ports:
    - containerPort: 9500
      protocol: TCP
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: default-token-lbz9l
      readOnly: true
  dnsPolicy: ClusterFirst
  nodeName: maya-01
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: default
  serviceAccountName: default
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.alpha.kubernetes.io/notReady
    operator: Exists
    tolerationSeconds: 0
  - effect: NoExecute
    key: node.alpha.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 0
  volumes:
  - name: default-token-lbz9l
    secret:
      defaultMode: 420
      secretName: default-token-lbz9l
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: 2018-01-22T07:22:00Z
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: 2018-01-22T07:22:04Z
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: 2018-01-22T07:22:00Z
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: docker://40008fa3891724d184f9b1126e8dc48a718ccb18835bf9f3723da4a36ff2e669
    image: openebs/m-exporter:0.5.0
    imageID: docker-pullable://openebs/m-exporter@sha256:93c5d5ec37f63fdd212139f91d3e27e1f9a74515a6c40ce60c97480fec04dbd6
    lastState: {}
    name: maya-volume-exporter
    ready: true
    restartCount: 0
    state:
      running:
        startedAt: 2018-01-22T07:22:03Z
  - containerID: docker://dc932fc3cf3b276abac5721cd359aec3999ea821b9aba16a4fb5b09449b0cb12
    image: openebs/jiva:0.5.0
    imageID: docker-pullable://openebs/jiva@sha256:d57e53d39d27122ea16957df1ba497149eb124f742dff61ae5b91e58ef9b9f2f
    lastState: {}
    name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-ctrl-con
    ready: true
    restartCount: 0
    state:
      running:
        startedAt: 2018-01-22T07:22:02Z
  hostIP: 10.0.2.15
  phase: Running
  podIP: 172.17.0.6
  qosClass: BestEffort
  startTime: 2018-01-22T07:22:00Z

@AmitKumarDas
Copy link
Owner Author

AmitKumarDas commented Jan 22, 2018

  • jiva replica Deploy as of 0.5.0
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "1"
    openebs.io/storage-pool: default
  creationTimestamp: 2018-01-22T07:22:00Z
  generation: 1
  labels:
    openebs/replica: jiva-replica
    openebs/volume-provisioner: jiva
    vsm: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
  name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-rep
  namespace: default
  resourceVersion: "500892"
  selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-rep
  uid: efdffbb2-ff44-11e7-9120-080027a8df8b
spec:
  replicas: 1
  selector:
    matchLabels:
      openebs/replica: jiva-replica
      vsm: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
  strategy:
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 1
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        openebs/replica: jiva-replica
        vsm: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
    spec:
      affinity:
        podAntiAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
          - labelSelector:
              matchLabels:
                openebs/replica: jiva-replica
                vsm: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
            topologyKey: kubernetes.io/hostname
      containers:
      - args:
        - replica
        - --frontendIP
        - 10.102.185.67
        - --size
        - 5G
        - /openebs
        command:
        - launch
        image: openebs/jiva:0.5.0
        imagePullPolicy: IfNotPresent
        name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-rep-con
        ports:
        - containerPort: 9502
          protocol: TCP
        - containerPort: 9503
          protocol: TCP
        - containerPort: 9504
          protocol: TCP
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /openebs
          name: openebs
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
      tolerations:
      - effect: NoExecute
        key: node.alpha.kubernetes.io/notReady
        operator: Exists
      - effect: NoExecute
        key: node.alpha.kubernetes.io/unreachable
        operator: Exists
      volumes:
      - hostPath:
          path: /var/openebs/pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
          type: ""
        name: openebs
status:
  availableReplicas: 1
  conditions:
  - lastTransitionTime: 2018-01-22T07:22:00Z
    lastUpdateTime: 2018-01-22T07:22:00Z
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  observedGeneration: 1
  readyReplicas: 1
  replicas: 1
  updatedReplicas: 1
  • jiva replica Pod as of 0.5.0
apiVersion: v1
kind: Pod
metadata:
  annotations:
    kubernetes.io/created-by: |
      {"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"default","name":"pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-rep-5747bf55b8","uid":"efe18f4d-ff44-11e7-9120-080027a8df8b","apiVersion":"extensions","resourceVersion":"483687"}}
  creationTimestamp: 2018-01-22T07:22:00Z
  generateName: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-rep-5747bf55b8-
  labels:
    openebs/replica: jiva-replica
    pod-template-hash: "1303691164"
    vsm: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
  name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-rep-5747bf55b8-4nx6f
  namespace: default
  ownerReferences:
  - apiVersion: extensions/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-rep-5747bf55b8
    uid: efe18f4d-ff44-11e7-9120-080027a8df8b
  resourceVersion: "483721"
  selfLink: /api/v1/namespaces/default/pods/pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-rep-5747bf55b8-4nx6f
  uid: efe2aedd-ff44-11e7-9120-080027a8df8b
spec:
  affinity:
    podAntiAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
      - labelSelector:
          matchLabels:
            openebs/replica: jiva-replica
            vsm: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
        topologyKey: kubernetes.io/hostname
  containers:
  - args:
    - replica
    - --frontendIP
    - 10.102.185.67
    - --size
    - 5G
    - /openebs
    command:
    - launch
    image: openebs/jiva:0.5.0
    imagePullPolicy: IfNotPresent
    name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-rep-con
    ports:
    - containerPort: 9502
      protocol: TCP
    - containerPort: 9503
      protocol: TCP
    - containerPort: 9504
      protocol: TCP
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /openebs
      name: openebs
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: default-token-lbz9l
      readOnly: true
  dnsPolicy: ClusterFirst
  nodeName: maya-01
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: default
  serviceAccountName: default
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.alpha.kubernetes.io/notReady
    operator: Exists
  - effect: NoExecute
    key: node.alpha.kubernetes.io/unreachable
    operator: Exists
  volumes:
  - hostPath:
      path: /var/openebs/pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
      type: ""
    name: openebs
  - name: default-token-lbz9l
    secret:
      defaultMode: 420
      secretName: default-token-lbz9l
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: 2018-01-22T07:22:00Z
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: 2018-01-22T07:22:03Z
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: 2018-01-22T07:22:00Z
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: docker://379d8743e5a11e0f757a4661df6048b8b6caeadf637ec3a67f0d730106e32ec6
    image: openebs/jiva:0.5.0
    imageID: docker-pullable://openebs/jiva@sha256:d57e53d39d27122ea16957df1ba497149eb124f742dff61ae5b91e58ef9b9f2f
    lastState: {}
    name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b-rep-con
    ready: true
    restartCount: 0
    state:
      running:
        startedAt: 2018-01-22T07:22:02Z
  hostIP: 10.0.2.15
  phase: Running
  podIP: 172.17.0.7
  qosClass: BestEffort
  startTime: 2018-01-22T07:22:00Z

@AmitKumarDas
Copy link
Owner Author

AmitKumarDas commented Jan 22, 2018

  • K8s SC
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  creationTimestamp: 2017-12-22T04:52:21Z
  name: openebs-percona
  resourceVersion: "19531"
  selfLink: /apis/storage.k8s.io/v1/storageclasses/openebs-percona
  uid: e54b9582-e6d3-11e7-ad21-080027a8df8b
parameters:
  openebs.io/capacity: 5G
  openebs.io/jiva-replica-count: "1"
  openebs.io/storage-pool: default
  openebs.io/volume-monitor: "true"
provisioner: openebs.io/provisioner-iscsi
reclaimPolicy: Delete
  • K8s PVC
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  annotations:
    control-plane.alpha.kubernetes.io/leader: '{"holderIdentity":"118b3a92-ff44-11e7-8d6c-0242ac110003","leaseDurationSeconds":15,"acquireTime":"2018-01-22T07:22:00Z","renewTime":"2018-01-22T07:22:02Z","leaderTransitions":0}'
    pv.kubernetes.io/bind-completed: "yes"
    pv.kubernetes.io/bound-by-controller: "yes"
    volume.beta.kubernetes.io/storage-provisioner: openebs.io/provisioner-iscsi
  creationTimestamp: 2018-01-22T07:21:59Z
  name: demo-vol1-claim
  namespace: default
  resourceVersion: "483711"
  selfLink: /api/v1/namespaces/default/persistentvolumeclaims/demo-vol1-claim
  uid: ef88ef71-ff44-11e7-9120-080027a8df8b
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 5G
  storageClassName: openebs-percona
  volumeName: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
status:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 5G
  phase: Bound
  • K8s PV
apiVersion: v1
kind: PersistentVolume
metadata:
  annotations:
    alpha.dashboard.kubernetes.io/links: '{"monitor":"http://127.0.0.1:32515/dashboard/db/openebs-volume-stats?orgId=1&var-OpenEBS=pvc-ef88ef71-ff44-11e7-9120-080027a8df8b","maya":"https://mayaonline.io/"}'
    openEBSProvisionerIdentity: maya-01
    pv.kubernetes.io/provisioned-by: openebs.io/provisioner-iscsi
  creationTimestamp: 2018-01-22T07:22:00Z
  name: pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
  resourceVersion: "483702"
  selfLink: /api/v1/persistentvolumes/pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
  uid: eff36ad1-ff44-11e7-9120-080027a8df8b
spec:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 5G
  claimRef:
    apiVersion: v1
    kind: PersistentVolumeClaim
    name: demo-vol1-claim
    namespace: default
    resourceVersion: "483661"
    uid: ef88ef71-ff44-11e7-9120-080027a8df8b
  iscsi:
    fsType: ext4
    iqn: iqn.2016-09.com.openebs.jiva:pvc-ef88ef71-ff44-11e7-9120-080027a8df8b
    iscsiInterface: default
    lun: 1
    targetPortal: 10.102.185.67:3260
  persistentVolumeReclaimPolicy: Delete
  storageClassName: openebs-percona
status:
  phase: Bound

@AmitKumarDas
Copy link
Owner Author

AmitKumarDas commented Jan 22, 2018

  • maya api service - 0.5.0
apiVersion: v1
kind: Service
metadata:
  creationTimestamp: 2017-12-23T10:00:28Z
  name: maya-apiserver-service
  namespace: default
  resourceVersion: "90947"
  selfLink: /api/v1/namespaces/default/services/maya-apiserver-service
  uid: 1aa3a19c-e7c8-11e7-9289-080027a8df8b
spec:
  clusterIP: 10.102.229.194
  ports:
  - name: api
    port: 5656
    protocol: TCP
    targetPort: 5656
  selector:
    name: maya-apiserver
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}
  • maya api server ~0.5.0
apiVersion: v1
kind: Pod
metadata:
  annotations:
    kubernetes.io/created-by: |
      {"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"default","name":"maya-apiserver-65856dd557","uid":"1aa1d9dc-e7c8-11e7-9289-080027a8df8b","apiVersion":"extensions","resourceVersion":"90945"}}
  creationTimestamp: 2017-12-23T10:00:28Z
  generateName: maya-apiserver-65856dd557-
  labels:
    name: maya-apiserver
    pod-template-hash: "2141288113"
  name: maya-apiserver-65856dd557-4kwzl
  namespace: default
  ownerReferences:
  - apiVersion: extensions/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: maya-apiserver-65856dd557
    uid: 1aa1d9dc-e7c8-11e7-9289-080027a8df8b
  resourceVersion: "483239"
  selfLink: /api/v1/namespaces/default/pods/maya-apiserver-65856dd557-4kwzl
  uid: 1aa6d675-e7c8-11e7-9289-080027a8df8b
spec:
  containers:
  - env:
    - name: OPENEBS_IO_JIVA_CONTROLLER_IMAGE
      value: openebs/jiva:0.5.0
    - name: OPENEBS_IO_JIVA_REPLICA_IMAGE
      value: openebs/jiva:0.5.0
    - name: OPENEBS_IO_VOLUME_MONITOR_IMAGE
      value: openebs/m-exporter:0.5.0
    - name: OPENEBS_IO_JIVA_REPLICA_COUNT
      value: "2"
    image: openebs/m-apiserver:1055
    imagePullPolicy: Always
    name: maya-apiserver
    ports:
    - containerPort: 5656
      protocol: TCP
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: openebs-maya-operator-token-v45fc
      readOnly: true
  dnsPolicy: ClusterFirst
  nodeName: maya-01
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: openebs-maya-operator
  serviceAccountName: openebs-maya-operator
  terminationGracePeriodSeconds: 30
  volumes:
  - name: openebs-maya-operator-token-v45fc
    secret:
      defaultMode: 420
      secretName: openebs-maya-operator-token-v45fc
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: 2017-12-23T10:00:28Z
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: 2018-01-22T07:15:49Z
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: 2017-12-23T10:00:28Z
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: docker://b82eb6a2102faa17bcb63e6a4ba99d7e60e6128c25898ab5d13f268ae450ec9f
    image: openebs/m-apiserver:1055
    imageID: docker-pullable://openebs/m-apiserver@sha256:1cbbf4430d2b7dd660e974222b8feeac2379e0689775a3607535adfcee428932
    lastState:
      terminated:
        containerID: docker://8cbc589a342123758fdbda7f88ca13a0fb6e0ae4083ccc639353648b5a5057e7
        exitCode: 137
        finishedAt: 2018-01-20T09:58:21Z
        reason: Error
        startedAt: 2018-01-20T09:06:28Z
    name: maya-apiserver
    ready: true
    restartCount: 13
    state:
      running:
        startedAt: 2018-01-22T07:15:48Z
  hostIP: 10.0.2.15
  phase: Running
  podIP: 172.17.0.4
  qosClass: BestEffort
  startTime: 2017-12-23T10:00:28Z

@AmitKumarDas
Copy link
Owner Author

  • openebs provisioner ~0.5.0
apiVersion: v1
kind: Pod
metadata:
  annotations:
    kubernetes.io/created-by: |
      {"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"default","name":"openebs-provisioner-6fd7569c6f","uid":"2ccd22d8-e6d0-11e7-ad21-080027a8df8b","apiVersion":"extensions","resourceVersion":"17710"}}
  creationTimestamp: 2017-12-22T04:25:43Z
  generateName: openebs-provisioner-6fd7569c6f-
  labels:
    name: openebs-provisioner
    pod-template-hash: "2983125729"
  name: openebs-provisioner-6fd7569c6f-nfh4x
  namespace: default
  ownerReferences:
  - apiVersion: extensions/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: openebs-provisioner-6fd7569c6f
    uid: 2ccd22d8-e6d0-11e7-ad21-080027a8df8b
  resourceVersion: "483230"
  selfLink: /api/v1/namespaces/default/pods/openebs-provisioner-6fd7569c6f-nfh4x
  uid: 2cd77dba-e6d0-11e7-ad21-080027a8df8b
spec:
  containers:
  - env:
    - name: NODE_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: spec.nodeName
    - name: OPENEBS_MONITOR_URL
      value: http://127.0.0.1:32515/dashboard/db/openebs-volume-stats?orgId=1
    - name: OPENEBS_MONITOR_VOLKEY
      value: '&var-OpenEBS'
    - name: MAYA_PORTAL_URL
      value: https://mayaonline.io/
    image: openebs/openebs-k8s-provisioner:0.5.0
    imagePullPolicy: Always
    name: openebs-provisioner
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: openebs-maya-operator-token-v45fc
      readOnly: true
  dnsPolicy: ClusterFirst
  nodeName: maya-01
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: openebs-maya-operator
  serviceAccountName: openebs-maya-operator
  terminationGracePeriodSeconds: 30
  volumes:
  - name: openebs-maya-operator-token-v45fc
    secret:
      defaultMode: 420
      secretName: openebs-maya-operator-token-v45fc
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: 2017-12-22T04:25:43Z
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: 2018-01-22T07:15:47Z
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: 2017-12-22T04:25:43Z
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: docker://75a9289f9902ab4a3fd0d43a664cc06f2286d572a9b3414337f0ab233d6fe43d
    image: openebs/openebs-k8s-provisioner:0.5.0
    imageID: docker-pullable://openebs/openebs-k8s-provisioner@sha256:6b0b1cf65b889970bccfc5409f1d7341dce8474046fffe69197cf5404a48f2d1
    lastState:
      terminated:
        containerID: docker://9cf0114b233af936fa6d66c2c8cf650a0257243cd82963ba866bb53cae564c81
        exitCode: 2
        finishedAt: 2018-01-20T09:58:11Z
        reason: Error
        startedAt: 2018-01-20T09:06:30Z
    name: openebs-provisioner
    ready: true
    restartCount: 15
    state:
      running:
        startedAt: 2018-01-22T07:15:45Z
  hostIP: 10.0.2.15
  phase: Running
  podIP: 172.17.0.3
  qosClass: BestEffort
  startTime: 2017-12-22T04:25:43Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant