Skip to content

Hybrid Cloud Environment API#87

Merged
pedjak merged 8 commits into
mainfrom
enh/predrag/hybrid-cloud-service
Jun 12, 2025
Merged

Hybrid Cloud Environment API#87
pedjak merged 8 commits into
mainfrom
enh/predrag/hybrid-cloud-service

Conversation

@pedjak
Copy link
Copy Markdown
Contributor

@pedjak pedjak commented May 22, 2025

Part of CRC-320

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 22, 2025

The latest Buf updates on your PR. Results from workflow Pull Request / linting (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedJun 11, 2025, 2:32 PM

@github-actions

This comment has been minimized.

Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto
Copy link
Copy Markdown
Contributor

@mikheillomidzeq mikheillomidzeq left a comment

Choose a reason for hiding this comment

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

Nice!

Left some comments

Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
optional string qdrant_cluster_manager_version = 19;
string created_by = 20;
optional string log_level = 21;
repeated qdrant.cloud.cluster.v1.Toleration tolerations = 22;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I am using Toleration from cluster package - should we move it to common package, given that is now used by two APIs? cc @Robert-Stam

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.

Good idea, however it’s a breaking change in the public api, so we need to check if TerraForm provider is using this field, because that’s already in production

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good idea, however it’s a breaking change in the public api, so we need to check if TerraForm provider is using this field, because that’s already in production

we are not changing API, request/response schemas remain the same. What changes though is the generated client code, but that would mean that we need to update TerraForm provider to use the new code version, right?

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.

Changing the location/package of the message (of types) is from a gRPC PoV a hard breaking change afaik (in fact it's another type). If/how people the TF provider updates is not in our control, so imo we should stick what we have.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Changing the location/package of the message (of types) is from a gRPC PoV a hard breaking change afaik (in fact it's another type). If/how people the TF provider updates is not in our control, so imo we should stick what we have.

Ok, should I then use in this PR k8s.io.api.core.v1.Toleration type instead, to avoid unneeded dependency between cluster and hybrid env API?

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.

That would be Ok, however K8s types are not in the buf registry, so I would keep as-is (re-use of cluster).
In the end - based on the doc - this is the toleration for the clusters, so not a bad thing.

@pedjak pedjak force-pushed the enh/predrag/hybrid-cloud-service branch from 358079a to 5030d2d Compare May 26, 2025 13:59
@github-actions

This comment has been minimized.

@pedjak pedjak changed the title wip hybrid cloud API Hybrid Cloud Environment API May 26, 2025
@pedjak pedjak marked this pull request as ready for review May 26, 2025 14:12
@pedjak pedjak requested a review from a team as a code owner May 26, 2025 14:12
@github-actions

This comment has been minimized.

Comment thread proto/qdrant/cloud/hybrid/v1/operator.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/operator.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/operator.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/operator.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Copy link
Copy Markdown

@areina areina left a comment

Choose a reason for hiding this comment

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

I haven't finished the full review, submitting it to talk about it during our call.

Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
@pedjak pedjak force-pushed the enh/predrag/hybrid-cloud-service branch from dc626ad to af9d3f2 Compare May 30, 2025 13:00
@github-actions

This comment has been minimized.

Copy link
Copy Markdown

@areina areina left a comment

Choose a reason for hiding this comment

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

minor details, it's looking great and way simpler than before 👏

Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
Comment thread proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto Outdated
@github-actions

This comment has been minimized.

@pedjak pedjak force-pushed the enh/predrag/hybrid-cloud-service branch from fede129 to 326077d Compare June 2, 2025 09:03
@bashofmann
Copy link
Copy Markdown
Contributor

LGTM

@pedjak pedjak force-pushed the enh/predrag/hybrid-cloud-service branch from 28f0169 to 23b0c08 Compare June 6, 2025 14:16
@pedjak pedjak force-pushed the enh/predrag/hybrid-cloud-service branch from 23b0c08 to e30c32e Compare June 11, 2025 11:57
@pedjak pedjak merged commit 86b9cfe into main Jun 12, 2025
14 of 16 checks passed
@pedjak pedjak deleted the enh/predrag/hybrid-cloud-service branch June 12, 2025 09:13
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.

5 participants