This file contains 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
# Before Dynamic provisioning | |
spec: | |
VAC: silver | |
status: | |
# After Dynamic provisioning | |
spec: | |
VAC: silver | |
status: | |
volumeAttributeClassStatus: |
This file contains 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: storage.k8s.io/v1 | |
kind: StorageClass | |
metadata: | |
name: mysc | |
provisioner: kubernetes.io/gce-pd | |
reclaimPolicy: Delete | |
volumeBindingMode: WaitForFirstConsumer | |
parameters: | |
--- | |
apiVersion: v1 |
This file contains 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
# StoragePools have nodeaffinity/selectors | |
# OPEN ISSUE: Does StoragePool also need parameters like ssd, encryption, etc. | |
type: StoragePool | |
metadata: | |
name: pool1 | |
spec: | |
nodeAffinity/Selector: | |
zone: us-west1a | |
status: | |
capacity: |
This file contains 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
function run_int() { | |
#make test-integration WHAT=./test/integration/scheduler GO_FLAGS="-v" KUBE_TEST_ARGS="-run ^TestVolumeBinding$" | |
make test-integration WHAT=./test/integration/scheduler GOFLAGS="-v" KUBE_TEST_ARGS="-run ^TestVolumeBindingStress$" KUBE_TEST_VMODULE="scheduler*=5,pv*=5" | |
#make test-integration WHAT=./test/integration/scheduler GO_FLAGS="-v" KUBE_TEST_ARGS="-run ^TestPVAffinityConflict$" | |
} | |
function run_int_fail() { | |
i=0 | |
while run_int > /tmp/int.log.$i; | |
do |