Skip to content

Fix Windows multiline test yamls#1686

Open
zanejohnson-azure wants to merge 1 commit into
ci_prodfrom
zanejohnson-azure/fix-multiline-win-tests
Open

Fix Windows multiline test yamls#1686
zanejohnson-azure wants to merge 1 commit into
ci_prodfrom
zanejohnson-azure/fix-multiline-win-tests

Conversation

@zanejohnson-azure
Copy link
Copy Markdown
Contributor

  • Bump powershell base image from lts-nanoserver-1809 to lts-nanoserver-ltsc2022 to match the Windows nodepool OS on AKS test clusters (1809 nodes are no longer common).
  • Drop hard-coded kubernetes.io/os and kubernetes.io/arch nodeSelector; AKS already places Windows pods correctly via image OS metadata, and the explicit selector blocks scheduling on clusters whose node labels differ.

Verified by deploying these jobs to zane-ama-logs-helm-test (ltsc2022 nodepool) and confirming logs flow through ContainerLogV2.

- Bump powershell base image from lts-nanoserver-1809 to lts-nanoserver-ltsc2022 to match the Windows nodepool OS on AKS test clusters (1809 nodes are no longer common).
- Drop hard-coded kubernetes.io/os and kubernetes.io/arch nodeSelector; AKS already places Windows pods correctly via image OS metadata, and the explicit selector blocks scheduling on clusters whose node labels differ.

Verified by deploying these jobs to zane-ama-logs-helm-test (ltsc2022 nodepool) and confirming logs flow through ContainerLogV2.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@zanejohnson-azure zanejohnson-azure requested a review from a team as a code owner May 14, 2026 22:30
@zanejohnson-azure
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@zanejohnson-azure zanejohnson-azure enabled auto-merge (squash) May 14, 2026 22:32
- name: java-win-scripts-volume
configMap:
name: java-win-test-scripts
nodeSelector:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i thought all aks windows nodes had these labels. is that not right?

Copy link
Copy Markdown
Contributor Author

@zanejohnson-azure zanejohnson-azure May 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this nodeSelector appeared twice in the yaml, remove one of the two @rashmichandrashekar

  nodeSelector:
    kubernetes.io/os: windows
    kubernetes.io/arch: amd64
  volumes:
  - name: dotnet-win-scripts-volume
    configMap:
      name: dotnet-win-test-scripts
  nodeSelector:
    kubernetes.io/os: windows
    kubernetes.io/arch: amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants