ContainerRuntimeConfig describes a customized Container Runtime configuration.
ContainerRuntimeConfig describes a customized Container Runtime configuration.
object
spec
Property | Type | Description |
---|---|---|
|
|
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 info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
|
|
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 info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
|
Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata |
|
|
|
ContainerRuntimeConfigSpec defines the desired state of ContainerRuntimeConfig |
|
|
ContainerRuntimeConfigStatus defines the observed state of a ContainerRuntimeConfig |
ContainerRuntimeConfigSpec defines the desired state of ContainerRuntimeConfig
object
containerRuntimeConfig
Property | Type | Description |
---|---|---|
|
|
ContainerRuntimeConfiguration defines the tuneables of the container runtime. It’s important to note that, since the fields of the ContainerRuntimeConfiguration are directly read by the upstream kubernetes golang client, the validation of those values is handled directly by that golang client which is outside of the controller for ContainerRuntimeConfiguration. Please ensure the valid values are used for those fields as invalid values may render cluster nodes unusable. |
|
|
A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. |
ContainerRuntimeConfiguration defines the tuneables of the container runtime. It’s important to note that, since the fields of the ContainerRuntimeConfiguration are directly read by the upstream kubernetes golang client, the validation of those values is handled directly by that golang client which is outside of the controller for ContainerRuntimeConfiguration. Please ensure the valid values are used for those fields as invalid values may render cluster nodes unusable.
object
Property | Type | Description |
---|---|---|
|
|
logLevel specifies the verbosity of the logs based on the level it is set to. Options are fatal, panic, error, warn, info, and debug. |
|
|
logSizeMax specifies the Maximum size allowed for the container log file. Negative numbers indicate that no size limit is imposed. If it is positive, it must be >= 8192 to match/exceed conmon’s read buffer. |
|
|
overlaySize specifies the maximum size of a container image. This flag can be used to set quota on the size of container images. |
|
|
pidsLimit specifies the maximum number of processes allowed in a container |
A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
object
Property | Type | Description |
---|---|---|
|
|
matchExpressions is a list of label selector requirements. The requirements are ANDed. |
|
|
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. |
|
|
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. |
matchExpressions is a list of label selector requirements. The requirements are ANDed.
array
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
object
key
operator
Property | Type | Description |
---|---|---|
|
|
key is the label key that the selector applies to. |
|
|
operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. |
|
|
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. |
ContainerRuntimeConfigStatus defines the observed state of a ContainerRuntimeConfig
object
Property | Type | Description |
---|---|---|
|
|
conditions represents the latest available observations of current state. |
|
|
ContainerRuntimeConfigCondition defines the state of the ContainerRuntimeConfig |
|
|
observedGeneration represents the generation observed by the controller. |
conditions represents the latest available observations of current state.
array
ContainerRuntimeConfigCondition defines the state of the ContainerRuntimeConfig
object
Property | Type | Description |
---|---|---|
|
`` |
lastTransitionTime is the time of the last update to the current status object. |
|
|
message provides additional information about the current condition. This is only to be consumed by humans. |
|
|
reason is the reason for the condition’s last transition. Reasons are PascalCase |
|
|
status of the condition, one of True, False, Unknown. |
|
|
type specifies the state of the operator’s reconciliation functionality. |
The following API endpoints are available:
/apis/machineconfiguration.openshift.io/v1/containerruntimeconfigs
DELETE
: delete collection of ContainerRuntimeConfig
GET
: list objects of kind ContainerRuntimeConfig
POST
: create a ContainerRuntimeConfig
/apis/machineconfiguration.openshift.io/v1/containerruntimeconfigs/{name}
DELETE
: delete a ContainerRuntimeConfig
GET
: read the specified ContainerRuntimeConfig
PATCH
: partially update the specified ContainerRuntimeConfig
PUT
: replace the specified ContainerRuntimeConfig
/apis/machineconfiguration.openshift.io/v1/containerruntimeconfigs/{name}/status
GET
: read status of the specified ContainerRuntimeConfig
PATCH
: partially update status of the specified ContainerRuntimeConfig
PUT
: replace status of the specified ContainerRuntimeConfig
Parameter | Type | Description |
---|---|---|
|
|
If 'true', then the output is pretty printed. |
DELETE
delete collection of ContainerRuntimeConfig
Parameter | Type | Description |
---|---|---|
|
|
allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
|
|
The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token r |