Skip to content

Commit

Permalink
vcore: reduce template specs number for lokistack (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
elenagerman authored Sep 30, 2024
1 parent cec249c commit 58f7adb
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,13 +253,11 @@ func CreateLokiStackInstance(ctx SpecContext) {
}

template := lokiv1.LokiTemplateSpec{
Compactor: &lokiComponent,
Distributor: &lokiComponent,
Querier: &lokiComponent,
QueryFrontend: &lokiComponent,
Gateway: &lokiComponent,
IndexGateway: &lokiComponent,
Ruler: &lokiComponent,
}

lokiStackObj, err = lokiStackObj.
Expand All @@ -279,8 +277,8 @@ func CreateLokiStackInstance(ctx SpecContext) {
Expect(err).ToNot(HaveOccurred(),
fmt.Sprintf("failed to create lokiStack instance %s in namespace %s due to %v",
vcoreparams.LokiStackName, vcoreparams.CLONamespace, err))
Expect(lokiStackObj.IsReady(90*time.Minute)).To(Equal(true),
fmt.Sprintf("lokiStack instance %s in namespace %s failed to reach Ready state after 90 mins",
Expect(lokiStackObj.IsReady(5*time.Minute)).To(Equal(true),
fmt.Sprintf("lokiStack instance %s in namespace %s failed to reach Ready state after 5 mins",
vcoreparams.LokiStackName, vcoreparams.CLONamespace))

time.Sleep(3 * time.Minute)
Expand Down

0 comments on commit 58f7adb

Please sign in to comment.