You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -419,15 +421,15 @@ in the application log provider. On both operating systems, logs are also availa
419
421
在两种操作系统上,都可以通过读取 `/var/log/` 内的文件查看日志。
420
422
421
423
<!--
422
-
Provided you are authorized to interact with node objects, you can try out this alpha feature on all your nodes or
424
+
Provided you are authorized to interact with node objects, you can try out this feature on all your nodes or
423
425
just a subset. Here is an example to retrieve the kubelet service logs from a node:
424
426
425
427
```shell
426
428
# Fetch kubelet logs from a node named node-1.example
427
429
kubectl get --raw "/api/v1/nodes/node-1.example/proxy/logs/?query=kubelet"
428
430
```
429
431
-->
430
-
假如你被授权与节点对象交互,你可以在所有节点或只是某个子集上试用此 Alpha 特性。
432
+
假如你被授权与节点对象交互,你可以在所有节点或只是某个子集上试用此特性。
431
433
这里有一个从节点中检索 kubelet 服务日志的例子:
432
434
433
435
```shell
@@ -504,10 +506,12 @@ kubectl get --raw "/api/v1/nodes/node-1.example/proxy/logs/?query=kubelet&patter
504
506
* Read about [Contextual Logging](https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/3077-contextual-logging)
505
507
* Read about [deprecation of klog flags](https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/2845-deprecate-klog-specific-flags-in-k8s-components)
506
508
* Read about the [Conventions for logging severity](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/logging.md)
0 commit comments