kubernetes/pkg
Aravindh Puthiyaparambil d12696c20f
kubelet: Expose simple journald and Get-WinEvent shims on the logs endpoint
Provide an administrator a streaming view of journal logs on Linux
systems using journalctl, and event logs on Windows systems using the
Get-WinEvent PowerShell cmdlet without them having to implement a client
side reader.

Only available to cluster admins.

The implementation for journald on Linux was originally done by Clayton
Coleman.

Introduce a heuristics approach to query logs

The logs query for node objects will follow a heuristics approach
when asked to query for logs from a service. If asked to get the
logs from a service foobar, it will first check if foobar logs to the
native OS service log provider. If unable to get logs from these, it
will attempt to get logs from /var/foobar, /var/log/foobar.log or
/var/log/foobar/foobar.log in that order.
The logs sub-command can also directly serve a file if the query looks
like a file.

Co-authored-by: Clayton Coleman <ccoleman@redhat.com>
Co-authored-by: Christian Glombek <cglombek@redhat.com>
2023-03-14 08:54:36 -07:00
..
api api: resource.k8s.io v1alpha1 -> v1alpha2 2023-03-14 07:52:03 +01:00
apis Merge pull request #116299 from pohly/dra-v1alpha2 2023-03-14 02:15:08 -07:00
auth
capabilities
client delete unused functions in pkg directory 2023-01-16 21:43:36 +08:00
cloudprovider Remove AWS legacy cloud provider + EBS in-tree storage plugin 2023-03-06 14:01:15 +00:00
cluster/ports
controller api: resource.k8s.io v1alpha1 -> v1alpha2 2023-03-14 07:52:03 +01:00
controlplane api: resource.k8s.io v1alpha1 -> v1alpha2 2023-03-14 07:52:03 +01:00
credentialprovider Drop AWS kubelet credential provider and cleanup AWS storage e2e tests 2023-03-07 09:00:12 -05:00
features feature: Add NodeLogQuery feature gate 2023-03-14 08:45:18 -07:00
fieldpath Improved FormatMap: Improves performance by about 4x, or nearly 2x in the worst case (#112661) 2023-03-01 22:26:55 -08:00
generated api: Add EnableNodeLogQuery to KubeletConfiguration 2023-03-14 08:45:19 -07:00
kubeapiserver fix broken tests after dependency injection. 2023-03-13 14:40:47 -07:00
kubectl api: resource.k8s.io v1alpha1 -> v1alpha2 2023-03-14 07:52:03 +01:00
kubelet kubelet: Expose simple journald and Get-WinEvent shims on the logs endpoint 2023-03-14 08:54:36 -07:00
kubemark Merge pull request #114357 from dengyufeng2206/1208pull 2023-03-09 21:33:22 -08:00
printers api: resource.k8s.io v1alpha1 -> v1alpha2 2023-03-14 07:52:03 +01:00
probe Merge pull request #115708 from my-git9/ut-util 2023-03-10 00:06:40 -08:00
proxy Merge pull request #115253 from danwinship/proxy-update-healthchecknodeport 2023-03-13 15:22:48 -07:00
quota/v1 Rename ContainerStatus.ResourcesAllocated to ContainerStatus.AllocatedResources 2023-03-10 14:49:26 +00:00
registry api: resource.k8s.io v1alpha1 -> v1alpha2 2023-03-14 07:52:03 +01:00
routes unittests: Fixes unit tests for Windows (part 3) 2022-10-21 19:25:48 +03:00
scheduler api: resource.k8s.io v1alpha1 -> v1alpha2 2023-03-14 07:52:03 +01:00
security changes in NewValidator 2023-02-21 13:02:30 +05:30
securitycontext add SeccompProfile to Pod and Container accessors/mutators 2023-02-22 17:15:27 +01:00
serviceaccount handle new error where sa jwt issued in the future 2023-03-02 03:15:13 +01:00
util copy pkg/proxy OWNERS to pkg/util/conntrack 2023-03-13 11:20:36 -04:00
volume Merge pull request #116301 from andyzhangx/remove-azuredisk-code 2023-03-13 10:38:48 -07:00
windows/service
.import-restrictions
OWNERS Move root approvers to subdirs 2022-10-10 13:43:03 -04:00