Skip to content

Commit 2f377ea

Browse files
Merge pull request #219 from circleci/ONPREM-1694/logging-service-account
[ONPREM-1694] Explicitly document the logging service account for container runner
1 parent 6eb4182 commit 2f377ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guides/modules/execution-runner/pages/container-runner.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,11 +376,11 @@ In addition, link:#logging-containers[Logging containers] require the following
376376
** List
377377
** Watch
378378

379-
By default a `Role`, `RoleBinding` and service account are created and attached to the container runner pod, but if you customize these, the above are the minimum required permissions.
379+
By default a `Role`, `RoleBinding` and service account are created and attached to the container runner pod. If you customize these, the permissions listed above are the minimum required.
380380

381-
It is assumed that the container runner is running in a Kubernetes namespace without any other workloads. It is possible that the agent or garbage collection (GC) could delete pods in the same namespace.
381+
The logging collector uses a dedicated service account with the other permissions listed above, and is mounted in the logging container of the task pod when service containers are present. This can be customized if needed.
382382

383-
NOTE: Cluster-wide permissions are used by container runner to autodetect the OS and CPU architecture of the node that the task pod is running on. If you do not want to grant these permissions to container runner, you can set `agent.autodetectPlatform` to `false`, which will assume the node OS and architecture matches the node that the container runner pod is on.
383+
It is assumed that the container runner is running in a Kubernetes namespace without any other workloads. It is possible that the agent or garbage collection (GC) could delete pods in the same namespace.
384384

385385
[#garbage-collection]
386386
== Garbage collection

0 commit comments

Comments
 (0)