Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2277

Add `kubectl.kubernetes.io/default-logs-container` annotation to server pods

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.3.0
    • None
    • logging, operator
    • None
    • 1

    Description

      As per https://github.com/kubernetes/kubernetes/pull/87809, set the annotation when the logging sidecar is deployed so that the user gets it as the default with a call to `kubectl logs <pod>` rather than having to specify the container as well.

      It can be added as part of the pod template for existing releases by customers, this is just to do it automatically.

      `kubectl.kubernetes.io/default-logs-container=logging`

      Attachments

        Issue Links

          Activity

            People

              patrick.stephens Patrick Stephens (Inactive)
              patrick.stephens Patrick Stephens (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty