Closed Bug 1592089 Opened 5 years ago Closed 4 years ago

Permit CRLite to communicate with Kinto's settings-writer(s) from GKE

Categories

(Cloud Services :: Operations: Miscellaneous, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jcj, Assigned: wezhou)

References

(Blocks 1 open bug)

Details

The GCP project crlite-beta has a Kubernetes pod which needs to be able to write its results to the Kinto settings-writer endpoint. In bug 1513619 we constructed a Kinto account for this service, but now we need to permit the firewall access.

This would be nice to get done by December.

Assignee: nobody → wezhou

:jcj, would you provide us with a static IP address that kinto-writer can whitelist?

Thanks.

Flags: needinfo?(jjones)

I will figure out the NAT gateway mechanism for GKE as soon as I can next week. Thanks!

Julien,

Here's needinfo so cloudops can see that I'm not actually sneaking this past you as part of a secret plan to subvert kinto with crlite. Previous RRA: https://docs.google.com/document/d/1R7-A6VlLfAyYPxa3Oxt31P_qsoVYp24yfUEvyIbNkEk/edit#

That said, I think it reasonable and rational to discuss what it would look like to deploy to infra to prod, as we're approaching that general time. Whether there should be a prod environment with access to settings-writer.prod vs a staging environment with settings-writer.stage, how to sync Firestore in that case (since it takes several months to download CT at present) and overall how to maintain ops discipline for this, given that the developer isn't ops. Perhaps that should be its own bug.

Flags: needinfo?(jjones) → needinfo?(jvehent)

Indeed the right approach here is to have crlite-beta operated in cloudops prod. Kinto-writer is sensitive enough that we don't want to let 3rd party apps not managed by cloudops access it directly.

Flags: needinfo?(jvehent)
Blocks: 1596537

Julien,

We're approaching deployment by cloudops for a prod environment. I do want to ask though - is it feasible for an engineer-controlled staging env to have access to the staging kinto-writer?

Flags: needinfo?(jvehent)
QA Contact: habib

Discussed in https://github.com/mozilla/crlite/issues/88 and closed to await a CloudOps staging deployment

Flags: needinfo?(jvehent)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.