Creating Mesh network segments by using the CLI
Before you configure your Red Hat® Service Interconnect® or Skupper gateways, you must create an IBM® Hybrid Cloud Mesh (Mesh) network segment to support the interconnections between the gateways.
About this task
For more information about network segments, see Using Red Hat Service Interconnect.
Procedure
cat << EOM | palmctl create networksegment -f -
name: <network-segment-name>
compatibility_set: <compatibility_set_value>
service_sync: <service-sync-value>
EOM
- The network segment name must be unique.
- For Mesh Essentials tenants, set
compatibility_settoRHSI. For Mesh Free tenants, setcompatibility_settoSKUPPER. -
service_syncis optional and can betrueorfalse, depending on how you want to configure connection policies for the network segment. The default isfalse, which means that policies can allow connections from specific namespaces to a service, or from all namespaces in the network segment to a service.If you set
service_synctotrue, connection policies allow connections from all namespaces in the network segment to a service. You cannot create policies that allow connections from specific namespaces.For more information about creating connection policies, see Connecting applications by using policies with the Mesh CLI.