Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error starting container: Unknown flag: --logtostderr #525

Closed
shpml opened this issue Aug 17, 2022 · 5 comments
Closed

Error starting container: Unknown flag: --logtostderr #525

shpml opened this issue Aug 17, 2022 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@shpml
Copy link

shpml commented Aug 17, 2022

What happened?:
On Aug 12th AEST my prometheus adapter pod was gracefully terminated.

"timestamp": "2022-08-11T17:47:01.987570641Z",
"message": "\"[graceful-termination] shutdown event\" name=\"ShutdownInitiated\""

This resulted in a pod restart and kubernetes pulling the latest image.

"timestamp": "2022-08-11T17:48:01Z",
"message": "Successfully pulled image \"gcr.io/k8s-staging-prometheus-adapter/prometheus-adapter-amd64:master\" in 57.551120744s",

This resulted in a "CrashLoopBackOff" event due to the following error

"timestamp": "2022-08-11T17:48:01.241961584Z",
"textPayload": "unknown flag: --logtostderr",

Unfortunately I did not have monitoring on this cluster so I missed the errors for a number of days :(.
The pod with the issue was deleted on Aug 16th AEST and a new pod successfully started after pulling the latest image

"timestamp": "2022-08-16T12:14:06Z",
"message": "Successfully pulled image \"gcr.io/k8s-staging-prometheus-adapter/prometheus-adapter-amd64:master\" in 7.038956364s"

The container successfully started.

"timestamp": "2022-08-16T12:14:06Z",
"message": "Started container custom-metrics-apiserver",

What did you expect to happen?:
I expected a new pod to start without an error relating to flag logtostderr.

Please provide the prometheus-adapter config:
The config is the default used in deploy/manifests/custom-metrics-apiserver-deployment.yaml

Anything else we need to know?:
I don't think it's still a bug as the latest version is running but it would be good to know what happened.

Environment:

  • prometheus-adapter version: gcr.io/k8s-staging-prometheus-adapter/prometheus-adapter-amd64:master
  • prometheus version: gke.gcr.io/prometheus-engine/prometheus:v2.35.0-gmp.2-gke.0
  • Kubernetes version: v1.21.x-gke and v1.22.10-gke.600
  • Cloud provider: GKE
@shpml shpml added the kind/bug Categorizes issue or PR as related to a bug. label Aug 17, 2022
@olivierlemasle
Copy link
Member

There was visibly a regression, which was fixed in #524.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 11, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Mar 13, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

4 participants