TokenFile

Path to a file containing the Kubernetes API bearer token; default /var/run/secrets/kubernetes.io/serviceaccount/token.

This parameter applies to imkubernetes: Kubernetes input module.

Name:

TokenFile

Scope:

module

Type:

path

Default:

/var/run/secrets/kubernetes.io/serviceaccount/token

Required?:

no

Introduced:

8.2604.0

Description

If Token is not set, imkubernetes reads the first line from this file and uses it as the bearer token for Kubernetes API requests.

Module usage

module(load="imkubernetes" TokenFile="/var/run/secrets/kubernetes.io/serviceaccount/token")

See also

See also imkubernetes: Kubernetes input module.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.