NetCaptureJob Custom Resource Definition
NetCaptureJob Custom Resource (CR) is used to define the traffic capture configuration, including source interface(s), start time and duration, destination(s) for storing captured traffic, optional filtering or tagging parameters.
Configuration example
This is a sample NetCaptureJob CR that you can use to capture PFCP traffic from the sgi interface and from IMSI 901406000520002 on the selected UPG instance:
Configuration parameters
These are all parameters that you can use to configure the NetCaptureJob CR:
- NetCaptureJobKind
- netcap.cennso.comGroup
- v1alpha1Version
- apiVersion:
- netcap.cennso.com/v1alpha1
- kind:
- NetCaptureJob
- listKind:
- NetCaptureJobList
- plural:
- netcapturejobs
- singular:
- netcapturejob
- categories:
- [crossplane]
apiVersionstringrequiredConstant"netcap.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"NetCaptureJob"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.specobjectNetCaptureJobSpec defines the desired state of NetCaptureJob.forProviderobjectrequireddeletionPolicystringDeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. This field is planned to be deprecated in favor of the ManagementPolicies field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223Opens in a new tab
Allowed values:"Orphan""Delete"managementPoliciesstring[]THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223Opens in a new tab and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.mdOpens in a new tab
providerConfigRefobjectProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.publishConnectionDetailsToobjectPublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.writeConnectionSecretToRefobjectWriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
statusobjectNetCaptureJobStatus defines the observed state of NetCaptureJob.atProviderobjectNetCaptureJobSpec defines status extending standard Crossplane conditionsconditionsobject[]Conditions of the resource.x-kubernetes-list-map-keysx-kubernetes-list-typeobservedGenerationintegerFormatint64ObservedGeneration is the latest metadata.generation which resulted in either a ready state, or stalled due to error it can not recover from without human intervention.