-
Notifications
You must be signed in to change notification settings - Fork 30
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
write logs to std without log PV mounted #180
write logs to std without log PV mounted #180
Conversation
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.
🎉
@@ -42,7 +42,7 @@ const ( | |||
AgentInitContainerName = "ng-init-agent" | |||
DefaultAgentPortGRPC = 8888 | |||
agentPortNameGRPC = "grpc" | |||
defaultAgentImage = "megabyte875/nebula-agent:latest" | |||
defaultAgentImage = "vesoft/nebula-agent:latest" |
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.
why was megabyte875/nebula-agent:latest
previously?
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.
a mistake
return c.nc.Spec.Metad.LogVolumeClaim.Resources.DeepCopy() | ||
} | ||
|
||
func (c *metadComponent) GetDataStorageResources() (*corev1.ResourceRequirements, error) { | ||
if c.nc.Spec.Metad.DataVolumeClaim == nil { |
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.
I understand that the request is LogVolumeClaim
can be nil. But why DataVolumeClaim
can be nil too?
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.
prevent panic when the DataVolumeClaim does not exist
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
Description:
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc: