Documentation
¶
Overview ¶
Command uds-csi is the csi.aether.io CSI node plugin (proposal 039 Phase 1): the mesh-owned carrier for the directory a UDS-served workload binds its socket in. See //agent/internal/udscsi for what a publish does.
It serves two gRPC endpoints on Unix sockets under the kubelet root:
- the CSI Identity + Node services on <kubelet-root>/plugins/csi.aether.io/csi.sock;
- the kubelet plugin-registration service on <kubelet-root>/plugins_registry/csi.aether.io-reg.sock — served here, not by a csi-node-driver-registrar sidecar.
`uds-csi --probe` is the DaemonSet's exec liveness probe: exit 0 iff the CSI socket exists. It is a flag on this binary rather than its own binary because the probe runs rarely (every 30s) and this binary is already small.
Keep it small: //agent/cmd/uds-csi:deps_test fails the build if this binary ever links controller-runtime, client-go, apimachinery, go-control-plane or SPIRE, and scripts/check-uds-csi-deps.sh asserts the same on the build graph. It makes no Kubernetes API calls and needs no RBAC.