diff --git a/seaweed-block/charts/seaweed-block/README.md b/seaweed-block/charts/seaweed-block/README.md index 526ce9ef5c..716d2147c2 100644 --- a/seaweed-block/charts/seaweed-block/README.md +++ b/seaweed-block/charts/seaweed-block/README.md @@ -34,49 +34,14 @@ plain `helm install sw-block charts/seaweed-block` as a release-gated install: it does not run preflight, does not discover the live Kubernetes node set, and can leave placement/launcher evidence incomplete on real labs. -Example `values.day1.yaml`: +A complete three-node example is in +[`examples/values-3node.yaml`](examples/values-3node.yaml): image tags, network +and compat settings, CHAP, the StorageClass replication factor, and three +`blockNodes` (`node-a`, `node-b`, `node-c`, with RFC 5737 documentation +addresses). Copy it and replace the node names and addresses with your own: -```yaml -image: - tag: sha- -csiImage: - tag: sha- - -network: - externalISCSI: true - externalNVMe: false - externalStatus: true - rejectLoopbackPublishTargets: true - -compat: - launcherDurableImplFlag: false - launcherReplicationAckFlag: false - launcherRejectLoopbackFlag: false - -chap: - enabled: true - username: swblock - secret: replace-with-a-real-secret - -storageClass: - replicationFactor: 1 - -blockNodes: - - name: m01 - kubernetesNode: m01 - internalIP: 192.168.1.181 - frontendIP: 10.0.0.181 - frontendNetworkClass: 100gbe_tcp - - name: m02 - kubernetesNode: m02 - internalIP: 192.168.1.184 - frontendIP: 10.0.0.184 - frontendNetworkClass: 100gbe_tcp - - name: tp01 - kubernetesNode: tp01 - internalIP: 192.168.1.188 - frontendIP: 10.0.0.188 - frontendNetworkClass: 100gbe_tcp +```bash +helm install sw-block charts/seaweed-block -f my-values.yaml ``` `blockNodes[*].kubernetesNode` must match a real Kubernetes node name. The @@ -94,12 +59,12 @@ storageClass: nvmeTransport: rdma network: externalNVMe: true - frontendNetworkClass: 100gbe_roce - blockNodes: - - name: m02 - kubernetesNode: m02 - internalIP: 192.168.1.184 - frontendIP: 10.0.0.3 +blockNodes: + - name: node-b + kubernetesNode: node-b + internalIP: 192.0.2.12 + frontendIP: 198.51.100.12 + frontendNetworkClass: 100gbe_roce ``` RDMA requires a non-loopback RoCE frontend address and host `nvme-rdma`, diff --git a/seaweed-block/charts/seaweed-block/examples/values-3node.yaml b/seaweed-block/charts/seaweed-block/examples/values-3node.yaml new file mode 100644 index 0000000000..c27fd63bf2 --- /dev/null +++ b/seaweed-block/charts/seaweed-block/examples/values-3node.yaml @@ -0,0 +1,48 @@ +# Example values for a three-node install (see ../README.md). +# +# Node names and addresses are placeholders. The addresses come from the +# RFC 5737 documentation ranges: 192.0.2.0/24 stands for the internal +# (management/control-plane) network and 198.51.100.0/24 for the frontend +# (data-plane) network. Replace them with your own Kubernetes node names and +# addresses; `sw-block ops generate-helm-values` derives them from the live +# cluster. +image: + tag: sha- +csiImage: + tag: sha- + +network: + externalISCSI: true + externalNVMe: false + externalStatus: true + rejectLoopbackPublishTargets: true + +compat: + launcherDurableImplFlag: false + launcherReplicationAckFlag: false + launcherRejectLoopbackFlag: false + +chap: + enabled: true + username: swblock + secret: replace-with-a-real-secret + +storageClass: + replicationFactor: 1 + +blockNodes: + - name: node-a + kubernetesNode: node-a + internalIP: 192.0.2.11 + frontendIP: 198.51.100.11 + frontendNetworkClass: 100gbe_tcp + - name: node-b + kubernetesNode: node-b + internalIP: 192.0.2.12 + frontendIP: 198.51.100.12 + frontendNetworkClass: 100gbe_tcp + - name: node-c + kubernetesNode: node-c + internalIP: 192.0.2.13 + frontendIP: 198.51.100.13 + frontendNetworkClass: 100gbe_tcp diff --git a/seaweed-block/charts/seaweed-block/values.yaml b/seaweed-block/charts/seaweed-block/values.yaml index 732f543302..2b99961d80 100644 --- a/seaweed-block/charts/seaweed-block/values.yaml +++ b/seaweed-block/charts/seaweed-block/values.yaml @@ -115,8 +115,10 @@ nvme: # `kubectl get nodes` so node names and InternalIPs are verified against the # live cluster. blockNodes: - - name: m02 - serverID: m02 + # Placeholder for a single-node render. Replace with your own node (name = + # Kubernetes node name); see examples/values-3node.yaml. + - name: block-node-1 + serverID: block-node-1 internalIP: 127.0.0.1 # Optional frontend/data-plane bind address. When set, cluster-spec data_addr # and frontend publish targets use this IP while ctrl_addr keeps internalIP. diff --git a/seaweed-block/docs/releases/nvme-rdma-capability-boundary.md b/seaweed-block/docs/releases/nvme-rdma-capability-boundary.md index 11589c7ffb..31da655343 100644 --- a/seaweed-block/docs/releases/nvme-rdma-capability-boundary.md +++ b/seaweed-block/docs/releases/nvme-rdma-capability-boundary.md @@ -5,6 +5,9 @@ path**. Seaweed Block can serve one explicitly selected NVMe/RDMA target and mount it through CSI in the supported RoCE lab. Multipath/failover, broad compatibility, performance improvement, and production SLOs remain non-claims. +> Addresses in this record use RFC 5737 documentation ranges (192.0.2.0/24 +> internal, 198.51.100.0/24 frontend) in place of the lab's own addresses. + ## Claim Matrix | Capability | Current status | @@ -20,7 +23,7 @@ compatibility, performance improvement, and production SLOs remain non-claims. ```text Linux nvme-rdma initiator on lab host A --> RoCE data-plane address 10.0.0.3 on lab host B +-> RoCE data-plane address 198.51.100.12 on lab host B -> Linux kernel nvmet-rdma target -> configfs namespace backed by /dev/nbdX -> Seaweed Block NBD request bridge @@ -80,7 +83,7 @@ TestOps run `20260718-011316-dc5b` passed 16/16 actions: ```text rdma_implementation_path=kernel_nvmet_rdma_nbd_bridge -rdma_bind_ip=10.0.0.3 +rdma_bind_ip=198.51.100.12 rdma_device=rocep1s0 rdma_netdev=enp1s0np0 linux_nvme_connect_rdma_succeeded=true @@ -130,14 +133,14 @@ cleanup_status=ok TestOps run `20260718-025048-9d6a` passed 14/14 actions with fresh matching product and CSI images. A dynamic PVC selected `nvmeTransport: rdma`, the target -published `10.0.0.3:4420`, CSI mounted it on lab host A, and writer/reader verification +published `198.51.100.12:4420`, CSI mounted it on lab host A, and writer/reader verification passed. ```text phase165_nvme_rdma_k8s_publish_attach_status=ok csi_publish_context_transport=rdma active_host_controller_transport=rdma -active_host_controller_traddr=10.0.0.3 +active_host_controller_traddr=198.51.100.12 swblockvolume_status_transport=rdma writer_verified=true reader_verified=true diff --git a/seaweed-block/docs/releases/nvme-tcp-supported-lab.md b/seaweed-block/docs/releases/nvme-tcp-supported-lab.md index 7b7487966b..0456b108d9 100644 --- a/seaweed-block/docs/releases/nvme-tcp-supported-lab.md +++ b/seaweed-block/docs/releases/nvme-tcp-supported-lab.md @@ -4,6 +4,9 @@ Status: source-gated. Matching published `seaweed-block` and `seaweed-block-csi` images still need a release-smoke run before this becomes a public image claim. +> Addresses in this record use RFC 5737 documentation ranges (192.0.2.0/24 +> internal, 198.51.100.0/24 frontend) in place of the lab's own addresses. + ## Claim Seaweed Block can run an opt-in NVMe/TCP Kubernetes CSI path in the supported @@ -163,7 +166,7 @@ Phase 122 is the current supported-lab baseline for the configured 100GbE TCP frontend path: ```text -publish_target=10.0.0.1:4420 +publish_target=198.51.100.11:4420 publish_target_network_class=100gbe_tcp publish_target_route_dev=enp1s0np0 seq_write_mibps=115.11 @@ -747,8 +750,8 @@ Phase 133 closes the stale host-path gap left by Phase 132: ```text phase133_nvme_k8s_stale_path_prune_status=ok initial_path_count=2 -old_desired_path=192.168.1.184:4420 -new_desired_path=192.168.1.184:4520 +old_desired_path=192.0.2.12:4420 +new_desired_path=192.0.2.12:4520 desired_path_set_changed=true reconnect_owner=csi-node reconnect_invoked=true