This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~/go/src/github.com/GoogleCloudPlatform/kubernetes$ kubectl log monitoring-heapster-controller-m115q heapster | |
| 2015-05-14T20:34:53.372159368Z + EXTRA_ARGS= | |
| 2015-05-14T20:34:53.469810559Z + '[' '!' -z '--poll_duration=2m --stats_resolution=1m --sink influxdb:http://monitoring-influxdb.default:8086' ']' | |
| 2015-05-14T20:34:53.469829643Z + EXTRA_ARGS='--poll_duration=2m --stats_resolution=1m --sink influxdb:http://monitoring-influxdb.default:8086' | |
| 2015-05-14T20:34:53.469834004Z + '[' '!' -z 10.0.0.1 ']' | |
| 2015-05-14T20:34:53.469837276Z + EXTRA_ARGS='--source=kubernetes:http://10.0.0.1:80 --poll_duration=2m --stats_resolution=1m --sink influxdb:http://monitoring-influxdb.default:8086' | |
| 2015-05-14T20:34:53.469858715Z + HEAPSTER=/usr/bin/heapster | |
| 2015-05-14T20:34:53.469862361Z + case $SINK in | |
| 2015-05-14T20:34:53.469865409Z + /usr/bin/heapster --source=kubernetes:http://10.0.0.1:80 --poll_duration=2m --stats_resolution=1m --sink influxdb:http://monitoring-influxdb.default:8086 | |
| 2015-05-14T20:34:56.517594552Z I0514 20:34:56. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Reboot | |
| should reboot each node and ensure they function upon restart | |
| /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/reboot.go:97 | |
| [BeforeEach] Reboot | |
| /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/reboot.go:62 | |
| >>> testContext.KubeConfig: /Users/maxforbes/.kube/config | |
| [It] should reboot each node and ensure they function upon restart | |
| /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/reboot.go:97 | |
| INFO: Getting e2e-test-maxforbes-minion-3t1x | |
| INFO: Getting e2e-test-maxforbes-minion-66vd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Monitoring | |
| verify monitoring pods and all cluster nodes are available on influxdb using heapster. | |
| /Users/maxforbes/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/monitoring.go:51 | |
| [BeforeEach] Monitoring | |
| /Users/maxforbes/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/monitoring.go:42 | |
| >>> testContext.KubeConfig: /Users/maxforbes/.kube/config | |
| [It] verify monitoring pods and all cluster nodes are available on influxdb using heapster. | |
| /Users/maxforbes/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/monitoring.go:51 | |
| INFO: failed to query list of pods from influxdb. Query: "select distinct(pod_id) from /cpu.*/", Err: expected only one series from Influxdb for query "select distinct(pod_id) from /cpu.*/". Got [] | |
| INFO: failed to query list of pods from influxdb. Query: "select distinct(pod_id) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Services | |
| should provide DNS for the cluster | |
| /Users/maxforbes/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/service.go:171 | |
| [BeforeEach] Services | |
| /Users/maxforbes/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/service.go:48 | |
| >>> testContext.KubeConfig: /Users/maxforbes/.kube/config | |
| [It] should provide DNS for the cluster | |
| /Users/maxforbes/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/service.go:171 | |
| STEP: creating a pod to probe DNS | |
| STEP: submitting the pod to kubernetes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Cluster level logging using Elasticsearch | |
| should check that logs from pods on all nodes are ingested into Elasticsearch | |
| /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/es_cluster_logging.go:46 | |
| [BeforeEach] Cluster level logging using Elasticsearch | |
| /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/es_cluster_logging.go:42 | |
| >>> testContext.KubeConfig: /Users/maxforbes/.kube/config | |
| [It] should check that logs from pods on all nodes are ingested into Elasticsearch | |
| /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/es_cluster_logging.go:46 | |
| STEP: Checking the Elasticsearch service exists. | |
| STEP: Checking to make sure the Elasticsearch pods are running |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Density | |
| [Performance suite] should allow starting 3 pods per node | |
| /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/density.go:164 | |
| [BeforeEach] Density | |
| /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/density.go:60 | |
| >>> testContext.KubeConfig: /Users/maxforbes/.kube/config | |
| [It] [Performance suite] should allow starting 3 pods per node | |
| /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/density.go:164 | |
| STEP: Creating replication controller my-hostname-density6-843c3b4c-f8e8-11e4-a6a4-80e6500c3b04 | |
| STEP: Making sure all 6 replicas exist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kubectl guestbook | |
| should create and stop a working application | |
| /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/kubectl.go:125 | |
| [BeforeEach] kubectl | |
| /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/kubectl.go:58 | |
| >>> testContext.KubeConfig: /Users/maxforbes/.kube/config | |
| [It] should create and stop a working application | |
| /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/kubectl.go:125 | |
| STEP: creating all guestbook components | |
| INFO: Running '/Users/maxforbes/go/src/github.com/GoogleCloudPlatform/kubernetes/hack/../cluster/../_output/dockerized/bin/darwin/amd64/kubectl kubectl --server=https://146.148.37.149 --kubeconfig=/Users/maxforbes/.kube/config create -f examples/guestbook --namespace=e2e-tests-kubectl-b0fff9f6-7722-4f5c-8b95-5c150d67dd60' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Reboot | |
| should reboot each node and ensure they function upon restart | |
| /Users/maxforbes/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/reboot.go:94 | |
| [BeforeEach] Reboot | |
| /Users/maxforbes/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/reboot.go:62 | |
| >>> testContext.KubeConfig: /Users/maxforbes/.kube/config | |
| [It] should reboot each node and ensure they function upon restart | |
| /Users/maxforbes/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/reboot.go:94 | |
| INFO: Getting e2e-test-maxforbes-minion-lqv1 | |
| INFO: Getting e2e-test-maxforbes-minion-pnqo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Ability model. | |
| * | |
| */ | |
| var async = require('async'); | |
| var util = require('./util'); | |
| var _ = require('underscore'); | |
| // async helper functions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @staticmethod | |
| def get_top_wrt_attr(objs, attr, epsilon): | |
| ''' | |
| Gets the top elements from objs that score within epsilon of | |
| the max value with respect to their (number-valued) attribute | |
| attr. | |
| Args: | |
| objs ([object]) | |
| attr (str) |