-
Notifications
You must be signed in to change notification settings - Fork 114
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
Logs sriov-network-config-daemon
by default
#545
Logs sriov-network-config-daemon
by default
#545
Conversation
Thanks for your PR,
To skip the vendors CIs use one of:
|
Pull Request Test Coverage Report for Build 6849330622
💛 - Coveralls |
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.
we only have one running container so it should be the default but I don't see a problem adding this annotation
@@ -21,6 +21,8 @@ spec: | |||
component: network | |||
type: infra | |||
openshift.io/component: network | |||
annotations: | |||
kubectl.kubernetes.io/default-logs-container: sriov-network-config-daemon |
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.
This one is deprecated: https://kubernetes.io/docs/reference/labels-annotations-taints/#kubectl-kubernetes-io-default-logs-container-deprecated
please use : kubectl.kubernetes.io/default-container
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.
thanks for catching that. fixed
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.
current annot is deprecated
5c2bf0c
to
76d44a5
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
@SchSeba you're right, we have only one non-init container running and kubectl takes the first Spec field: Since the introduction of systemd mode, sriov-cni and sriov-infiniband-cni containers have been moved to Spec.InitContainers, which are not taken into consideration when getting the default container to log. This PR has no actual impact on the upstream operator's behavior. |
Container `sriov-network-config-daemon` in the daemonset is the most interesting in the list. Make `kubectl logs ...` target that by default. Signed-off-by: Andrea Panattoni <[email protected]>
76d44a5
to
0f17753
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
Container
sriov-network-config-daemon
in the daemonset is the most interesting in the list. Makekubectl logs ...
target that by default.