Navigation Menu

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

Can't create k8s target in a non-default worker pool via New-OctopusKubernetesTarget command #6308

Open
5 tasks done
KennethBates opened this issue Apr 15, 2020 · 0 comments
Labels
area/core feature/kubernetes kind/bug This issue represents a verified problem we are committed to solving

Comments

@KennethBates
Copy link

Prerequisites

  • I have verified the problem exists in the latest version
  • I have searched open and closed issues to make sure it isn't already reported
  • I have written a descriptive issue title
  • I have linked the original source of this report
  • I have tagged the issue appropriately (area/*, kind/bug, tag/regression?)

The bug

The command New-OctopusKubernetesTarget has an argument -octopusDefaultWorkerPoolIdOrName but when specifying a worker pool Id or Name here, the created k8s target isn't registered to use that worker pool. It only registers to use the default pool.

What I expected to happen

The worker pool specified in the -octopusDefaultWorkerPoolIdOrName argument should register the k8s target to use that pool.

Affected versions

Reproduced and reported in 2020.1.0

Workarounds

You have to update the target to use the non-default pool after the script is run.

Links

Reported here: https://help.octopus.com/t/powershell-command-for-adding-dynamic-kube-target-ignores-worker-pool-argument/24955

@KennethBates KennethBates added the kind/bug This issue represents a verified problem we are committed to solving label Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core feature/kubernetes kind/bug This issue represents a verified problem we are committed to solving
Projects
None yet
Development

No branches or pull requests

2 participants