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

[usage] Add config for billInstancesAfter #12257

Merged
merged 1 commit into from
Aug 22, 2022

Conversation

laushinka
Copy link
Contributor

@laushinka laushinka commented Aug 22, 2022

Description

This sets the preview environment config for billInstancesAfter to be as mentioned here.
For staging and prod will be PRs against the Ops repo.

Related Issue(s)

Relates #12223

How to test

  1. In the workspace run kubectl get pods
  2. Run kubectl logs -f [USAGE-POD]
  3. See billInstancesAfter with the specified value.

Release Notes

NONE

Documentation

Werft options:

  • /werft with-preview

@@ -243,6 +243,7 @@ EOF`);
private configureUsage(slice: string) {
exec(`yq w -i ${this.options.installerConfigPath} experimental.webapp.usage.enabled true`, { slice: slice })
exec(`yq w -i ${this.options.installerConfigPath} experimental.webapp.usage.schedule 1m`, { slice: slice })
exec(`yq w -i ${this.options.installerConfigPath} experimental.webapp.usage.billInstancesAfter "2022-08-11T08:05:32.499Z"`, { slice: slice })
Copy link
Member

Choose a reason for hiding this comment

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

How was this value determined? Is this value still appropriate given current contexts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the context for the value.

@roboquat roboquat merged commit 9c22f43 into main Aug 22, 2022
@roboquat roboquat deleted the laushinka/configure-usageconfig-12223 branch August 22, 2022 11:09
@@ -4,6 +4,7 @@
"default": 0.1666666667,
"gitpodio-internal-xl": 0.3333333333
},
"billInstancesAfter":"2022-08-11T08:05:32.499Z",
Copy link
Member

Choose a reason for hiding this comment

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

[nit] Space after colon

Suggested change
"billInstancesAfter":"2022-08-11T08:05:32.499Z",
"billInstancesAfter": "2022-08-11T08:05:32.499Z",

@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/XS team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants