Resource Field Selector Schema¶
Note
This is auto-generated documentation from a JSON schema that is under construction, this will improve over time.
Return to the root config schema
https://raw.githubusercontent.com/elastisys/compliantkubernetes-apps/v0.40.1/config/schemas/config.yaml#/$defs/io.k8s.api.core.v1.ResourceFieldSelector
ResourceFieldSelector represents container resources (cpu, memory) and their output format.
Imported from Kubernetes project
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | config/schemas/config.yaml* |
TYPE:
object
(Resource Field Selector)
PROPERTIES:
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
containerName | string |
Optional | cannot be null | Compliant Kubernetes Apps Config |
divisor | Not specified | Optional | cannot be null | Compliant Kubernetes Apps Config |
resource | string |
Optional | cannot be null | Compliant Kubernetes Apps Config |
containerName¶
Container name, required for volumes, optional for env vars
containerName
-
is optional
-
Type:
string
(Container Name) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
string
(Container Name)
divisor¶
Specifies the output format of the exposed resources, defaults to 1
.
divisor
-
is optional
-
Type: unknown (Divisor)
-
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
unknown (Divisor)
resource¶
Required, resource to select.
resource
-
is optional
-
Type:
string
(Resource) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
string
(Resource)
Return to the root config schema
Generated Thu Nov 14 16:18:57 UTC 2024 from elastisys/compliantkubernetes-apps@v0.40.1