Skip to content

Instantly share code, notes, and snippets.

View j-griffith's full-sized avatar

John Griffith j-griffith

  • Bozeman, Montana
View GitHub Profile
doublehaul ➜ olm-local-volumes git:(master) ✗ k get nodes -o yaml
apiVersion: v1
items:
- apiVersion: v1
kind: Node
metadata:
annotations:
csi.volume.kubernetes.io/nodeid: '{"rbd.csi.ceph.com":"kube-1"}'
flannel.alpha.coreos.com/backend-data: '{"VtepMAC":"36:1d:8f:79:f2:c7"}'
flannel.alpha.coreos.com/backend-type: vxlan
doublehaul ➜ olm-local-volumes git:(master) ✗ k describe pvc local-claim
Name: local-claim
Namespace: default
StorageClass: local-sc
Status: Pending
Volume:
Labels: <none>
Annotations: <none>
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
doublehaul ➜ olm-local-volumes git:(master) ✗ cat local-pvc.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: local-claim
spec:
accessModes:
- ReadWriteMany
volumeMode: Block
resources:
doublehaul ➜ olm-local-volumes git:(master) ✗ k describe no | grep hostname
kubernetes.io/hostname=kube-1
kubernetes.io/hostname=kube-2
kubernetes.io/hostname=kube-3
Name: local-pv-a8c628af
Labels: <none>
Annotations: pv.kubernetes.io/provisioned-by: local-volume-provisioner-kube-1-f29b333e-7b13-11e9-a597-fa163e909488
Finalizers: [kubernetes.io/pv-protection]
StorageClass: local-sc
Status: Available
Claim:
Reclaim Policy: Delete
Access Modes: RWO
VolumeMode: Filesystem
apiVersion: config.openshift.io/v1
kind: FeatureGate
metadata:
annotations:
release.openshift.io/create-only: 'true'
creationTimestamp: '2019-05-29T16:26:01Z'
generation: 2
name: cluster
resourceVersion: '22864'
selfLink: /apis/config.openshift.io/v1/featuregates/cluster
[shanks@dell-r640-009 ~]$ oc describe FeatureGate cluster -n openshift-config
Name: cluster
Namespace:
Labels: <none>
Annotations: <none>
API Version: config.openshift.io/v1
Kind: FeatureGate
Metadata:
Creation Timestamp: 2019-05-29T15:47:58Z
Generation: 1
doublehaul ➜ installer git:(master) ✗ k describe pv local-pv-a8c628af
Name: local-pv-a8c628af
Labels: <none>
Annotations: pv.kubernetes.io/provisioned-by: local-volume-provisioner-kube-1-f29b333e-7b13-11e9-a597-fa163e909488
Finalizers: [kubernetes.io/pv-protection]
StorageClass: local-sc
Status: Available
Claim:
Reclaim Policy: Delete
Access Modes: RWO
jgriffith@dev:~/go/src/kubevirt.io/containerized-data-importer$ k get all -n cdi
NAME READY STATUS RESTARTS AGE
pod/cdi-apiserver-5fcc667f8-9msx6 1/1 Running 0 88s
pod/cdi-block-device-696fdc4ccc-px2lr 1/1 Running 0 55s
pod/cdi-deployment-8568dbc6bf-kzn4g 1/1 Running 0 87s
pod/cdi-docker-registry-host-67bd47bf4-4nqfk 0/2 Running 0 56s
pod/cdi-file-host-7bdbbb99d-j26k4 0/2 Init:0/1 0 57s
pod/cdi-operator-6c77dcffb8-mzvsk 1/1 Running 0 100s
pod/cdi-uploadproxy-568bb948dd-td5tv 1/1 Running 0 88s
jgriffith@dev:~/go/src/kubevirt.io/containerized-data-importer$ k get all -n cdi
NAME READY STATUS RESTARTS AGE
pod/cdi-apiserver-5fcc667f8-52mh2 1/1 Running 0 3m14s
pod/cdi-deployment-8568dbc6bf-xlfvr 1/1 Running 0 3m13s
pod/cdi-operator-6c77dcffb8-tm6s6 1/1 Running 0 3m26s
pod/cdi-uploadproxy-568bb948dd-sbxgf 1/1 Running 0 3m14s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/cdi-api ClusterIP 10.108.94.137 <none> 443/TCP 3m14s
service/cdi-uploadproxy ClusterIP 10.104.189.116 <none> 443/TCP 3m14s