Class ContainerRuntimeConfiguration

    • Constructor Detail

      • ContainerRuntimeConfiguration

        public ContainerRuntimeConfiguration()
        No args constructor for use in serialization
      • ContainerRuntimeConfiguration

        public ContainerRuntimeConfiguration​(String defaultRuntime,
                                             String logLevel,
                                             io.fabric8.kubernetes.api.model.Quantity logSizeMax,
                                             io.fabric8.kubernetes.api.model.Quantity overlaySize,
                                             Long pidsLimit)
    • Method Detail

      • getDefaultRuntime

        public String getDefaultRuntime()
        defaultRuntime is the name of the OCI runtime to be used as the default for containers. Allowed values are `runc` and `crun`. When set to `runc`, OpenShift will use runc to execute the container When set to `crun`, OpenShift will use crun to execute the container When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. Currently, the default is `crun`.
      • setDefaultRuntime

        public void setDefaultRuntime​(String defaultRuntime)
        defaultRuntime is the name of the OCI runtime to be used as the default for containers. Allowed values are `runc` and `crun`. When set to `runc`, OpenShift will use runc to execute the container When set to `crun`, OpenShift will use crun to execute the container When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. Currently, the default is `crun`.
      • getLogLevel

        public String getLogLevel()
        logLevel specifies the verbosity of the logs based on the level it is set to. Options are fatal, panic, error, warn, info, and debug.
      • setLogLevel

        public void setLogLevel​(String logLevel)
        logLevel specifies the verbosity of the logs based on the level it is set to. Options are fatal, panic, error, warn, info, and debug.
      • getLogSizeMax

        public io.fabric8.kubernetes.api.model.Quantity getLogSizeMax()
        ContainerRuntimeConfiguration defines the tuneables of the container runtime
      • setLogSizeMax

        public void setLogSizeMax​(io.fabric8.kubernetes.api.model.Quantity logSizeMax)
        ContainerRuntimeConfiguration defines the tuneables of the container runtime
      • getOverlaySize

        public io.fabric8.kubernetes.api.model.Quantity getOverlaySize()
        ContainerRuntimeConfiguration defines the tuneables of the container runtime
      • setOverlaySize

        public void setOverlaySize​(io.fabric8.kubernetes.api.model.Quantity overlaySize)
        ContainerRuntimeConfiguration defines the tuneables of the container runtime
      • getPidsLimit

        public Long getPidsLimit()
        pidsLimit specifies the maximum number of processes allowed in a container
      • setPidsLimit

        public void setPidsLimit​(Long pidsLimit)
        pidsLimit specifies the maximum number of processes allowed in a container
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)