Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSPL-2513: Multi-Architecture Support #1261

Open
wants to merge 89 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
89b98dd
changed to run nightly build pipeline only on sunday at 6 AM
vivekr-splunk Nov 28, 2023
11d92a4
testing graviton cluster creation and pipeline testing
vivekr-splunk Dec 6, 2023
20812f1
supporting multi stage build for different platform
vivekr-splunk Dec 11, 2023
8fc1550
Merge branch 'develop' into graviton-sok
vivekr-splunk Jan 16, 2024
a7638fa
adding more time for test
vivekr-splunk Jan 16, 2024
a41474e
Merge branch 'develop' into graviton-sok
vivekr-splunk Jan 22, 2024
0e46347
changing cpu type
vivekr-splunk Jan 23, 2024
f1bf0e3
Merge branch 'develop' into graviton-sok
vivekr-splunk Feb 20, 2024
0a9b88f
Merge branch 'develop' into graviton-sok
vivekr-splunk Feb 21, 2024
78fe2ed
graviton build and test
vivekr-splunk Feb 22, 2024
26204c9
graviton build and test
vivekr-splunk Feb 22, 2024
3892c1d
adding one command to build and push docker image
vivekr-splunk Feb 22, 2024
3346fb2
Remove push as docker buildx uses --push option already
akondur Feb 23, 2024
ab6c7b2
changes done to fix eks creation
vivekr-splunk Feb 23, 2024
3ce0350
adding one command to build and push docker image
vivekr-splunk Feb 23, 2024
5dcdbff
removed vulnerability scan
vivekr-splunk Feb 23, 2024
515b2ef
fixed an issue buildx
vivekr-splunk Feb 23, 2024
74b44e7
testing to add buildx for arm64
vivekr-splunk Feb 23, 2024
0821a93
adding macos14 as its arm64
vivekr-splunk Feb 23, 2024
2cef6d4
changing everything to macos-14
vivekr-splunk Feb 23, 2024
a071081
adding mac operator-sdk download
vivekr-splunk Feb 23, 2024
37ca514
changed back eks version 1.27
vivekr-splunk Feb 23, 2024
9ea1e42
splunk arm64 9.2.0 build
vivekr-splunk Feb 23, 2024
a828a25
changing build to be on ubuntu
vivekr-splunk Feb 23, 2024
6f43d94
awscli arm build
vivekr-splunk Feb 23, 2024
2e1d290
eksctl arm build
vivekr-splunk Feb 23, 2024
a0df39f
disable unit test for now
vivekr-splunk Feb 23, 2024
ba3f876
fixed an issue in script
vivekr-splunk Feb 23, 2024
a5d0ee0
fixed an issue in env
vivekr-splunk Feb 23, 2024
a67d4cb
adding int test for graviton
vivekr-splunk Feb 23, 2024
6ab9ac1
adding aws cli action
vivekr-splunk Feb 23, 2024
d78664d
changed workflow name
vivekr-splunk Feb 23, 2024
9f2258e
using awscli mac package
vivekr-splunk Feb 23, 2024
2364dc7
install docker
vivekr-splunk Feb 23, 2024
aadd6d6
install docker
vivekr-splunk Feb 23, 2024
c106afe
install docker using colma
vivekr-splunk Feb 23, 2024
027583e
install colima
vivekr-splunk Feb 23, 2024
2257d88
changes with static variables
vivekr-splunk Feb 23, 2024
2c37cec
few more changes
vivekr-splunk Feb 23, 2024
8b6983e
few more changes
vivekr-splunk Feb 23, 2024
d00a715
Make file formatting change
akondur Feb 23, 2024
6740df5
few more changes
vivekr-splunk Feb 23, 2024
7c94b0f
few more changes
vivekr-splunk Feb 23, 2024
c87831a
fixed an issue in splunk image
vivekr-splunk Feb 26, 2024
83602a4
graviton smoke test fixed
vivekr-splunk Feb 26, 2024
2ad2e22
graviton int test fixed
vivekr-splunk Feb 26, 2024
7be1896
commented kubectl top
vivekr-splunk Feb 27, 2024
71034c1
Change helm documentation
akondur Feb 28, 2024
b1a33d0
Merge branch 'develop' into graviton-sok
akondur Feb 28, 2024
38226cb
Merge branch 'develop' into graviton-sok
akondur Feb 29, 2024
7faec8e
adding debug messages to create cluster and deploy operator
vivekr-splunk Feb 29, 2024
1cca164
debug log for pod describe
vivekr-splunk Feb 29, 2024
af490f4
debug log for pod describe
vivekr-splunk Feb 29, 2024
d6b6331
debug log for pod describe
vivekr-splunk Mar 1, 2024
fa91970
Merge branch 'develop' into graviton-sok
akondur Mar 4, 2024
72ed57e
Merge branch 'develop' into graviton-sok
akondur Mar 7, 2024
d6f221c
changed to amazonlinux 2023
vivekr-splunk Mar 7, 2024
4fc5129
Fix docker buildx command to match smoke tests
akondur Mar 8, 2024
f0e84b5
Image is already pushed, avoid pulling locally
akondur Mar 8, 2024
4ff6249
Log the Splunk Enterprise image
akondur Mar 13, 2024
22f45d5
Modify command
akondur Mar 13, 2024
d20931c
Adding a command to dump a variable
akondur Mar 13, 2024
99affbd
for testing adding kubectl get pods yaml
vivekr-splunk Mar 13, 2024
d508bb4
Add a log to see image name, remove -o yaml from DumpGetPods
akondur Mar 14, 2024
406c098
adding multiarch support
vivekr-splunk Apr 11, 2024
9fe9533
removed platfor specification
vivekr-splunk Apr 11, 2024
8c226d0
build aws,ubi,ubuntu image
vivekr-splunk Apr 11, 2024
d1c88c4
adding ubuntu,ubi dockerfile
vivekr-splunk Apr 11, 2024
867fe72
changes to ubuntu image
vivekr-splunk Apr 11, 2024
3f54e8d
changes to ubuntu image
vivekr-splunk Apr 11, 2024
baea4d9
graviton support for ubuntu,ubi.aws
vivekr-splunk Apr 11, 2024
1de28ea
fixed names of workflow
vivekr-splunk Apr 11, 2024
b2171d3
fixed ubuntu dockerfile
vivekr-splunk Apr 11, 2024
3bb6213
fixed awslinux image build and test wf
vivekr-splunk Apr 11, 2024
3322289
comment krb5 for ubuntu
vivekr-splunk Apr 11, 2024
3e7dc7b
adding sudo to the command
vivekr-splunk Apr 11, 2024
eaf970a
comment install unattened-upgrades
vivekr-splunk Apr 11, 2024
b276c3a
comment install unattened-upgrades
vivekr-splunk Apr 11, 2024
cec373f
comment install sudo
vivekr-splunk Apr 11, 2024
fddab97
comment install sudo
vivekr-splunk Apr 11, 2024
4e124c1
change eks version to 1.29
vivekr-splunk Apr 11, 2024
5fc46cc
installing latest version eksctl
vivekr-splunk Apr 11, 2024
44def71
formatting change
vivekr-splunk Apr 12, 2024
85e075b
adding latest arm amazon linux 2023 build
vivekr-splunk Apr 22, 2024
c17c9c8
only run amazon linux 2023
vivekr-splunk Apr 23, 2024
40cc064
changed kustomize instllation way
vivekr-splunk Apr 23, 2024
48a30f2
fixed format
vivekr-splunk Apr 26, 2024
0d49328
fixed dockerfile
vivekr-splunk Apr 26, 2024
ebea58f
ubuntu arm64 support
vivekr-splunk May 1, 2024
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
Prev Previous commit
Next Next commit
commented kubectl top
  • Loading branch information
