Skip to content

minio operator Consider RuntimeClassName as a string

Allan Roger Reid edited this page Jan 25, 2023 · 1 revision

Status: Open

Pull Request

https://github.com/minio/operator/pull/1393

Issues

RuntimeClassName is currently defined as a pointer to a string. It should simply be a string to simplify downstream usage in console.

Tests

1a. Clone https://github.com/allanrogerr/operator.git

1b. Checkout fix-runtimeclass-string

  1. Comment out "destroy_kind" from testing/deploy-tenant.sh

  2. Add runtimeClassName: runc to examples/kustomization/tenant-lite/tenant.yaml

image
  1. Run testing/deploy-tenant.sh

  2. Define runc

cat <<EOF | kubectl apply -f -
apiVersion: node.k8s.io/v1
kind: RuntimeClass
metadata:
  name: runc
handler: runc
EOF
  1. Observe tenant pods with runc
k -n tenant-lite get pods
k -n tenant-lite describe pod/storage-lite-pool-0-0 | grep "Runtime Class Name"
image
Clone this wiki locally