Skip to content
Draft
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
5 changes: 3 additions & 2 deletions hack/deployer/runner/eks.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ metadata:
{{- end }}
nodeGroups:
- name: ng-1
amiFamily: AmazonLinux2023
amiFamily: Bottlerocket
ami: ami-0f3220830bd022670
instanceType: {{.MachineType}}
desiredCapacity: {{.NodeCount}}
ami: {{.NodeAMI}}
iam:
instanceProfileARN: {{.InstanceProfileARN}}
instanceRoleARN: {{.InstanceRoleARN}}
Expand Down Expand Up @@ -126,6 +126,7 @@ func (e *EKSDriver) Execute() error {
if err := os.WriteFile(createCfgFile, createCfg.Bytes(), 0600); err != nil {
return fmt.Errorf("while writing create cfg %w", err)
}
log.Printf("Cluster create cfg written to %s, contents: %s", createCfgFile, createCfg.String())
if err := e.newCmd(`eksctl create cluster -v 1 -f {{.CreateCfgFile}}`).Run(); err != nil {
return err
}
Expand Down
12 changes: 6 additions & 6 deletions test/e2e/cmd/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ import (
)

const (
jobTimeout = 900 * time.Minute // time to wait for the test job to finish
kubePollInterval = 10 * time.Second // Kube API polling interval
testRunLabel = "test-run" // name of the label applied to resources
logStreamLabel = "stream-logs" // name of the label enabling log streaming to e2e runner
testsLogFilePattern = "job-%s.json" // name of file to keep all test logs in JSON format
operatorReadyTimeout = 12 * time.Minute // time to wait for the operator pod to be ready
jobTimeout = 4320 * time.Minute // time to wait for the test job to finish
kubePollInterval = 10 * time.Second // Kube API polling interval
testRunLabel = "test-run" // name of the label applied to resources
logStreamLabel = "stream-logs" // name of the label enabling log streaming to e2e runner
testsLogFilePattern = "job-%s.json" // name of file to keep all test logs in JSON format
operatorReadyTimeout = 12 * time.Minute // time to wait for the operator pod to be ready

TestNameLabel = "test-name" // name of the label applied to resources during each test

Expand Down