Skip to content

Comments

test: add machines tests#1435

Open
matthchr wants to merge 1 commit intomainfrom
matthchr/machine-tests
Open

test: add machines tests#1435
matthchr wants to merge 1 commit intomainfrom
matthchr/machine-tests

Conversation

@matthchr
Copy link
Member

Description
Add machines tests.

This replaces #1212

How was this change tested?

  • E2E: <TODO, link>

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

Release Note

NONE

@matthchr matthchr force-pushed the matthchr/byo-machine-e2e-base branch from 9fccbaf to 3d55777 Compare February 17, 2026 20:12
@matthchr matthchr changed the title add machines tests test: add machines tests Feb 17, 2026
@matthchr matthchr force-pushed the matthchr/machine-tests branch from 04513e4 to d397f58 Compare February 17, 2026 20:41
@matthchr matthchr force-pushed the matthchr/byo-machine-e2e-base branch from 3d55777 to 636cd61 Compare February 17, 2026 20:48
tallaxes
tallaxes previously approved these changes Feb 17, 2026
Copy link
Collaborator

@tallaxes tallaxes left a comment

Choose a reason for hiding this comment

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

LGTM, minor suggestions

interfacesClient *armnetwork.InterfacesClient
managedClusterClient *containerservice.ManagedClustersClient
agentpoolsClient *containerservice.AgentPoolsClient
agentPoolClient *containerservice.AgentPoolsClient
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are you driving towards singular in client var names? We are not using singular/plural consistently; all types are plural. Our var names are a mix of singular (vm,vnet,subnet,managedCluster - and now agentPool) and plural (interfaces,machines)

Copy link
Member Author

Choose a reason for hiding this comment

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

I was making it more consistent with what we had, but I'm happy to go the other way too, I don't really care too much. Mostly I noticed this because the casing was wrong and I was fixing that.

I could fix either direction further in a separate PR?

Comment on lines 192 to 193
--enable-oidc-issuer --enable-workload-identity --nodepool-taints "CriticalAddonsOnly=true:NoSchedule" \
$(if $(AZURE_VM_SIZE),--node-vm-size $(AZURE_VM_SIZE)) \
Copy link
Collaborator

Choose a reason for hiding this comment

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

I presume we have toleration somewhere that still makes Karpenter itself run fine? (TBH, the combination of initial tainting + tainting and untaining in makefile targets is starting to be a little confusing. If we have these initial taints, and Karpenter deployment tolerates them, maybe we don't need to taint/untaint dynamically anymore?)

Copy link
Member Author

Choose a reason for hiding this comment

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

This is a good callout... also only in this branch though, will investigate further (tests work but I am not sure how now that you point it out)

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes we tolerate this taint:

      tolerations:
      - key: CriticalAddonsOnly
        operator: Exists

@matthchr matthchr force-pushed the matthchr/byo-machine-e2e-base branch from 636cd61 to f9c953e Compare February 18, 2026 20:25
Base automatically changed from matthchr/byo-machine-e2e-base to main February 18, 2026 21:05
@matthchr matthchr dismissed tallaxes’s stale review February 18, 2026 21:05

The base branch was changed.

@matthchr matthchr force-pushed the matthchr/machine-tests branch from d397f58 to 041ae06 Compare February 20, 2026 21:26
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.

3 participants