update rel notes
parent
5ebf196fc3
commit
7ba6c1356a
|
|
@ -0,0 +1,31 @@
|
|||
<img src="https://raw.githubusercontent.com/derailed/k9s/master/assets/k9s_small.png" align="right" width="200" height="auto"/>
|
||||
|
||||
# Release v0.13.7
|
||||
|
||||
## Notes
|
||||
|
||||
Thank you to all that contributed with flushing out issues and enhancements for K9s! I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev and see if we're happier with some of the fixes! If you've filed an issue please help me verify and close. Your support, kindness and awesome suggestions to make K9s better is as ever very much noticed and appreciated!
|
||||
|
||||
Also if you dig this tool, please make some noise on social! [@kitesurfer](https://twitter.com/kitesurfer)
|
||||
|
||||
On Slack? Please join us [K9slackers](https://join.slack.com/t/k9sers/shared_invite/enQtOTA5MDEyNzI5MTU0LWQ1ZGI3MzliYzZhZWEyNzYxYzA3NjE0YTk1YmFmNzViZjIyNzhkZGI0MmJjYzhlNjdlMGJhYzE2ZGU1NjkyNTM)
|
||||
|
||||
---
|
||||
|
||||
### GH Sponsorships
|
||||
|
||||
WOOT!! Big Thank you in this release to [Matthew Davis](https://github.com/mateothegreat) for your contributions and support for K9s!
|
||||
|
||||
---
|
||||
|
||||
## Resolved Bugs/Features/PRs
|
||||
|
||||
* [Issue #520](https://github.com/derailed/k9s/issues/520)
|
||||
* [Issue #518](https://github.com/derailed/k9s/issues/518)
|
||||
* [Issue #517](https://github.com/derailed/k9s/issues/517)
|
||||
* [Issue #516](https://github.com/derailed/k9s/issues/516)
|
||||
* [Issue #506](https://github.com/derailed/k9s/issues/506)
|
||||
|
||||
---
|
||||
|
||||
<img src="https://raw.githubusercontent.com/derailed/k9s/master/assets/imhotep_logo.png" width="32" height="auto"/> © 2020 Imhotep Software LLC. All materials licensed under [Apache v2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
||||
|
|
@ -136,7 +136,7 @@ func (m *MetricsServer) FetchPodMetrics(fqn string) (*mv1beta1.PodMetrics, error
|
|||
return &mx, fmt.Errorf("No metrics-server detected on cluster")
|
||||
}
|
||||
|
||||
ns, _ := Namespaced(fqn)
|
||||
ns, n := Namespaced(fqn)
|
||||
if ns == NamespaceAll {
|
||||
ns = AllNamespaces
|
||||
}
|
||||
|
|
@ -153,7 +153,7 @@ func (m *MetricsServer) FetchPodMetrics(fqn string) (*mv1beta1.PodMetrics, error
|
|||
return &mx, err
|
||||
}
|
||||
|
||||
return client.MetricsV1beta1().PodMetricses(ns).Get(fqn, metav1.GetOptions{})
|
||||
return client.MetricsV1beta1().PodMetricses(ns).Get(n, metav1.GetOptions{})
|
||||
}
|
||||
|
||||
// PodsMetrics retrieves metrics for all pods in a given namespace.
|
||||
|
|
|
|||
|
|
@ -150,24 +150,25 @@ func (l *Log) Append(line string) {
|
|||
if line == "" {
|
||||
return
|
||||
}
|
||||
|
||||
log.Debug().Msgf("LINE %q", line)
|
||||
l.mx.Lock()
|
||||
defer l.mx.Unlock()
|
||||
|
||||
if l.initialized {
|
||||
l.lines = []string{}
|
||||
l.initialized = false
|
||||
l.lines, l.initialized, l.lastSent = []string{}, false, 0
|
||||
l.fireLogCleared()
|
||||
}
|
||||
|
||||
if len(l.lines) < int(l.logOptions.Lines) {
|
||||
l.lines = append(l.lines, line)
|
||||
} else {
|
||||
l.lines = append(l.lines[1:], line)
|
||||
l.lastSent--
|
||||
if l.lastSent < 0 {
|
||||
l.lastSent = 0
|
||||
}
|
||||
return
|
||||
}
|
||||
l.lines = append(l.lines[1:], line)
|
||||
l.lastSent--
|
||||
if l.lastSent < 0 {
|
||||
l.lastSent = 0
|
||||
}
|
||||
log.Debug().Msgf("LINES %v -- %v", l.lines, l.lastSent)
|
||||
}
|
||||
|
||||
// Notify fires of notifications to the listeners.
|
||||
|
|
|
|||
Loading…
Reference in New Issue