This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: "local.storage.openshift.io/v1alpha1" | |
kind: "LocalVolume" | |
metadata: | |
name: "local-disks" | |
spec: | |
nodeSelector: | |
nodeSelectorTerms: | |
- matchExpressions: | |
- key: kubernetes.io/hostname | |
operator: In |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doublehaul ➜ local-storage-operator git:(master) ✗ k logs local-storage-operator-64d8888597-pvrp4 -n local-storage | |
time="2019-05-14T17:14:58Z" level=info msg="Go Version: go1.10.3" | |
time="2019-05-14T17:14:58Z" level=info msg="Go OS/Arch: linux/amd64" | |
time="2019-05-14T17:14:58Z" level=info msg="operator-sdk Version: 0.0.7" | |
time="2019-05-14T17:14:58Z" level=info msg="Metrics service local-storage-operator created" | |
time="2019-05-14T17:14:58Z" level=info msg="Watching local.storage.openshift.io/v1alpha1, LocalVolume" | |
time="2019-05-14T17:14:58Z" level=info msg="Watching local.storage.openshift.io/v1alpha1, LocalVolume, local-storage, 5000000000" | |
doublehaul ➜ local-storage-operator git:(master) ✗ k get po -A | |
NAMESPACE NAME READY STATUS RESTARTS AGE | |
kube-system coredns-fb8b8dccf-r26dr 1/1 Running 0 43m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doublehaul ➜ local-storage-operator git:(master) ✗ k get all -n local-storage | |
NAME READY STATUS RESTARTS AGE | |
pod/local-storage-manifests-h8mnn 1/1 Running 0 17m | |
pod/local-storage-operator-64d8888597-pvrp4 1/1 Running 0 16m | |
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
service/local-storage-manifests ClusterIP 10.111.132.154 <none> 50051/TCP 17m | |
service/local-storage-operator ClusterIP 10.104.24.201 <none> 60000/TCP 15m | |
NAME READY UP-TO-DATE AVAILABLE AGE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: config.openshift.io/v1 | |
kind: FeatureGate | |
metadata: | |
name: cluster | |
namespace: openshift-config | |
spec: | |
featureSets: "TechPreviewNoUpgrade" | |
Enabled: | |
"CSIBlockVolume", | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CreationTimestamp: Wed, 17 Apr 2019 12:58:01 -0600 | |
Taints: node-role.kubernetes.io/master:NoSchedule | |
Unschedulable: false | |
Conditions: | |
Type Status LastHeartbeatTime LastTransitionTime Reason Message | |
---- ------ ----------------- ------------------ ------ ------- | |
MemoryPressure False Thu, 18 Apr 2019 09:53:06 -0600 Wed, 17 Apr 2019 12:58:01 -0600 KubeletHasSufficientMemory kubelet has sufficient memory available | |
DiskPressure False Thu, 18 Apr 2019 09:53:06 -0600 Wed, 17 Apr 2019 12:58:01 -0600 KubeletHasNoDiskPressure kubelet has no disk pressure | |
PIDPressure False Thu, 18 Apr 2019 09:53:06 -0600 Wed, 17 Apr 2019 12:58:01 -0600 KubeletHasSufficientPID kubelet has sufficient PID available | |
Ready True Thu, 18 Apr 2019 09:53:06 -0600 Wed, 17 Apr 2019 12:59:11 -0600 KubeletReady kubele |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doublehaul ➜ ocp-local-storage-operator.yaml oc describe daemonset | |
Name: local-disks-local-provisioner | |
Selector: app=local-volume-provisioner-local-disks | |
Node-Selector: <none> | |
Labels: app=local-volume-provisioner-local-disks | |
local.storage.openshift.io/owner-name=local-disks | |
local.storage.openshift.io/owner-namespace=local-storage | |
Annotations: <none> | |
Desired Number of Nodes Scheduled: 0 | |
Current Number of Nodes Scheduled: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME READY STATUS RESTARTS AGE | |
pod/local-storage-manifests-4kpzz 1/1 Running 0 35m | |
pod/local-storage-operator-54564d9988-sp88t 1/1 Running 0 34m | |
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
service/local-storage-manifests ClusterIP 172.30.218.153 <none> 50051/TCP 35m | |
service/local-storage-operator ClusterIP 172.30.175.237 <none> 60000/TCP 33m | |
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE | |
daemonset.apps/local-disks-local-provisioner 0 0 0 0 0 <none> 33m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: "local.storage.openshift.io/v1alpha1" | |
kind: "LocalVolume" | |
metadata: | |
name: "local-disks" | |
spec: | |
nodeSelector: | |
nodeSelectorTerms: | |
⤫ - matchExpressions: | |
- key: kubernetes.io/hostname | |
operator: In |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/v1/types_feature.go b/config/v1/types_feature.go | |
index 94d1a7a4..d27d0036 100644 | |
--- a/config/v1/types_feature.go | |
+++ b/config/v1/types_feature.go | |
@@ -84,6 +84,7 @@ var FeatureSets = map[FeatureSet]*FeatureGateEnabledDisabled{ | |
}, | |
Disabled: []string{ | |
"LocalStorageCapacityIsolation", // sig-pod, sjenning | |
+ "CSIBlockVolume", // sig-storage, j-griffith | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat << EOF | kubectl create -f - | |
apiVersion: ceph.rook.io/v1 | |
kind: CephBlockPool | |
metadata: | |
name: rbd | |
namespace: rook-ceph | |
spec: | |
failureDomain: host | |
replicated: | |
size: 3 |