🚮GC Logging for Java

Summary

This sidecar container simply streams GC logs from Java workloads to stdout.

Attributes

Parameter
Value

Type

Sidecar

Name

gc-logger

Image

busybox:latest

Image Pull Policy

Always

Command

/bin/sh

Arguments

-c tail -F -v /hln/diagnostics/garbageCollection.log

Port

Security Context

  • Allow Privilege Escalation: false

  • Run as User: 1000

  • Run as Non-Root User: true

Endpoints

External-to-Cluster

Internal

This container does not have any internal endpoints.

Environment Variables

This container does not require any environment variables.

Probes

Liveness

This container does not utilize liveness probes.

Readiness

This container does not utilize readiness probes.

Startup

This container does not utilize startup probes.

Resources

CPU (in millicores)
RAM (in MiB)
Storage (in GiB)

150

128

N/A

Technology Stack

This container uses the Docker Hub (or equivalent public registry) busybox image, which contains common Linux utilities. The sole utility engaged is tail, to stream logs that are outputted by the Java garbage collector to stdout, so that it may be captured by platform logging tooling.

Volume Mounts

Name
Read-Only
Mount Point
Subpath

java-diag

/hln/diagnostics

Workload Identity

Container does not require access to external-to-cluster resources.

Code Owners

Name
Organization
Email

Last updated