ProviderConfig Custom Resource Definition
ProviderConfig Custom Resource (CR) is used to pass configuration parameters to NetCap Provider. Currently, only a single ProviderConfig object with the name default is allowed.
Using the ProviderConfig CR, you can configure these options:
- Limits on the number of interface captures per Core Cluster
- Parameters for the NATS connection
You can change the configuration dynamically at runtime. By default, the ProviderConfig resource is not created.
Configuration example
Limits on the number of interface captures
By default, there is no limit on the number of interface captures per Core Cluster. However, if you set a limit and it is exceeded, the new resource is marked as failed until other resources are completed. After that, the failed resources are retried in the order they were created.
See the configuration example to set a limit on the number of interface captures per Core Cluster:
Parameters for the NATS connection
See the configuration example on setting your own NATS deployment for NetCap Provider:
Configuration parameters
These are all parameters used in the ProviderConfig CR definition:
- ProviderConfigKind
- netcap.cennso.comGroup
- v1alpha1Version
- apiVersion:
- netcap.cennso.com/v1alpha1
- kind:
- ProviderConfig
- listKind:
- ProviderConfigList
- plural:
- providerconfigs
- singular:
- providerconfig
- 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"ProviderConfig"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.specobjectrequiredA ProviderConfigSpec defines the desired state of a ProviderConfig.limitsobjectnatsobjectCredentials required to authenticate to this provider.
statusobjectA ProviderConfigStatus reflects the observed state of a ProviderConfig.conditionsobject[]Conditions of the resource.x-kubernetes-list-map-keysx-kubernetes-list-typeusersintegerFormatint64Users of this provider configuration.