Skip to content

jesse/blocked clusters#1005

Open
jessejlt wants to merge 8 commits intomainfrom
jesse/blocked-clusters
Open

jesse/blocked clusters#1005
jessejlt wants to merge 8 commits intomainfrom
jesse/blocked-clusters

Conversation

@jessejlt
Copy link
Copy Markdown
Member

  • Improve blocked cluster federation handling
  • Regenerate ADXCluster CRD

@jessejlt jessejlt marked this pull request as ready for review November 13, 2025 19:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a blocked cluster federation feature that allows excluding specific partition clusters from federation macros. This can be configured via static lists or dynamic Kusto functions.

Key changes:

  • Added BlockedClusters configuration to ADXCluster CRD with support for static lists and Kusto functions
  • Implemented endpoint normalization and filtering logic to exclude blocked clusters from federation
  • Enhanced error handling in Kusto script execution to continue processing after failures

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
operator/manifests/crds/adxclusters_crd.yaml Added CRD schema for blockedClusters configuration with static list and kustoFunction options
kustomize/bases/adxclusters_crd.yaml Added same CRD schema for blockedClusters (duplicate for kustomize deployment)
api/v1/adxcluster_types.go Defined Go types for BlockedClusters spec with validation patterns
api/v1/zz_generated.deepcopy.go Generated DeepCopy methods for new BlockedClusters types
operator/adx.go Implemented blocked cluster resolution, endpoint normalization, and schema filtering logic
operator/adx_test.go Added comprehensive tests for blocked cluster functionality including edge cases

Comment thread api/v1/adxcluster_types.go Outdated
Comment thread operator/adx.go
Comment thread operator/adx.go
Comment thread operator/adx_test.go Outdated
Comment thread operator/adx.go Outdated
Copy link
Copy Markdown
Contributor

@mkeesey mkeesey left a comment

Choose a reason for hiding this comment

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

Some failing tests as well

Comment thread operator/adx.go Outdated
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