Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions operator/api/loki/v1/lokistack_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,16 @@ type LokiComponentSpec struct {
// +kubebuilder:validation:Optional
// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:podAntiAffinity",displayName="PodAntiAffinity"
PodAntiAffinity *corev1.PodAntiAffinity `json:"podAntiAffinity,omitempty"`

// Resources defines the resource requirements for the component.
// These values override the default resources configured by the operator
// based on the selected size. Users can use this to customize CPU/memory
// requests and limits for each component.
//
// +optional
// +kubebuilder:validation:Optional
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Component Resources"
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
}

// LokiTemplateSpec defines the template of all requirements to configure
Expand Down
5 changes: 5 additions & 0 deletions operator/api/loki/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading