zalando-incubator / zalando-incubator/stackset-controller

separate logging facilities

Open
#53 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
183
Forks
29
Avg merge
3d 18h
Merged PRs (30d)
5

Description

These logs here should be all more considered as debug logs

time="2018-09-10T07:24:35Z" level=info msg="Updating Deployment default/cluster-registry-master-82 for StackSet stack default/cluster-registry-master-82" controller=stacks namespace=default stackset=cluster-registry
time="2018-09-10T07:24:35Z" level=info msg="Updating Deployment default/cluster-registry-master-79 for StackSet stack default/cluster-registry-master-79" controller=stacks namespace=default stackset=cluster-registry
time="2018-09-10T07:24:35Z" level=info msg="Updating Deployment default/cluster-registry-master-80 for StackSet stack default/cluster-registry-master-80" controller=stacks namespace=default stackset=cluster-registry
time="2018-09-10T07:24:35Z" level=info msg="Updating Deployment default/cluster-registry-master-81 for StackSet stack default/cluster-registry-master-81" controller=stacks namespace=default stackset=cluster-registry
time="2018-09-10T07:24:45Z" level=info msg="Updating Deployment default/cluster-registry-master-79 for StackSet stack default/cluster-registry-master-79" controller=stacks namespace=default stackset=cluster-registry

This is more client-go library internal noise.

ERROR: logging before flag.Parse: E0910 07:24:31.764057       1 streamwatcher.go:109] Unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the stack controller logs identified by controller=stacks, then inspect the client-go streamwatcher.go:109 message shown in the report. Determine how the two sources can use separate logging facilities and verify that routine controller updates and client-go internal noise are no longer emitted at info or error severity.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.