github.com/caos/orbos@v1.5.14-0.20221103111702-e6cd0cea7ad4/internal/operator/boom/api/v1beta2/logcollection.go (about)

     1  package v1beta2
     2  
     3  import (
     4  	"github.com/caos/orbos/internal/operator/boom/api/latest/storage"
     5  	"github.com/caos/orbos/pkg/kubernetes/k8s"
     6  )
     7  
     8  type LogCollection struct {
     9  	//Flag if tool should be deployed
    10  	//@default: false
    11  	Deploy bool `json:"deploy" yaml:"deploy"`
    12  	//Spec to define how the persistence should be handled
    13  	//@deprecated Use Fluentd.PVC instead
    14  	FluentdPVC *storage.Spec `json:"fluentdStorage,omitempty" yaml:"fluentdStorage,omitempty"`
    15  	//NodeSelector for deployment
    16  	NodeSelector map[string]string `json:"nodeSelector,omitempty" yaml:"nodeSelector,omitempty"`
    17  	//Tolerations to run fluentbit on nodes
    18  	Tolerations k8s.Tolerations `json:"tolerations,omitempty" yaml:"tolerations,omitempty"`
    19  	//Resource requirements
    20  	Resources *k8s.Resources `json:"resources,omitempty" yaml:"resources,omitempty"`
    21  }