nvcf / cassandra
AGENTS.md261 starsChanged 9 days agoApache-2.0View on GitHub
Container image that runs Apache Cassandra for NVCF, built on the official cassandra image. Layers a Prometheus exporter agent (supplied at build time), yq for the chart's config init container, and an NCP rack-from-pod cassandra-env.sh. - Base: cassandra:5.0.9 (official Apache Cassandra, Docker Hub). Bump the Cassandra version by updating both the tag and digest in the FROM cassandra:<version>@sha256:<digest> line. The tag is the source of truth for the expected version; there is no version build-arg. - Trust store: the image…
In this repository133 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-tooling/AGENTS.mdAGENTS.md
- deploy/helm/cassandra/AGENTS.mdAGENTS.md
- deploy/helm/cert-manager/AGENTS.mdAGENTS.md
- deploy/helm/cloud-functions/AGENTS.mdAGENTS.md
- deploy/helm/cloud-tasks/AGENTS.mdAGENTS.md
- deploy/helm/encrypted-secret-store/AGENTS.mdAGENTS.md
- deploy/helm/icms/AGENTS.mdAGENTS.md
- deploy/helm/llm-request-router/AGENTS.mdAGENTS.md
- deploy/helm/nats/AGENTS.mdAGENTS.md
- deploy/helm/notary/AGENTS.mdAGENTS.md
- deploy/helm/nvcf-pki/AGENTS.mdAGENTS.md
- deploy/helm/openbao/AGENTS.mdAGENTS.md
- deploy/helm/vanity-gateway/AGENTS.mdAGENTS.md
- deploy/releases/AGENTS.mdAGENTS.md
- deploy/stacks/AGENTS.mdAGENTS.md
- deploy/stacks/observability/AGENTS.mdAGENTS.md
- deploy/stacks/stargate-dev/AGENTS.mdAGENTS.md
- deploy/stacks/stargate-dev/benchmark/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- docs/overview/samples/scripts/AGENTS.mdAGENTS.md
- examples/AGENTS.mdAGENTS.md
- infra/openbao/AGENTS.mdAGENTS.md
- infra/openbao/plugins/vault-plugin-secrets-jwt/AGENTS.mdAGENTS.md
- infra/openbao/tests/AGENTS.mdAGENTS.md
- migrations/cassandra/AGENTS.mdAGENTS.md
- migrations/openbao/AGENTS.mdAGENTS.md
- src/compute-plane-services/byoo-otel-collector/AGENTS.mdAGENTS.md
- src/compute-plane-services/ess-agent/AGENTS.mdAGENTS.md
- src/compute-plane-services/image-credential-helper/AGENTS.mdAGENTS.md
- src/compute-plane-services/nvca/AGENTS.mdAGENTS.md
- src/compute-plane-services/nvsnap/docs/AGENTS.mdAGENTS.md
- src/compute-plane-services/nvstor/AGENTS.mdAGENTS.md
- src/compute-plane-services/request-trace-uploader/AGENTS.mdAGENTS.md
- src/control-plane-services/admin-token-issuer-proxy/AGENTS.mdAGENTS.md
- src/control-plane-services/api-keys/AGENTS.mdAGENTS.md
- src/control-plane-services/cloud-functions/AGENTS.mdAGENTS.md
- src/control-plane-services/cloud-tasks/AGENTS.mdAGENTS.md
- src/control-plane-services/encrypted-secret-store/AGENTS.mdAGENTS.md
- src/control-plane-services/function-autoscaler/AGENTS.mdAGENTS.md
- src/control-plane-services/function-autoscaler/local_env/AGENTS.mdAGENTS.md
- src/control-plane-services/instance-cluster-management/AGENTS.mdAGENTS.md
- src/control-plane-services/nats-auth-callout/AGENTS.mdAGENTS.md
- src/control-plane-services/notary/AGENTS.mdAGENTS.md
- src/invocation-plane-services/grpc-proxy/AGENTS.mdAGENTS.md
- src/invocation-plane-services/http-invocation/AGENTS.mdAGENTS.md
- src/invocation-plane-services/llm-api-gateway/AGENTS.mdAGENTS.md
- src/invocation-plane-services/ratelimiter/AGENTS.mdAGENTS.md
- src/invocation-plane-services/vanity-gateway/AGENTS.mdAGENTS.md
- src/libraries/go/lib/AGENTS.mdAGENTS.md
- src/libraries/go/worker/AGENTS.mdAGENTS.md
- src/libraries/java/nv-boot-parent/AGENTS.mdAGENTS.md
- src/libraries/python/nv-cloud-function-helpers/AGENTS.mdAGENTS.md
- src/libraries/rust/nvcf-info/AGENTS.mdAGENTS.md
- src/libraries/rust/stargate/AGENTS.mdAGENTS.md
- src/uis/nvcf-ui/AGENTS.mdAGENTS.md
- src/uis/nvcf-ui/helm/AGENTS.mdAGENTS.md
- tests/bdd/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- tools/docs-version-sync/AGENTS.mdAGENTS.md
- The first 60 shown.
The file
Files
AGENTS.md - cassandra runtime image
Container image that runs Apache Cassandra for NVCF, built on the official
cassandra image. Layers a Prometheus exporter agent (supplied at build time),
yq for the chart's config init container, and an NCP rack-from-pod
cassandra-env.sh.
Image facts
- Base:
cassandra:5.0.9(official Apache Cassandra, Docker Hub). Bump the Cassandra version by updating both the tag and digest in theFROM cassandra:<version>@sha256:<digest>line. The tag is the source of truth for the expected version; there is no version build-arg. - Trust store: the image copies Temurin's MPL-2.0
cacertsfile. KeepNOTICEand its source revision current when changing that file. - yq: fetched in a pinned
alpine:3.21build stage and checksum-verified. The chart's config init container uses it to deep-merge cassandra.yaml overrides. - Exporter agent: not redistributed here.
files/ships only.gitkeep, and theDockerfiledefaultsEXPORTER_JARto it, so a bare build succeeds with no metrics agent. To enable metrics on port 9500, supply a jar underfiles/and pass both--build-arg EXPORTER_JAR=files/<jar>and--build-arg EXPORTER_JAVAAGENT=-javaagent:/opt/cassandra/lib/cassandra-exporter-agent.jar. Both args are required together; the build rejects either mismatched combination. It replaces the jar's exact shaded Netty module set with checksum-pinned artifacts throughscripts/repack-exporter-netty.shand fails on an unexpected layout. - Maven downloads default to Maven Central. To route them through a caching
repository manager pass
--build-arg MAVEN_REPOSITORY_BASE=<base>; the artifact paths fromjava-libraries.lockand the SHA-256 checks are unchanged.
Build
# OSS build (no metrics agent)
docker build -t nvcf-cassandra:dev infra/cassandra
# multi-arch
docker buildx build --platform linux/amd64,linux/arm64 -t <ref> infra/cassandra
# download retry and checksum policy unit test (local server, no network)
infra/cassandra/scripts/fetch-verified-test.sh
# repository-base override and lock handling unit test (local server, no network)
infra/cassandra/scripts/fetch-java-libraries-test.sh
# exporter dependency unit test (downloads checksum-pinned Netty jars)
infra/cassandra/scripts/repack-exporter-netty-test.sh
# built image trust store and runtime version check
sh infra/cassandra/scripts/test-image.sh <image>The --platform=$BUILDPLATFORM on the yq stage is intentional: it lets yq
cross-download on the host arch without QEMU.
Pairs with
- Helm chart
deploy/helm/cassandradeploys this image; its config init container relies on theyqthis image provides. - Schema migrations image
migrations/cassandra.
cassandra-env.sh
scripts/cassandra-env.sh is the official Apache Cassandra cassandra-env.sh
modified to derive CASSANDRA_RACK from the pod hostname suffix for
GossipingPropertyFileSnitch (-0/-3/-6 -> r1, -1/-4/-7 -> r2,
-2/-5/-8 -> r3) and write cassandra-rackdc.properties. It is Apache-2.0,
derived from upstream; keep the SPDX header.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