vivekr-splunk committed Feb 27, 2024
commit 7be1896c1456d5b3d8f60dd2a70f0fc96e90aafc
84 changes: 42 additions & 42 deletions test/testenv/verificationutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ func VerifyMonitoringConsoleReady(ctx context.Context, deployment *Deployment, m
}
testenvInstance.Log.Info("Waiting for Monitoring Console phase to be ready", "instance", monitoringConsole.ObjectMeta.Name, "Phase", monitoringConsole.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
return monitoringConsole.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(enterpriseApi.PhaseReady))

Expand All @@ -94,8 +94,8 @@ func StandaloneReady(ctx context.Context, deployment *Deployment, deploymentName
}
testenvInstance.Log.Info("Waiting for Standalone phase to be ready", "instance", standalone.ObjectMeta.Name, "Phase", standalone.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
return standalone.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(enterpriseApi.PhaseReady))

Expand All @@ -118,8 +118,8 @@ func SearchHeadClusterReady(ctx context.Context, deployment *Deployment, testenv
}
testenvInstance.Log.Info("Waiting for Search head cluster phase to be ready", "instance", shc.ObjectMeta.Name, "Phase", shc.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
return shc.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(enterpriseApi.PhaseReady))

Expand All @@ -130,8 +130,8 @@ func SearchHeadClusterReady(ctx context.Context, deployment *Deployment, testenv
}
testenvInstance.Log.Info("Waiting for Deployer phase to be ready", "instance", shc.ObjectMeta.Name, "Phase", shc.Status.DeployerPhase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
return shc.Status.DeployerPhase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(enterpriseApi.PhaseReady))

