Skip to main content
To learn how networks relate to projects, locations, and Instances, see Networks overview. To view, change, or delete a network, see Operations.
gVPC is in preview, and the networking.datumapis.com/v1alpha API can change.

Before you begin

  • Install datumctl, log in, and select a project. For more information, see Install datumctl.
  • To create, change, or delete networks, you need the Network Admin role in the project. The same role lets you attach workloads to a network. For more information, see Permissions.

Create a network

To create a network, follow these steps:
  1. Save the following manifest as network.yaml:
    spec.ipam.mode: Auto tells Datum to assign the network’s address space. ipam.mode is the only field that you need to set.
  2. To create the network, run the following command:
  3. To check that the network is ready, run the following command:
    When the network is ready, the IPV6PREFIX column shows the private IPv6 prefix that Datum assigned, and the READY column shows True.
A network has two optional settings: spec.ipFamilies defaults to [IPv6], and spec.mtu defaults to 1440. Keep the defaults unless you have a reason to change them. Datum rejects a network that doesn’t include IPv6, and a larger MTU can cause connections between locations to stall. To create a network with the network plugin instead of a manifest, run the following command:
The plugin creates the same IPv6-only network. To install the plugin, see Operations.

Attach a workload to a network

A workload chooses its network when you create it. You can’t move a workload to a different network later. To attach a workload with datumctl, pass --network when you create it:
Replace the following:
  • WORKLOAD_NAME: a name for your workload.
  • IMAGE: the full image reference, including the registry host.
  • LOCATION: one or more locations, separated by commas.
  • NETWORK_NAME: the name of the network, such as backend.
If you omit --network, the command attaches the workload to the default network. For more information, see The default network. To attach a workload in a manifest, set network.name in the workload’s only entry under spec.template.spec.networkInterfaces. The following workload runs in Dallas and Ashburn on the backend network:
If the network doesn’t exist, the workload reports NetworkNotFound and no Instances start. If you don’t have permission to use the network, Datum rejects the workload with permission to use the network was denied.

Keep addresses after scale-down

By default, an Instance keeps its address when Datum replaces it during a rollout or restart, but Datum releases the address when it removes the Instance, such as when you scale down or delete the workload. To keep addresses reserved even after scale-down, set reclaimPolicy: Retain on the network interface when you create the workload:
Retained addresses stay reserved even when you scale down. You can’t change reclaimPolicy after you create the workload. To see and release the interfaces that hold retained addresses after their Instance is gone, see Manage network interfaces.

Permissions

Networks use the following roles and permissions:

What’s next

Last modified on October 23, 2026