Class LoggingDestination

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<LoggingDestinationBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class LoggingDestination
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<LoggingDestinationBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    LoggingDestination describes a destination for log messages.
    See Also:
    Serialized Form
    • Method Detail

      • getType

        public String getType()
        type is the type of destination for logs. It must be one of the following:


        * Container


        The ingress operator configures the sidecar container named "logs" on the ingress controller pod and configures the ingress controller to write logs to the sidecar. The logs are then available as container logs. The expectation is that the administrator configures a custom logging solution that reads logs from this sidecar. Note that using container logs means that logs may be dropped if the rate of logs exceeds the container runtime's or the custom logging solution's capacity.


        * Syslog


        Logs are sent to a syslog endpoint. The administrator must specify an endpoint that can receive syslog messages. The expectation is that the administrator has configured a custom syslog instance.

      • setType

        public void setType​(String type)
        type is the type of destination for logs. It must be one of the following:


        * Container


        The ingress operator configures the sidecar container named "logs" on the ingress controller pod and configures the ingress controller to write logs to the sidecar. The logs are then available as container logs. The expectation is that the administrator configures a custom logging solution that reads logs from this sidecar. Note that using container logs means that logs may be dropped if the rate of logs exceeds the container runtime's or the custom logging solution's capacity.


        * Syslog


        Logs are sent to a syslog endpoint. The administrator must specify an endpoint that can receive syslog messages. The expectation is that the administrator has configured a custom syslog instance.

      • getAdditionalProperties

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

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

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