Registry Mirror
Skip to content

Conversation

@lekhoavu2909

@lekhoavu2909 Vu Le (lekhoavu2909) commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Registers canonical csi-nfs and csi-hostpath ExternalVolumeClasses during CSI setup when ate-api-server has the ExternalVolumes preview gate enabled, switches the repo's demos, e2e tests and benchmarks from the csi-nfs-sc and csi-hostpath-sc, Kubernetes StorageClasses to ExternalVolumeClasses, and stops CSI setup from creating Kubernetes StorageClasses. ExternalVolumeTemplate.storage_class_name still works in the API, though it is untested in e2e after this PR until #3816 removes it.

Stacked on #3751 (evc-pr3-handlers); review the commits above evc-pr3-handlers or the isolated diff.

Merge order: this PR merges before #3926 and #3927. Follow-up rebases on #3926 and #3927 will remove their duplicate unmarshalProtoManifest helper in cmd/ate-setup/internal/steps/substrate.go and update TestTheNFSSetupsApplyTheSharedStorageClass now that storageclass-nfs.yaml is deleted here.

Part of #3754

AI use: AI-assisted, I reviewed and tested it.

Breaking change: for repo tooling only, not the API. Renamed flags, env vars, and settings:

  • ate-setup counter demo: --storage-class / STORAGE_CLASS / demo.counter.storageClass -> --external-volume-class / EXTERNAL_VOLUME_CLASS / demo.counter.externalVolumeClass (default csi-nfs); setting STORAGE_CLASS now fails loudly
  • e2e: --storage-class -> --external-volume-class (default csi-nfs)
  • benchmarks: --storage-class-name / STORAGE_CLASS_NAME -> --external-volume-class / EXTERNAL_VOLUME_CLASS; setting STORAGE_CLASS_NAME now fails loudly
  • setup csi hostpath deletes any leftover csi-hostpath-sc StorageClass on re-run, so templates that still set storage_class_name: csi-hostpath-sc will fail at CreateActor
    External-volume demos, e2e cases and benchmarks now need the ExternalVolumes preview enabled on ate-api-server at setup time, because setup no longer creates a StorageClass to fall back on.
  • Tests pass
  • Docs updated

@lekhoavu2909 Vu Le (lekhoavu2909) changed the title evc pr8 cutover Use ExternalVolumeClasses instead of StorageClasses in demos, e2e tests and benchmarks Nov 11, 2026
@lekhoavu2909
Vu Le (lekhoavu2909) marked this pull request as ready for review November 12, 2026 18:49
@lekhoavu2909 Vu Le (lekhoavu2909) changed the title Use ExternalVolumeClasses instead of StorageClasses in demos, e2e tests and benchmarks Use ExternalVolumeClasses instead of StorageClasses in setup, demos, e2e tests and benchmarks Nov 16, 2026
@lekhoavu2909
Vu Le (lekhoavu2909) force-pushed the evc-pr8-cutover branch 4 times, most recently from 0319f38 to a4cf0fa Compare November 24, 2026 19:03
Comment thread cmd/ate-setup/internal/steps/csi.go Resolved
Comment thread cmd/ate-setup/internal/steps/csi.go Resolved
Comment thread hack/setup-csi-nfs-kind.sh Resolved
@Sneha-at

Copy link
Copy Markdown
Collaborator

/lgtm apart from the comments

@lekhoavu2909 Vu Le (lekhoavu2909) added the breaking-change PRs with breaking changes label Nov 30, 2026
@lekhoavu2909
Vu Le (lekhoavu2909) force-pushed the evc-pr8-cutover branch 3 times, most recently from bcdc0d0 to 8a9ee63 Compare November 30, 2026 23:38
@lekhoavu2909
Vu Le (lekhoavu2909) force-pushed the evc-pr8-cutover branch 3 times, most recently from 69c9f85 to 12e9b59 Compare December 1, 2026 23:22
… by ObjectRef), ExternalVolumeTemplate.external_volume_class, CRUD/List RPCs, and apitool examples/tests.

Signed-off-by: Vu Le <vulk@google.com>
…ver_configs), store.Interface methods, atepg CRUD, and contract/Postgres tests.

Signed-off-by: Vu Le <vulk@google.com>
…ries, RPCService/ServiceImpl handlers, and functional tests.

Signed-off-by: Vu Le <vulk@google.com>
…gh ateletpb/atelet, and volume lifecycle tests.

Signed-off-by: Vu Le <vulk@google.com>
…horization/resource-model docs.

Signed-off-by: Vu Le <vulk@google.com>
…them in ate-setup and hack/setup-csi-nfs-kind.sh, and stops creating Kubernetes StorageClass objects.

Signed-off-by: Vu Le <vulk@google.com>
…nalVolumeClass flags and env vars.

Signed-off-by: Vu Le <vulk@google.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change PRs with breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants