Patrick Ohly

Results 1006 comments of Patrick Ohly

> because sooner or later I ended up in a situation where I wanted/needed to log from a non-type-scoped function but had no logger This is tempting, but it is...

> And if we ever need to start doing that, we can always add a functions for setting that logger, too. Or design those functions so that the caller can...

The two are interoperable: apps can pass a `logr.Logger` and your package can use `slog`, and vice-versa.

> No new CSIStorageCapacity object is created. How do you check for this? With `kubectl get csistoragecapacities` or `kubectl get --all-namespaces csistoragecapacities`? CSIStorageCapacity objects are namespaced, so the second command...

My commands: ``` /deploy/kubernetes-distributed/deploy.sh kubectl delete storageclass.storage.k8s.io/csi-hostpath-slow kubectl delete storageclass.storage.k8s.io/csi-hostpath-fast kubectl get --all-namespaces csistoragecapacity kubectl create -f deploy/kubernetes-distributed/hostpath/csi-hostpath-storageclass-fast.yaml kubectl get --all-namespaces csistoragecapacity ```

@samuelluohaoen1: it looks like you are using a central controller for your CSI driver. Is that correct? Can you perhaps share the external-provisioner log at level >= 5? The is...