You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMPROVING RESILIENCY FOR CLOUD NATIVE NETWORK FUNCTIONS WITH AZURE OPERATOR SERVICE MANAGER CLUSTER REGISTRY
@@ -20,32 +20,35 @@ Applies to:
20
20
* AOSM ARM API Version: 2023-09-01
21
21
* AOSM CNF Arc for Kubernetes Extension Build Number: 1.0.2711-7
22
22
23
-
## Overview
24
-
Azure Operator Service Manager (AOSM) cluster registry enables a local copy of container images in the Nexus K8s cluster. When the containerized network function (CNF) is installed using AOSM with the cluster registry feature turned on, the container images are pulled from the AOSM Artifact Store (supported by Azure Container Registry) and saved locally in the cluster registry. This will ensure that the CNF running in the Nexus K8s cluster can access container images even if there are connectivity issues with the AOSM artifact store.
23
+
## Introduction
24
+
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 regitsry. With cluster register, CNF access to container images survives loss of connectivity to the remove artifact store.
25
25
26
26
### Key use cases
27
-
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:
28
-
* Pod restarts: pod restarts executed by stopping a pod and starting a pod might also result in the new pod being instantiated on a cluster node without the required images and resulting in container image pulls from that node.
29
-
* Kubernetes scheduler operations: Kubernetes scheduler assigns pods to nodes and according to the scheduler profile, Kubernetes might re-assign pods to nodes to meet the profile criteria. This may result in pods being assigned by Kubernetes to nodes without required container images cached locally on the node.
27
+
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:
28
+
* Pod restarts: Stopping and starting a pod can result in a cluster node pulling container images from the registry.
29
+
* Kubernetes scheduler operations: When reassigning pods to new nodes, according to scheduler profile rules, if the new node does not have the container images locally cached, the node will pull container images from the registry.
30
30
31
-
In the above scenarios, if there is a temporary issue with accessing the AOSM artifact store, the cluster registry will provide the necessary container images to prevent disruption to the running CNF. Also, the AOSM cluster registry feature will decrease the number of images pull requests on AOSM artifact store since each Nexus K8s node will pull container images from the cluster registry instead of the AOSM artifact store.
31
+
In the above scenarios, if there is 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.
32
32
33
33
## How cluster registry works
34
-
AOSM cluster registry is enabled using the Network Function Operator Arc K8s extension. The CLI example below shows how cluster registry is enabled on a Nexus K8s cluster.
34
+
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.
When the cluster registry feature is enabled in the Network Function Operator Arc K8s extension, any container images deployed from AOSM artifact store will be accessible locally in the Nexus K8s cluster. The user can choose the persistent storage size for the cluster registry. If the user does not provide any input, a default persistent volume of 100GB will be set up to store the container images.
38
+
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.
39
+
40
+
> [!NOTE]
41
+
> If the user does not provide any input, a default persistent volume of 100 GB is used.
39
42
40
43
## Frequently Asked Questions
41
44
42
45
### CAN I USE AOSM CLUSTER REGISTRY WITH A CNF APPLICATION PREVIOUSLY INSTALLED USING AOSM APIS?
43
-
If there is a CNF application already installed using AOSM on a Nexus Kubernetes cluster, and the AOSM cluster registry feature is turned on, the cluster registry will not have the container images automatically. To use this feature, the cluster registry should be turned on before deploying the network function with AOSM.
46
+
If there is a CNF application already installed using AOSM on a Nexus Kubernetes cluster, and the AOSM cluster registry feature is turned on, the cluster registry doest not have the container images automatically. To use this feature, the cluster registry should be turned on before deploying the network function with AOSM.
44
47
45
48
### WHICH NEXUS K8S STORAGE CLASS IS USED WITH AOSM CLUSTER REGISTRY?
46
-
AOSM cluster registry feature uses nexus-volume storage class to store the container images in the Nexus Kubernetes cluster. By default, a 100GB persistent volume will be created if the user does not specify the size of the cluster registry.
49
+
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 does not specify the size of the cluster registry.
47
50
48
51
### CAN I CHANGE THE STORAGE SIZE OF THE AOSM CLUSTER REGISTRY AFTER THE INITIAL
49
52
DEPLOYMENT?
50
-
It is important to plan for the persistent volume storage size before you install the cluster registry on the Nexus K8s cluster. It cannot be modified after the initial deployment. We recommend to configure the size of the volume by 3x to 4x of the starting installation size of the network function that goes on that cluster.
53
+
It is important to plan for the persistent volume storage size before you install the cluster registry on the Nexus K8s cluster. It cannot be modified after the initial deployment. We recommend configuring the size of the volume by 3x to 4x of the starting installation size of the network function that goes on that cluster.
0 commit comments