Commit Graph

8189 Commits (0fb131c4f950b59e14a590d95f1870b133185407)

Author SHA1 Message Date
Brendan Burns 7547eaec2b Merge pull request #5765 from roberthbailey/pipefail
Specify bash when installing kubernetes via get.k8s.io.
2015-03-23 14:05:39 -07:00
Dawn Chen fdfec4db2d Introduced LastTerminateState 2015-03-23 13:54:46 -07:00
Tim Hockin 7ce59d9bc7 Rename the JSON for GCEPersistentDisk in internal
I know the internal JSO tags are slated for death.  Until then, make them
correct.  Also fix some examples of v1b3 conversions that did not rename the
JSON field.
2015-03-23 13:54:00 -07:00
Clayton Coleman 9bb797fe93 Rename NewREST -> NewStorage to align on terminology 2015-03-23 16:52:21 -04:00
Clayton Coleman 5a3f0adbcc Remove older names 2015-03-23 16:52:21 -04:00
Clayton Coleman d46087db50 Move REST* interfaces into pkg/api/rest
Dependency chain is now api -> api/rest -> apiserver.  Makes the
interfaces much cleaner to read, and cleans up some inconsistenties
that crept in along the way.
2015-03-23 16:52:21 -04:00
Satnam Singh 69f867dafb Upgrade etcd to v2.0.5 on the master 2015-03-23 13:52:04 -07:00
Tim Hockin df672504c2 Merge pull request #5775 from smarterclayton/fix_mac_hostname
Kubelet config sources should use the provided hostname, not lookup os.Hostname()
2015-03-23 13:51:34 -07:00
Mikel Nelson bbca7217b7 Issue #5737 Cassandra Cluster Example Custom Seed Cores on First Node 2015-03-23 13:50:38 -07:00
Robert Bailey b46276e51b Merge pull request #5750 from satnam6502/soak
Soak test based on serve_hostname image
2015-03-23 13:25:29 -07:00
Piotr Szczesniak 654a8d40e6 Merge pull request #5772 from a-robinson/lb
Add an end-to-end test for external load balancers.
2015-03-23 21:09:43 +01:00
Justin Santa Barbara 2a042fc423 More idempotent kube-down for AWS, and delete multiple security groups
There may be multiple security groups if we were using ELB, and
we have to delete them all apart from the default one, which EC2
prevents us from deleting.

Also use the same looping logic to clean up from partial up/downs.
2015-03-23 13:00:34 -07:00
Clayton Coleman d020ca00b8 Pass hostname to all kubelet config sources instead of os.Hostname()
Make applyDefaults be tied to the current config source.
2015-03-23 15:58:45 -04:00
Clayton Coleman bd12cfea69 Integration tests should do a faster status sync loop 2015-03-23 14:48:28 -04:00
Tim Hockin d8223ff9e2 Merge pull request #5804 from smarterclayton/fixing_broken_tests
Syntax errors in file_test were added right as validation became more strict
2015-03-23 11:47:40 -07:00
Clayton Coleman b442f76961 Syntax errors in file_test were added right as validation became more strict 2015-03-23 14:43:09 -04:00
Alex Robinson 22825b1045 Add an end-to-end test for external load balancers. 2015-03-23 18:10:13 +00:00
Saad Ali e8f70428fb Merge pull request #5715 from jszczepkowski/kubelet-nodesel
Running node selector predicate on kubelet.
2015-03-23 11:06:00 -07:00
Dawn Chen 8cec9517cd Merge pull request #5793 from vmarmol/cadvisor
Update cAdvisor dependency to latest.
2015-03-23 10:56:18 -07:00
Clayton Coleman d19aac80ea Merge pull request #5533 from smarterclayton/burn_yaml_with_fire
Burn YAML with fire (kind of)
2015-03-23 13:45:52 -04:00
Robert Bailey 75a25b5edf Merge pull request #5787 from ddysher/ignore-kubeconfig
git ignore .kubeconfig
2015-03-23 10:02:56 -07:00
Victor Marmol 9a75f8d76f Update cAdvisor dependency to latest.
Brings in new range-based requests.

