openshift / openshift/origin

Why do cron and batch jobs list from the API every 10s?

Open
#14,895 9 comments 0 reactions 1 assignee View on GitHub

@soltysh is already working on this.

Since Jun 27, 2017.

area/performance component/kubernetes lifecycle/frozen priority/P2
Dominant language
Go
Stars
8.7k
Forks
4.8k
Avg merge
4d 10h
Merged PRs (30d)
53

Description

Seeing this in master - every 10s:

I0627 00:07:32.853150   41180 wrap.go:42] GET /apis/batch/v2alpha1/cronjobs: (2.113481ms) 200 [[openshift/v1.6.1+5115d708d7 (darwin/amd64) kubernetes/e14cf3c/system:serviceaccount:kube-system:cronjob-controller] 192.168.1.103:62589]
I0627 00:07:32.855169   41180 wrap.go:42] GET /apis/batch/v1/jobs: (1.626728ms) 200 [[openshift/v1.6.1+5115d708d7 (darwin/amd64) kubernetes/e14cf3c/system:serviceaccount:kube-system:cronjob-controller] 192.168.1.103:62589]
I0627 00:07:42.858119   41180 wrap.go:42] GET /apis/batch/v2alpha1/cronjobs: (1.994212ms) 200 [[openshift/v1.6.1+5115d708d7 (darwin/amd64) kubernetes/e14cf3c/system:serviceaccount:kube-system:cronjob-controller] 192.168.1.103:62589]
I0627 00:07:42.859948   41180 wrap.go:42] GET /apis/batch/v1/jobs: (1.48973ms) 200 [[openshift/v1.6.1+5115d708d7 (darwin/amd64) kubernetes/e14cf3c/system:serviceaccount:kube-system:cronjob-controller] 192.168.1.103:62589]

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.