UPG Custom Resource Definition
UPG Custom Resource (CR) deploys the User Plane Gateway (UPG) component. The component is used for User Plane traffic handling.
Configuration example
This is a sample UPG CR that you can use to deploy the UPG component:
Configuration parameters
These are all parameters that you can use to configure the UPG CR:
- UPGKind
- cennso.comGroup
- v1alpha1Version
- apiVersion:
- cennso.com/v1alpha1
- kind:
- UPG
- listKind:
- UPGList
- plural:
- upgs
- singular:
- upg
- categories:
- [cennso]
apiVersionstringrequiredConstant"cennso.com/v1alpha1"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More information: Kubernetes API conventionsOpens in a new tab.kindstringrequiredConstant"UPG"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More information: Kubernetes API conventionsOpens in a new tab.metadataobjectrequiredStandard object metadata. More information: ObjectMetaOpens in a new tab.specobjectDefines the desired state of the UPG Custom Resource.enableHugepagesAllocationbooleanrequiredSpecifies if the hugepages memory is used.heapsizestringrequiredMemory allocated to hold UPG session data and routing information. The more sessions UPG holds, the more memory assigned to heap is required. The value can be specified in MB (for example
512M), in GB (for example,2G), or as a number of bytes (for example,6442450944).networkingobjectrequiredNetwork configuration for UPGaffinityobjectKubernetes affinity for the podscdmCredentialsSecretNamestringCDM Credentials secret namednnsstring[]List of supported DNNs This field is deprecated; use the namespaced apn.upg.cennso.com CRs instead.envobject[]List of additional environment variables to set in the containerimagestringimageoverrides the default image used by the operator.imagePullPolicystringImagePullPolicy describes a policy for if/when to pull a container image. If not specified, the default value of "IfNotPresent" is used.Allowed values:"IfNotPresent""Always""Never"imagePullSecretsobject[]imagePullSecretsholds the proper container registry credentials.x-kubernetes-list-map-keysx-kubernetes-list-typelivenessProbeobjectLiveness probe configurationlogLevelstringLogging level configurationAllowed values:"trace""debug""info""warning""error"minReadySecondsintegerFormatint32Minimum number of seconds for which a newly created pod should be ready without any of its containers crashing for it to be considered available. Defaults to 0 (pod is considered available as soon as it is ready)netcapobjectNetCap configurationnodeSelectorobjectKubernetes nodeSelector for the podspodAnnotationsobjectAnnotations present on the podspodLabelsobjectLabels present on the podspodManagementPolicystringpodManagementPolicycontrols how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.Allowed values:"OrderedReady""Parallel"podSecurityContextobjectSecurity context present on the pods. If not specified, workloads use the maximum set of constrains specific to the particular application.readinessProbeobjectReadiness probe configurationresourcesobjectResources assigned to the workload container, to both
requestsandlimits. Sample value:{"cpu":1, memory: "1Gi"}revisionHistoryLimitintegerFormatint32revisionHistoryLimitis the maximum number of revisions to be maintained in the StatefulSet's revision history. The default value is 10.serviceAccountNamestringserviceAccountNamespecifies the name of the ServiceAccount under which this resource is running. If specified, it must have properly filled in theimagePullSecretsfield. Any leftover ServiceAccounts created by Cennso Core Operator will be deleted if they're present. If not specified, the ServiceAccount will be created automatically, referencing imagePullSecrets from thespec.imagePullSecretsfield of this Custom Resource.tolerationsobject[]Kubernetes tolerations set on the podsx-kubernetes-list-typetopologySpreadConstraintsobject[]TopologySpreadConstraints describes how a group of pods should spread across topology domains. The scheduler schedules pods to follow the constraints. All TopologySpreadConstraints are ANDed.x-kubernetes-list-map-keysx-kubernetes-list-typeupdatePolicystringAllowed values:"Automatic""Manual"updateStrategyobjectAn update strategy to replace the existing StatefulSet pods with new pods.x-kubernetes-validations
statusobjectconditionsobject[]Represents the observations of the current state of this Custom Resource.x-kubernetes-list-map-keysx-kubernetes-list-typeimagestringimageis the resolved container image of this Custom Resource.observedGenerationintegerFormatint64ObservedGeneration is the last observed generation of this object.