Fixes #5777.
2015-03-23 09:45:12 -07:00
Victor Marmol adac4328e8 Merge pull request #5713 from AAzza/kubelet_build_parse_dockername
Refactor build/parse DockerName from Kubelet. #3511
2015-03-23 08:45:53 -07:00
Victor Marmol e7d319e4b6 Merge pull request #5778 from smarterclayton/set_default_values
Set non-zero default HTTP/File check intervals to avoid hotloop
2015-03-23 08:12:57 -07:00
Victor Marmol 4e3c07543e Merge pull request #5784 from wojtek-t/applyDefaultsInTryDecode
Hide applyDefaults method under pkg/kubelet/config
2015-03-23 07:32:00 -07:00
Deyuan Deng 1c55a45aaf git Ignore .kubeconfig 2015-03-23 10:31:55 -04:00
Clayton Coleman 6c5f7f7f64 Merge pull request #5771 from smarterclayton/split_field_errors
Move field errors to pkg/util/fielderrors
2015-03-23 10:15:04 -04:00
Wojciech Tyczynski b395c40e19 Refactor pkg/kubelet/config 2015-03-23 10:29:46 +01:00
Jerzy Szczepkowski 34a8a3a844 Running node selector predicate on kubelet.
Added checking on kubelet if scheduled pods have matching node selector. This is the last step to fix #5207.
2015-03-23 08:21:58 +01:00
Clayton Coleman 90beaa3d61 Set non-zero default HTTP/File check intervals to avoid hotloop
cmd/integration.go was hot-looping for both, but did not need to.
2015-03-23 00:47:39 -04:00
Satnam Singh 9716805613 Soak test based on serve_hostname image 2015-03-22 16:36:23 -07:00
Clayton Coleman 65425f690c Move field errors to pkg/util/fielderrors
Allows pkg/api to take a reference to labels.Selector and fields.Selector
2015-03-22 17:43:34 -04:00
Salvatore Dario Minonne 4c55689fb7 Removing dead code in labels package and chaning LabelSelector type 2015-03-22 18:03:50 +01:00
Robert Bailey a7bc9edb96 Specify bash when installing kubernetes via get.k8s.io.
Fixes #5689.
2015-03-21 22:50:29 -07:00
Nataliia Uvarova 73c2338320 Refactor build/parse dockername. #3511
Functions Build/ParseDockerName now work with struct instead of the long
list of arguments. This new struct also was reused in the kubelet.go
instead of auxilary podContainer struct.
2015-03-21 09:09:03 +01:00
Ravi Gadde 5871e53060 Add timeout to kubelet client 2015-03-20 18:46:45 -07:00
Fabio Yeon 5b77149461 Fix guestbook.sh to make it work on GKE. 2015-03-20 18:27:31 -07:00
Brian Grant ef758881d1 Merge pull request #5744 from abhgupta/abhgupta-dev
Adding documentation for headless services
2015-03-20 17:31:58 -07:00
Maxwell Forbes 38d703f24d Merge pull request #5726 from roberthbailey/gce-boot-disk
Bump the default boot disk size for GCE from 10GB to 100GB
2015-03-20 17:19:07 -07:00
Victor Marmol 4d2e7981bb Merge pull request #5730 from yujuhong/static_stats
Kubelet: support retrieving stats using UID of mirror pods
2015-03-20 17:05:23 -07:00
Brian Grant cc17181521 Merge pull request #5743 from yujuhong/fix_volume
Fix volume imports
2015-03-20 16:33:35 -07:00
Brian Grant 09585a339e Merge pull request #5740 from juzna/patch-1
Fix examples/guestbook/README.md formatting
2015-03-20 16:24:35 -07:00
Maxwell Forbes b07c46285d Merge pull request #5728 from fabioy/gke-kubeup.fix
Fix GKE kube-up code by adding project flag to network creation.
2015-03-20 16:23:09 -07:00
Yu-Ju Hong f3f3c8f151 Fix volume imports 2015-03-20 16:22:35 -07:00
Abhishek Gupta d1b7a9fb4a Adding documentation for headless services 2015-03-20 16:21:58 -07:00
Dawn Chen 67414e035b Merge pull request #5742 from yifan-gu/fix_runtime
kubelet.runtime: update the import path for volume.
2015-03-20 16:18:36 -07:00
Yifan Gu 3b4685ef6c kubelet.runtime: update the import path for volume. 2015-03-20 16:16:27 -07:00
Brian Grant a6aee290fa Merge pull request #5723 from eparis/fedora-guide
Update fedora guide and default configs
2015-03-20 16:15:44 -07:00
Jan Dolecek 7f7ac2deb6 Update README.md
Fix some formatting.
2015-03-20 22:43:07 +00:00
Yu-Ju Hong 15e9760bd4 Kubelet: support retrieving stats using UID of mirror pod
Kubelet supports retrieving stats for pods/containers with and without UID.
This does not always work for the static pods because users may get the UIDs of
the mirror pods from the API server, and use them to query Kubelet. In this
case, Kubelet would fail to locate the containers due to mismatched UIDs.

This change adds a intenral mirror to static pod UID mapping and teaches all
public-facing functions to perform UID lookup before proceeding. This allows
users to use either mirror or static pod's UID to retrieve stats.
2015-03-20 15:40:49 -07:00