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

feat: add Azure remote cache #690

Merged
merged 20 commits into from
Oct 22, 2023

Conversation

arbreezy
Copy link
Member

@arbreezy arbreezy commented Oct 1, 2023

Closes #

📑 Description

PR adds a new remote cache, integrating with Azure Blob storage offering.
It also includes the new protobuf schema.

Finally, it reworks the cache code path to make it easier to introduce more remote cache types in the future

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

ℹ Additional Information

@arbreezy arbreezy force-pushed the feat/add-remote-cache-azure branch 2 times, most recently from 24459b1 to 31f6a32 Compare October 8, 2023 22:26
@arbreezy arbreezy marked this pull request as ready for review October 8, 2023 22:27
@arbreezy arbreezy requested review from a team as code owners October 8, 2023 22:27
arbreezy and others added 17 commits October 11, 2023 19:10
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
….0 (k8sgpt-ai#687)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
… v1.3.0-20231002095256-194bc640518b.1 (k8sgpt-ai#692)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ffers/go to v1.31.0-20231002095256-194bc640518b.1 (k8sgpt-ai#693)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…k8sgpt-ai#689)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
…t-ai#685)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…3.0 (k8sgpt-ai#683)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
…t-ai#696)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…t-ai#697)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
…t-ai#699)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
…t-ai#701)

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
Aris Boutselis added 2 commits October 11, 2023 19:45
Copy link
Member

@AlexsJones AlexsJones left a comment

Choose a reason for hiding this comment

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

This has to be cautiously merged as it will break the caching functionality in the operator I believe @arbreezy

@arbreezy
Copy link
Member Author

@AlexsJones that's right, I am picking up the operator's work shortly

@AlexsJones
Copy link
Member

Should this get merged in after you do the operator work or now @arbreezy ?

@arbreezy
Copy link
Member Author

arbreezy commented Oct 17, 2023

@AlexsJones tbh, we already merged unintentionally the proto schema changes in the operator, which was the main argument of not merging this PR until the grpc client is compatible so in my eyes this could be merged and potentially released without breaking more the existing state of things

Copy link
Contributor

@matthisholleville matthisholleville left a comment

Choose a reason for hiding this comment

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

Very good MR ! Nice job Aris

pkg/cache/cache.go Show resolved Hide resolved
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io>
@arbreezy arbreezy merged commit 23ac52d into k8sgpt-ai:main Oct 22, 2023
7 checks passed
@arbreezy arbreezy deleted the feat/add-remote-cache-azure branch October 22, 2023 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants