-
Notifications
You must be signed in to change notification settings - Fork 17
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
CI-999: Modify console template on creation to add tlog #243
Conversation
574e165
to
edce413
Compare
e53f80f
to
217eb54
Compare
217eb54
to
4e221d2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall - some minor comments
corev1.ResourceCPU: resource.MustParse("512m"), | ||
}, | ||
Requests: corev1.ResourceList{ | ||
corev1.ResourceMemory: resource.MustParse("512Mi"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These seem pretty beefy, but happy to go with it and tune it down later on if we see that it's excessive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are definitely generous but we're not sure what the actual requirements are yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CI-1010: Modify console operator to add sidecar * Create a volume to write the tlog data to * Add the volume mount to the main container * Modify the main container commands to wrap everything in tlog * Add a sidecar that runs our wrapper and pubsubtle (log data pusher) * Add rolebinding for service account to read pod status * Handle case of missing service account name * Add topic ID and project ID as flags and pass through to sidecar
110a2dc
to
9cad315
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after squash
This PR addresses CI-999 (adding tlog into the console job template on creation) and CI-1010 (adding a sidecar to the console to read the session data and stream to Pubsub).
It modifies the console operator to do the following: