Skip to content

Commit 03d8194

Browse files
Merge pull request #286268 from msftadam/patch-18
Create get-started-with-cluster-registry.md
2 parents 6b231a9 + 82938c0 commit 03d8194

File tree

3 files changed

+61
-9
lines changed

3 files changed

+61
-9
lines changed

articles/operator-service-manager/TOC.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
items:
1616
- name: Onboard and deploy a Network Function
1717
href: best-practices-onboard-deploy.md
18-
- name: Roles and Interfaces
19-
href: roles-interfaces.md
20-
- name: Helm Package Requirements
21-
href: helm-requirements.md
22-
- name: Publisher Tenants, subscriptions, regions and preview management
23-
href: publisher-resource-preview-management.md
18+
- name: Roles and Interfaces
19+
href: roles-interfaces.md
20+
- name: Helm Package Requirements
21+
href: helm-requirements.md
22+
- name: Publisher Tenants, subscriptions, regions and preview management
23+
href: publisher-resource-preview-management.md
2424
- name: Azure Operator Service Manager CLI Extension
2525
expanded: false
2626
items:
@@ -40,8 +40,10 @@
4040
- name: Edge Registry and Private Link
4141
expanded: false
4242
items:
43+
- name: Get Started with Cluster Registry
44+
href: get-started-with-cluster-registry.md
4345
- name: Get Started with Private Link
44-
href: get-started-with-private-link.md
46+
href: get-started-with-private-link.md
4547
- name: Quickstarts
4648
expanded: false
4749
items:
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: Get started with Azure Operator Service Manager cluster registry
3+
description: Azure Operator Service Manager cluster registry provides a locally resilent edge registry service to host Nexus K8s container image artifacts.
4+
author: msftadam
5+
ms.author: adamdor
6+
ms.date: 09/06/2024
7+
ms.topic: get-started
8+
ms.service: azure-operator-service-manager
9+
---
10+
11+
# Get started with cluster registry
12+
* Original Author: Tobias Weisserth
13+
* Original Publish Date: July 26, 2024
14+
15+
## Overview
16+
Improve resiliency for cloud native network functions with Azure Operator Service Manager cluster registry. This feature requires the following minimum environment:
17+
* AOSM ARM API Version: 2023-09-01
18+
* AOSM CNF Arc for Kubernetes Extension Build Number: 1.0.2711-7
19+
20+
## Introduction
21+
Azure Operator Service Manager (AOSM) cluster registry (CR) enables a local copy of container images in the Nexus K8s cluster. When the containerized network function (CNF) is installed with cluster registry enabled, the container images are pulled from the remote AOSM artifact store and saved to a local registry. With cluster register, CNF access to container images survives loss of connectivity to the remote artifact store.
22+
23+
### Key use cases
24+
Cloud native network functions (CNF) need access to container images, not only during the initial deployment using AOSM artifact store, but also to keep the network function operational. Some of these scenarios include:
25+
* Pod restarts: Stopping and starting a pod can result in a cluster node pulling container images from the registry.
26+
* Kubernetes scheduler operations: During pod to node assignments, according to scheduler profile rules, if the new node does not have the container images locally cached, the node pulls container images from the registry.
27+
28+
In the above scenarios, if there's a temporary issue with accessing the AOSM artifact store, the cluster registry provides the necessary container images to prevent disruption to the running CNF. Also, the AOSM cluster registry feature decreases the number of image pull requests on AOSM artifact store since each Nexus K8s node pulls container images from the cluster registry instead of the AOSM artifact store.
29+
30+
## How cluster registry works
31+
AOSM cluster registry is enabled using the Network Function Operator Arc K8s extension. The following CLI shows how cluster registry is enabled on a Nexus K8s cluster.
32+
```
33+
az k8s-extension create --name networkfunction-operator --cluster-name <CLUSTER_NAME> --resource-group <RESOURCE_GROUP_NAME> --cluster-type connectedClusters --extension-type Microsoft.Azure.HybridNetwork --scope cluster --release-namespace azurehybridnetwork --config Microsoft.CustomLocation.ServiceAccount=azurehybridnetwork-networkfunctionoperator --config global.networkfunctionextension.enableClusterRegistry=true --config global.networkfunctionextension.clusterRegistry.storageSize=100Gi --version 1.0.2711-7 --auto-upgrade-minor-version false --release-train stable
34+
```
35+
When the cluster registry feature is enabled in the Network Function Operator Arc K8s extension, any container images deployed from AOSM artifact store are accessible locally in the Nexus K8s cluster. The user can choose the persistent storage size for the cluster registry.
36+
37+
> [!NOTE]
38+
> If the user doesn't provide any input, a default persistent volume of 100 GB is used.
39+
40+
## Frequently Asked Questions
41+
42+
### Can I use AOSM cluster registry with a CNF application previously deployed?
43+
If there's a CNF application already deployed without cluster registry, the container images are not available automatically. The cluster registry must be enabled before deploying the network function with AOSM.
44+
45+
### Which Nexus K8s storage class is used?
46+
AOSM cluster registry feature uses nexus-volume storage class to store the container images in the Nexus Kubernetes cluster. By default, a 100-GB persistent volume is created if the user doesn't specify the size of the cluster registry.
47+
48+
### Can I change the storage size after a deployment?
49+
Storage size can't be modified after the initial deployment. We recommend configuring the volume size by 3x to 4x of the starting size.

articles/operator-service-manager/index.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,10 @@ landingContent:
9898
linkLists:
9999
- linkListType: overview
100100
links:
101+
- text: Get Started with Cluster Registry
102+
url: get-started-with-cluster-registry.md
101103
- text: Get Started with Private Link
102-
url: get-started-with-private-link.md
103-
104+
url: get-started-with-private-link.md
104105
# Card
105106
- title: Additional Resources
106107
linkLists:

0 commit comments

Comments
 (0)