-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write deployment context in init container (#2871)
Problems: * When running with N+, the first usage report does not contain the deployment context. The deployment context is needed in order to associate the instance with NGF. * When collecting the info for the deployment context, it is possible to fail. In this case we send a report to N1 without the deployment context. * The installation ID is the deployment ID, but it should be the Pod ID. Solutions: * When running with N+, write the deployment context to the shared volume mount in the init container. * Use the Pod UID instead of the deployment UID as the installation ID * Always set the static values of the deployment context in the nginx config. Static values include the integration and installation IDs.
- Loading branch information
1 parent
58801be
commit 245b516
Showing
38 changed files
with
1,246 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.