Expand All @@ -142,8 +142,8 @@ func SearchHeadClusterReady(ctx context.Context, deployment *Deployment, testenv
}
testenvInstance.Log.Info("Waiting for Search Head Cluster phase to be ready", "instance", shc.ObjectMeta.Name, "Phase", shc.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
DumpGetSplunkVersion(ctx, testenvInstance.GetName(), deployment, "-shc-")
return shc.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(enterpriseApi.PhaseReady))
Expand All @@ -167,8 +167,8 @@ func SingleSiteIndexersReady(ctx context.Context, deployment *Deployment, testen
}
testenvInstance.Log.Info("Waiting for indexer instance's phase to be ready", "instance", instanceName, "Phase", idc.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
return idc.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(enterpriseApi.PhaseReady))

Expand All @@ -192,8 +192,8 @@ func ClusterManagerReady(ctx context.Context, deployment *Deployment, testenvIns
}
testenvInstance.Log.Info("Waiting for cluster-manager phase to be ready", "instance", cm.ObjectMeta.Name, "Phase", cm.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
// Test ClusterManager Phase to see if its ready
return cm.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(enterpriseApi.PhaseReady))
Expand All @@ -219,8 +219,8 @@ func ClusterMasterReady(ctx context.Context, deployment *Deployment, testenvInst
}
testenvInstance.Log.Info("Waiting for cluster-master phase to be ready", "instance", cm.ObjectMeta.Name, "Phase", cm.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
// Test ClusterMaster Phase to see if its ready
return cm.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(enterpriseApi.PhaseReady))
Expand Down Expand Up @@ -249,8 +249,8 @@ func IndexersReady(ctx context.Context, deployment *Deployment, testenvInstance
}
testenvInstance.Log.Info("Waiting for indexer site instance phase to be ready", "instance", instanceName, "Phase", idc.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
return idc.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(enterpriseApi.PhaseReady))

Expand Down Expand Up @@ -340,8 +340,8 @@ func LicenseManagerReady(ctx context.Context, deployment *Deployment, testenvIns
testenvInstance.Log.Info("Waiting for License Manager instance status to be ready",
"instance", LicenseManager.ObjectMeta.Name, "Phase", LicenseManager.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()

return LicenseManager.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(enterpriseApi.PhaseReady))
Expand All @@ -366,8 +366,8 @@ func LicenseMasterReady(ctx context.Context, deployment *Deployment, testenvInst
testenvInstance.Log.Info("Waiting for License Master instance status to be ready",
"instance", LicenseMaster.ObjectMeta.Name, "Phase", LicenseMaster.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()

return LicenseMaster.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(enterpriseApi.PhaseReady))
Expand Down Expand Up @@ -482,8 +482,8 @@ func VerifySearchHeadClusterPhase(ctx context.Context, deployment *Deployment, t
}
testenvInstance.Log.Info("Waiting for Search Head Cluster Phase", "instance", shc.ObjectMeta.Name, "Expected", phase, "Phase", shc.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
return shc.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(enterpriseApi.PhaseScalingUp))
}
Expand All @@ -498,8 +498,8 @@ func VerifyIndexerClusterPhase(ctx context.Context, deployment *Deployment, test
}
testenvInstance.Log.Info("Waiting for Indexer Cluster Phase", "instance", idxc.ObjectMeta.Name, "Expected", phase, "Phase", idxc.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
return idxc.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(phase))
}
Expand All @@ -514,8 +514,8 @@ func VerifyStandalonePhase(ctx context.Context, deployment *Deployment, testenvI
}
testenvInstance.Log.Info("Waiting for Standalone status", "instance", standalone.ObjectMeta.Name, "Expected", phase, " Actual Phase", standalone.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
return standalone.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(phase))
}
Expand All @@ -530,8 +530,8 @@ func VerifyMonitoringConsolePhase(ctx context.Context, deployment *Deployment, t
}
testenvInstance.Log.Info("Waiting for Monitoring Console CR status", "instance", mc.ObjectMeta.Name, "Expected", phase, " Actual Phase", mc.Status.Phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
return mc.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(phase))
}
Expand Down Expand Up @@ -626,8 +626,8 @@ func VerifyCustomResourceVersionChanged(ctx context.Context, deployment *Deploym
}
testenvInstance.Log.Info("Waiting for ", kind, " CR status", "instance", name, "Not Expected", resourceVersion, " Actual Resource Version", newResourceVersion)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
return newResourceVersion
}, deployment.GetTimeout(), PollInterval).ShouldNot(gomega.Equal(resourceVersion))
}
Expand Down Expand Up @@ -669,8 +669,8 @@ func VerifyClusterManagerPhase(ctx context.Context, deployment *Deployment, test
}
testenvInstance.Log.Info("Waiting for cluster-manager Phase", "instance", cm.ObjectMeta.Name, "Phase", cm.Status.Phase, "Expected", phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
// Test ClusterManager Phase to see if its ready
return cm.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(phase))
Expand All @@ -686,8 +686,8 @@ func VerifyClusterMasterPhase(ctx context.Context, deployment *Deployment, teste
}
testenvInstance.Log.Info("Waiting for cluster-manager Phase", "instance", cm.ObjectMeta.Name, "Phase", cm.Status.Phase, "Expected", phase)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
// Test ClusterManager Phase to see if its ready
return cm.Status.Phase
}, deployment.GetTimeout(), PollInterval).Should(gomega.Equal(phase))
Expand Down Expand Up @@ -1051,8 +1051,8 @@ func VerifyClusterManagerBundlePush(ctx context.Context, deployment *Deployment,
return false
}
clusterPodNames := DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
for _, podName := range clusterPodNames {
if strings.Contains(podName, "-indexer-") {
if _, present := clusterManagerBundleStatus[podName]; present {
Expand All @@ -1077,16 +1077,16 @@ func VerifyDeployerBundlePush(ctx context.Context, deployment *Deployment, teste
if len(deployerAppPushStatus) == 0 {
testenvInstance.Log.Info("Bundle push not complete on all pods")
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
return false
}
for appName, val := range deployerAppPushStatus {
if val < replicas {
testenvInstance.Log.Info("Bundle push not complete on all pods for", "AppName", appName)
DumpGetPods(testenvInstance.GetName())
DumpGetTopPods(testenvInstance.GetName())
DumpGetTopNodes()
// DumpGetTopPods(testenvInstance.GetName())
// DumpGetTopNodes()
return false
}
}
Expand Down
Loading