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

Kubelet needs a way to send results #285

Closed
thockin opened this issue Jun 28, 2014 · 5 comments
Closed

Kubelet needs a way to send results #285

thockin opened this issue Jun 28, 2014 · 5 comments
Assignees
Labels
area/introspection kind/design Categorizes issue or PR as related to design. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.

Comments

@thockin
Copy link
Member

thockin commented Jun 28, 2014

Idea 1) Track a state per-pod. One such state is "invalid" (for bad input). The kubelet HTTP server can show the state.

Idea 2) Publish results to etcd

These are not mutually exclusive.

@smarterclayton
Copy link
Contributor

Related to #127, #137, and #156. Are there other pieces of information besides state that are related to a container's execution that should be rolled up? Certainly the time that a state transition occurred is relevant. I bring up because we tend to think of this as a three part problem -

  1. specific container events which are core to the platform being reported to the core infrastructure (state, exit status)
  2. generic container events triggered by other host level monitors (resource threshold exceeded), and possibly host level events (no memory available, swap warnings)
  3. making decisions based on 1) or 2) that might feed into the scheduler or replication controllers

At the start, we saw this as a separate logical subsystem (events) with a separate return channel (since this information is essentially untrustworthy in a multi-tenant system), feeding back into an event bus that detached components could react to. However, for 1) in particular I could buy the argument that this is a core mechanism of the master->kubelet system and is separate from a generic event mechanism.

@thockin
Copy link
Member Author

thockin commented Jun 29, 2014

I think you're right that some things are so core that they have to be part
of the primary API. As Kubelet gets more complicated, we really do need to
expose some details about whats going on. We don't really have a state
machine yet, but we will. We don't really have local state yet, but I
think we will.

I think we want the user experience to be centralized - some common tools
or UI or database that shows you everything that has been going on.

On Sat, Jun 28, 2014 at 9:12 PM, Clayton Coleman notifications@github.com
wrote:

Related to #127
#127 and #137
#137. Are there
other pieces of information besides state that are related to a container's
execution that should be rolled up? Certainly the time that a state
transition occurred is relevant. I bring up because we tend to think of
this as a three part problem -

  1. specific container events which are core to the platform being reported
    to the core infrastructure (state, exit status)
  2. generic container events triggered by other host level monitors
    (resource threshold exceeded), and possibly host level events (no memory
    available, swap warnings)
  3. making decisions based on 1) or 2) that might feed into the scheduler
    or replication controllers

At the start, we saw this as a separate logical subsystem (events) with a
separate return channel (since this information is essentially
untrustworthy in a multi-tenant system), feeding back into an event bus
that detached components could react to. However, for 1) in particular I
could buy the argument that this is a core mechanism of the master->kubelet
system and is separate from a generic event mechanism.

Reply to this email directly or view it on GitHub
#285 (comment)
.

@lavalamp lavalamp added P0 and removed P0 labels Jul 24, 2014
@lavalamp
Copy link
Member

This keeps coming up. We should prioritize it. See #602...

@erictune
Copy link
Member

erictune commented Nov 6, 2014

Kubelet is going to publish events that happen to containers. @lavalamp is working on that.
That also requires that kubelets have a path to write to the API. The ongoing authorization work will allow that.

@dchen1107 dchen1107 self-assigned this Nov 7, 2014
@dchen1107
Copy link
Member

I am going to close this one since kubelet now reports PodStatus, pod related events Node states back upper layers already. There are issues / enhancements filed as separate issues already.

vishh pushed a commit to vishh/kubernetes that referenced this issue Apr 6, 2016
Update libcontainer for new net stats patch that uses less CPU.
justaugustus pushed a commit to justaugustus/kubernetes that referenced this issue Jun 10, 2019
wking pushed a commit to wking/kubernetes that referenced this issue Jul 21, 2020
kinflate: Generate secrets with commands
b3atlesfan pushed a commit to b3atlesfan/kubernetes that referenced this issue Feb 5, 2021
No new content - just moved it around
The multi-network instructions were removed in the move, but that
feature is going anyway.

Fixes kubernetes#285
linxiulei pushed a commit to linxiulei/kubernetes that referenced this issue Jan 18, 2024
Add metrics mode proposal to README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/introspection kind/design Categorizes issue or PR as related to design. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

No branches or pull requests

6 participants