Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
test: use kured 1.7.0 to validate kamino (#4427)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis authored May 20, 2021
1 parent cfea4ac commit 4df5865
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 133 deletions.
11 changes: 7 additions & 4 deletions test/e2e/kubernetes/kubernetes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2886,8 +2886,11 @@ var _ = Describe("Azure Container Cluster using the Kubernetes Orchestrator", fu
It("should be able to install vmss node prototype", func() {
if cfg.RunVMSSNodePrototype {
if eng.ExpandedDefinition.Properties.HasVMSSAgentPool() {
By("Installing kured with node annotations configuration")
_, err := daemonset.CreateDaemonsetFromFileWithRetry(filepath.Join(WorkloadDir, "kured-annotations.yaml"), "kured", "kube-system", 5*time.Second, cfg.Timeout)
By("Installing kured 1.7.0 with node annotations configuration")
cmd := exec.Command("helm", "install", "--wait", "--generate-name", "--repo", "https://weaveworks.github.io/kured", "kured", "--version", "2.6.0", "--set", "configuration.annotateNodes=true", "--set", "configuration.period=1m")
util.PrintCommand(cmd)
out, err := cmd.CombinedOutput()
log.Printf("%s\n", out)
Expect(err).NotTo(HaveOccurred())
nodes, err := node.GetReadyWithRetry(1*time.Second, cfg.Timeout)
Expect(err).NotTo(HaveOccurred())
Expand Down Expand Up @@ -2987,8 +2990,8 @@ var _ = Describe("Azure Container Cluster using the Kubernetes Orchestrator", fu
timeToLargeContainerDaemonsetRunningBaseline = time.Since(start)
log.Printf("Took %s for large-container-daemonset pod to reach Running state on new node\n", timeToLargeContainerDaemonsetRunningBaseline)
}
cmd := exec.Command("helm", "status", "vmss-prototype")
out, err := cmd.CombinedOutput()
cmd = exec.Command("helm", "status", "vmss-prototype")
out, err = cmd.CombinedOutput()
if err == nil {
By("Found pre-existing 'vmss-prototype' helm release, deleting it...")
cmd := exec.Command("helm", "delete", "vmss-prototype")
Expand Down
129 changes: 0 additions & 129 deletions test/e2e/kubernetes/workloads/kured-annotations.yaml

This file was deleted.

0 comments on commit 4df5865

Please sign in to comment.