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

Separate readreplica chart #2283

Merged
merged 10 commits into from
Jan 5, 2024
Merged

Conversation

ykadowak
Copy link
Contributor

@ykadowak ykadowak commented Dec 28, 2023

Description:

This PR separates the read replica related resources into a separate chart and removes them from under helm operator management. The reason for this is that the rotator's process to restart those resources conflicts with the helm operator.

The values.yaml of vald-read-replica chart is a symlink to the original values.yaml and it'll be copied automatically when packaging by helm package.

The deployment procedure for the read replica resources in an operator environment will be as follows:

  1. Deploy Vald with helm operator + vrs.yaml
  2. Deploy vald-readreplica with helm install + values.yaml (with the same configuration as vrs.yaml)

Related Issue:

Versions:

  • Go Version: 1.21.5
  • Docker Version: 20.10.8
  • Kubernetes Version: v1.28.4
  • NGT Version: 2.1.6

Checklist:

Special notes for your reviewer:

Copy link

cloudflare-workers-and-pages bot commented Dec 28, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: fb57e83
Status: ✅  Deploy successful!
Preview URL: https://a218fa9e.vald.pages.dev
Branch Preview URL: https://feature-readreplica-separate-fpaj.vald.pages.dev

View logs

@vdaas-ci
Copy link
Collaborator

[CHATOPS:HELP] ChatOps commands.

  • 🙆‍♀️ /approve - approve
  • 🍱 /format - format codes and add licenses
  • /gen-test - generate test codes
  • 🏷️ /label - add labels
  • 🔚 2️⃣ 🔚 /label actions/e2e-deploy - run E2E deploy & integration test

@ykadowak ykadowak force-pushed the feature/readreplica/separate-helm-2 branch from 5c1c80f to 5568efb Compare January 5, 2024 01:08
@ykadowak ykadowak marked this pull request as ready for review January 5, 2024 01:14
@ykadowak ykadowak changed the title [WIP] Separate readreplica chart Separate readreplica chart Jan 5, 2024
@kpango
Copy link
Collaborator

kpango commented Jan 5, 2024

/format

@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Jan 5, 2024

[FORMAT] Failed to format.

@kpango
Copy link
Collaborator

kpango commented Jan 5, 2024

Could you please add README.md?
It would be better to write values.yaml is made by symbolic linked generatrion.

and values.schema.json too

@github-actions github-actions bot added size/L and removed size/S labels Jan 5, 2024

### Overview

`values.yaml` is a symbolic link to the `values.yaml` of the main vald chart
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you add the link to each file ?

charts/vald-readreplica/Chart.yaml Outdated Show resolved Hide resolved
Co-authored-by: Kiichiro YUKAWA <kyukawa315@gmail.com>
@ykadowak ykadowak requested a review from vankichi January 5, 2024 03:04
@ykadowak ykadowak requested a review from kpango January 5, 2024 03:04
vankichi
vankichi previously approved these changes Jan 5, 2024
Copy link
Collaborator

@kpango kpango left a comment

Choose a reason for hiding this comment

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

LGTM

@ykadowak ykadowak requested a review from vankichi January 5, 2024 05:23
Copy link
Contributor

@vankichi vankichi left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

4 participants