fvdcx's blog


  • 首页

  • 分类

  • 关于

  • 归档

  • 标签

heapster简介

发表于 2016-05-10   |   分类于 kubernetes   |  

基本翻译了 https://github.com/kubernetes/heapster https://github.com/kubernetes/heapster/blob/master/docs/source-configuration.md

Heapster简介

  Heapster能够监控容器集群和做性能分析,Heapster现在能够原生地支持k8s和coreos,注意保证k8s版本在1.0.6以上。而且拓展性很好。

  Heapster收集和分析各种各样的信号:资源使用情况,生命周期事件,和一些集群数据通过REST方式。可以通过 Kubedash 可视化Heapster的数据。Heapster支持多种类型的源数据。配置源数据的详情见这里

  Heapster还支持多种后端存储拓展,如InfluxDB,Google CloudMonitoring,Kafka等,后端存储的配置详情见这里,Heapster metrics

阅读全文 »

leetcode-search-for-a-range

发表于 2016-04-10   |   分类于 算法 , leetcode   |  

题目大意

https://leetcode.com/problems/search-for-a-range/

一个排好序的数组中查找给定target元素的起始和结束位置

解题思路

二分查找。找>=target的元素的最小值和<=target元素的最大值

阅读全文 »

leetcode-search-in-rotated-sorted-array

发表于 2016-04-10   |   分类于 算法 , leetcode   |  

题目大意

https://leetcode.com/problems/search-insert-position/

给定一个排好序的数字,找出值target元素所在的位置,如果没有找到,返回应该插入的位置。

[1,3,5,6], 5 → 2

[1,3,5,6], 2 → 1

[1,3,5,6], 7 → 4

[1,3,5,6], 0 → 0

阅读全文 »

leetcode-search-insert-position

发表于 2016-04-10   |   分类于 算法 , leetcode   |  

题目大意

https://leetcode.com/problems/search-insert-position/

给定一个排好序的数字,找出值target元素所在的位置,如果没有找到,返回应该插入的位置。

[1,3,5,6], 5 → 2

[1,3,5,6], 2 → 1

[1,3,5,6], 7 → 4

[1,3,5,6], 0 → 0

阅读全文 »
1…363738
fvdcx

fvdcx

149 日志
14 分类
20 标签
GitHub
© 2015 - 2017 fvdcx
由 Hexo 强力驱动
主题 - NexT.Pisces