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

add new common env paasta_instance_type #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

waziqi89
Copy link
Contributor

https://yelp.slack.com/archives/CAD7VU7GQ/p1723660526023579?thread_ts=1723050592.535799&cid=CAD7VU7GQ

After migrating to eks, we need a new envvar for the bill report. This is common for all custom operators and the value shall be equal to `paasta.yelp.com/service'

In nrtsearch live pod,
it's

              paasta.yelp.com/service=nrtsearch

@waziqi89
Copy link
Contributor Author

local itest is broken, but could be safe to merge

Name: "PAASTA_INSTANCE_TYPE",
ValueFrom: &corev1.EnvVarSource{
FieldRef: &corev1.ObjectFieldSelector{
FieldPath: "metadata.labels['paasta.yelp.com/service']",
Copy link
Member

Choose a reason for hiding this comment

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

(copying my slack comment here): i don't think this will always be correct - for flink, there's many services that host flink jobs (i.e., there's not a single flink service with all the flink instances)

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.

2 participants