Skip to content

Commit 6c683ac

Browse files
committed
Add CSN tag based configuration
1 parent 6cb7685 commit 6c683ac

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

articles/operator-nexus/concepts-storage-multiple-appliances.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Azure Operator Nexus provides a shared filesystem storage solution for container
8282

8383
You can create the shared storage service on either storage appliance when the CSN is created. All nexus-shared PVCs using that shared storage service consume storage from the storage appliance backing the shared service. You can't place a specific nexus-shared PVC on a specific storage appliance. If no storage appliance configuration is provided at CSN creation time, or if the configuration doesn't match a storage appliance, the shared storage service uses the first storage appliance.
8484

85-
See [How to create shared storage on a specific storage appliance](howto-storage-multi-appliance-nfs.md) for instructions on creating the shared storage service on a specific storage appliance.
85+
See [Prerequisites for deploying tenant workloads](/quickstarts-tenant-workload-prerequisites.md#create-a-cloud-services-network) for instructions on creating the shared storage service on a specific storage appliance.
8686

8787
#### Nexus-shared limitations
8888

articles/operator-nexus/quickstarts-tenant-workload-prerequisites.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,15 @@ To create an Operator Nexus virtual machine (VM) or Operator Nexus Kubernetes cl
167167
While the cloud services network automatically enables access to essential platform endpoints, you need to add others, such as docker.io, if your application requires them. Configuring the cloud services network proxy is a crucial step in ensuring a successful connection to your desired endpoints. To achieve this, you can add the egress endpoints to the cloud services network during the initial creation or as an update, using the `--additional-egress-endpoints` parameter. While wildcards for the URL endpoints might seem convenient, it isn't recommended for security reasons. For example, if you want to configure the proxy to allow image pull from any repository hosted off docker.io, you can specify `.docker.io` as an endpoint.
168168

169169
The egress endpoints must comply with the domain name structures and hostname specifications outlined in RFC 1034, RFC 1035, and RFC 1123. Valid domain names include alphanumeric characters, hyphens (not at the start or end), and can have subdomains separated by dots. The endpoints can be a single FQDN, or a subdomain (domain prefix with a `.`). Here are a few examples to demonstrate compliant naming conventions for domain and hostnames.
170-
170+
171171
- `contoso.com`: The base domain, serving as a second-level domain under the .com top-level domain.
172172
- `sales.contoso.com`: A subdomain of contoso.com, serving as a third-level domain under the .com top-level domain.
173173
- `web-server-1.contoso.com`: A hostname for a specific web server, using hyphens to separate the words and the numeral.
174174
- `api.v1.contoso.com`: Incorporates two subdomains (`v1` and `api`) above the base domain contoso.com.
175175
- `.api.contoso.com`: A wildcard for any subdomain under `api.contoso.com`, covering multiple third-level domains.
176176

177+
Deployments with multiple storage appliances support selecting the storage appliance to use to provide shared filesystem storage to containerized workloads. The CSN manages the shared storage service that enables shared filesystem storage. You can only select the storage appliance when you create the CSN. All subsequent attempts to change the configuration will have no effect. The storage appliance name must match the Azure Resource Manager name of a storage appliance managed by your Nexus cluster. If no storage appliance name is provided, or if the configuration does not match a storage appliance in the Nexus instance, Azure Operator Nexus defaults to using the first storage appliance.
178+
177179
### [Azure CLI](#tab/azure-cli)
178180

179181
```azurecli-interactive
@@ -183,6 +185,7 @@ The egress endpoints must comply with the domain name structures and hostname sp
183185
--extended-location name="<ClusterCustomLocationId >" type="CustomLocation" \
184186
--location "<ClusterAzureRegion>" \
185187
--additional-egress-endpoints "[{\"category\":\"<YourCategory >\",\"endpoints\":[{\"<domainName1 >\":\"< endpoint1 >\",\"port\":<portnumber1 >}]}]"
188+
--tags "storageApplianceName": "<YourStorageApplianceName>""
186189
```
187190

188191
### [Azure PowerShell](#tab/azure-powershell)
@@ -198,6 +201,7 @@ $additionalEgressEndpoint = New-AzNetworkCloudEgressEndpointObject `
198201
-Category "YourCategory" `
199202
-Endpoint $endpointList
200203
$endpointEgressList+= $additionalEgressEndpoint
204+
$tags @{"storageApplianceName"="<YourStorageApplianceName>"}
201205
202206
New-AzNetworkCloudServicesNetwork -CloudServicesNetworkName "<YourCloudServicesNetworkName>" `
203207
-ResourceGroupName "<YourResourceGroupName>" `
@@ -206,7 +210,8 @@ New-AzNetworkCloudServicesNetwork -CloudServicesNetworkName "<YourCloudServicesN
206210
-ExtendedLocationType "CustomLocation" `
207211
-Location "<ClusterAzureRegion>" `
208212
-AdditionalEgressEndpoint $endpointEgressList `
209-
-EnableDefaultEgressEndpoint "False"
213+
-EnableDefaultEgressEndpoint "False" `
214+
-Tag $tags
210215
```
211216

212217
---

0 commit comments

Comments
 (0)