GTPGateway Custom Resource Definition
GTPGateway Custom Resource (CR) is used to deploy and configure the GTP Gateway component. The component distributes GTP-C requests to the pods of a Session Management Controller (SMC) cluster on internal HTTP/2 connections.
Configuration example
This is a sample GTPGateway CR that you can use to deploy the GTP Gateway component:
Configuration parameters
These are all parameters that you can use to configure the GTPGateway CR:
- GTPGatewayKind
- cennso.comGroup
- v1alpha1Version
- apiVersion:
- cennso.com/v1alpha1
- kind:
- GTPGateway
- listKind:
- GTPGatewayList
- plural:
- gtpgateways
- singular:
- gtpgateway
- shortNames:
- [gtpgw]
- 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"GTPGateway"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.specobjectGTPGatewaySpec defines the desired state of the GTPGateway Custom Resource.mccstringrequiredMobile Country CodemncstringrequiredMobile Network CodenetworkingobjectrequiredNetwork used in GTP GatewayaffinityobjectKubernetes affinity for the podsconfigOverrideobjectOverrides the static GTP Gateway configuration. Modifications restart the workload.cpxobjectCPX settings for the gatewayenvobject[]List of environment variables to set in the containergatewayTypestringAlpha Gateway protocol type, valid options are
gtpfandcpxAllowed values:"gtpf""cpx"gtpfobjectConnection details for the gtpf endpointimagestringimageoverrides 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-typeloadRegulationobjectConfiguration for load regulation in GTP/PFCP interfaces. If omitted, the default settings apply.logLevelstringLogging 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)networkInitImagestringOverrides the default image used by the operator in the networkInit initContainer.networkInitImagePullPolicystringSpecifies the Kubernetes image pull policy of the
networkInitImage. If not specified, the default valueIfNotPresentis used.Allowed values:"IfNotPresent""Always""Never"networkInitResourcesobjectResources assigned to the networkInit initContainer, to both
requestsandlimits. Sample value:{"cpu":1, memory: "1Gi"}nodeSelectorobjectKubernetes 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.resourcesobjectResources 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.