For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

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:

yaml

Parameters for the NATS connection

See the configuration example on setting your own NATS deployment for NetCap Provider:

yaml

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]
Schema
  • 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.
  • metadataobjectrequired
    Standard object metadata. More information: ObjectMetaOpens in a new tab.
  • specobjectrequired
    A ProviderConfigSpec defines the desired state of a ProviderConfig.
    • limitsobject
    • natsobject
      Credentials required to authenticate to this provider.
  • statusobject
    A ProviderConfigStatus reflects the observed state of a ProviderConfig.
    • conditionsobject[]
      Conditions of the resource.
      x-kubernetes-list-map-keysx-kubernetes-list-type
    • usersintegerFormatint64
      Users of this provider configuration.