CHFGateway Custom Resource Definition
CHFGateway Custom Resource (CR) is used to deploy the Charging Function Gateway component. The component translates a converged charging API to and from Diameter Gy and forwards the charging information to an offline-only charging data function (CDF).
Configuration example
This is a sample CHFGateway CR that you can use to deploy the Charging Function Gateway component:
Configuration parameters
These are all parameters that you can use to configure the CHFGateway CR:
- CHFGatewayKind
- cennso.comGroup
- v1alpha1Version
- apiVersion:
- cennso.com/v1alpha1
- kind:
- CHFGateway
- listKind:
- CHFGatewayList
- plural:
- chfgateways
- singular:
- chfgateway
- shortNames:
- [chfgw]
- 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"CHFGateway"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.specobjectnetworkingobjectrequiredNetwork interfaces configuration for CCN GatewayadditionalNetworkConfigsstring[]Additional configuration commands to run after the generated network init scriptaffinityobjectKubernetes affinity for the podsconfigOverrideobjectOverrides the static CCN Gateway configuration. Modifications restart the workload.envobject[]List of 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-typelogLevelstringLogging 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)networkInitImagestringnetworkInitImageoverrides the default image used by the operator in the networkInit initContainer.networkInitImagePullPolicystringnetworkInitImagePullPolicyspecifies the Kubernetes image pull policy of thenetworkInitImage. 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.