Commit Graph

9752 Commits

Author SHA1 Message Date
dingh
71b98840c8 Listing available algorithm providers in scheduler
List the available algorithm providers with 'kube-scheduler --help' under field `algorithm_provider`
2015-04-22 06:54:24 +08:00
Patrick Reilly
fe388a6b79 fix typo 2015-04-21 15:46:52 -07:00
Yu-Ju Hong
06125f37d3 Print container statuses in kubectl get pods
`kubectl get pod` already prints one container per line. This change fills in
the status for each container listed. This aims to help users quickly identify
unhealthy pods (e.g. in a crash loop) at a glance.

 - The first row of every pod would display the pod information and status
 - Each row of the subsequent rows corresponds to a container in that pod:
    * STATUS refers to the container status (Running, Waiting, Terminated).
    * CREATED refers to the elapsed time since the last start time of the
      container.
    * MESSAGE is a string which explains the last termination reason, and/or
      the reason behind the waiting status.
2015-04-21 15:42:18 -07:00
Brendan Burns
78dabbdb7f Fix the ssh-to-node to actually fail on failures. 2015-04-21 15:27:38 -07:00
Robert Bailey
d84393cb08 Merge pull request #7141 from brendandburns/fix
Fix kube-apiserver restart.
2015-04-21 15:27:23 -07:00
Alex Robinson
a9902fe932 Update the external load balancer test to use a different namespace in
each run, making stuck resources less painful.
2015-04-21 22:19:22 +00:00
Brendan Burns
71e6b05825 Fix kube-apiserver restart. 2015-04-21 15:11:00 -07:00
Derek Carr
cf27fd12c1 Merge pull request #6278 from akram/fix_port_forward_listner_parsing_ipv4_ipv6
Fixes an issue with hosts having an IPv6 address on localhost
2015-04-21 18:04:02 -04:00
Clayton Coleman
250a9889f7 Merge pull request #7093 from derekwaynecarr/ref_update
Fixup event object reference generation to allow downstream objects
2015-04-21 17:55:02 -04:00
Yifan Gu
611fb25926 kubelet: Refactor GetDockerVersion().
Remove GetDockerServerVersion() from DockerContainerCommandRunner interface,
replaced with runtime.Version(). Also added Version type in runtime for version
comparision.
2015-04-21 14:52:08 -07:00
Robert Bailey
0035781c50 Merge pull request #7137 from brendandburns/fix
Fix kube-apiserver restart.
2015-04-21 14:33:54 -07:00
Abhishek Gupta
c203117e42 Including balanced resource allocation priority in the default set 2015-04-21 14:25:42 -07:00
Tim Hockin
fa648c17cb Merge pull request #7131 from rjnagal/node
Convert error strings to proper validation errors.
2015-04-21 14:15:32 -07:00
Ravi Sankar Penta
f1d88f6d2f Record an event on node schedulable changes 2015-04-21 14:14:59 -07:00
Brendan Burns
9d715226d6 Fix kube-apiserver restart. 2015-04-21 13:59:26 -07:00
Yifan Gu
5594981340 kubelet: Refactor computePodContainerChanges().
Pull generatePodStatus() and makePodDataDirs() out as they are the
common part for container runtimes.
2015-04-21 13:53:20 -07:00
Brian Grant
7d3c15dd4d Merge pull request #6996 from ironcladlou/rolling-updater-cleanup-policy
Add cleanup policy to RollingUpdater
2015-04-21 13:47:12 -07:00
Robert Bailey
63dece9b74 Merge pull request #7135 from GoogleCloudPlatform/revert-7124-revert-validate.fix
Revert "Rollback "validate-cluster.sh" to previous version."
2015-04-21 13:44:54 -07:00
Rohit Jnagal
bfb4b7280d Convert error strings to validation errors. 2015-04-21 20:35:46 +00:00
Robert Bailey
8745ebce15 Revert "Rollback "validate-cluster.sh" to previous version." 2015-04-21 13:30:16 -07:00
Fabio Yeon
e0b754d590 Merge pull request #7096 from brendandburns/hyperkube
Update CHANGELOG.
2015-04-21 13:20:21 -07:00
Brian Grant
7f0258ff83 Merge pull request #6963 from davidopp/master
Fix some wording in cluster management doc.
2015-04-21 13:17:00 -07:00
Brian Grant
7977949767 Merge pull request #6593 from derekwaynecarr/object_counts
ResourceQuota add object count support for secret and volume claims
2015-04-21 13:16:00 -07:00
Brian Grant
cf523a23d0 Merge pull request #6985 from csrwng/fix_pod_log_location
Use Pod.Spec.Host instead of Pod.Status.HostIP for pod subresources
2015-04-21 12:58:47 -07:00
Brian Grant
8ae4cb384e Merge pull request #6992 from yujuhong/kill_pods
Prioritize deleting the non-running pods when reducing replicas
2015-04-21 12:58:21 -07:00
Patrick Reilly
f9d5629c5c Update README to address issues
Update README to address issues in https://github.com/GoogleCloudPlatform/kubernetes/issues/7122
Providing a bit more clarity to how to test and develop the kubernetes Web UI.
2015-04-21 12:49:15 -07:00
derekwaynecarr
3445bd5806 Fixup event object reference generation to allow downstream objects to have an event 2015-04-21 15:31:38 -04:00
Robert Bailey
b9904f63d4 Merge pull request #7124 from fabioy/revert-validate.fix
Rollback "validate-cluster.sh" to previous version.
2015-04-21 12:29:54 -07:00
caesarxuchao
e9c5e44767 Use service UID as the ELB name 2015-04-21 12:20:42 -07:00
Daniel Smith
1ebe994ba7 Merge pull request #7056 from kubernetes-ui/kubernetes-ui-dashboard
Kubernetes UI with Dashboard component
2015-04-21 12:16:47 -07:00
Robert Bailey
a50e02bb3b Merge pull request #7078 from jlowdermilk/gke-kubectl
Use standalone kubectl for gke, remove special case for vagrant
2015-04-21 12:11:45 -07:00
Fabio Yeon
12db42e4f0 Rollback "validate-cluster.sh" to previous version. 2015-04-21 12:09:34 -07:00
Ido Shamun
29b64bf64c update etcd2 configuration 2015-04-21 22:05:39 +03:00
Fabio Yeon
178d299a4a Merge pull request #7117 from markturansky/typos
Fixed typo in README.md
2015-04-21 11:57:09 -07:00
Fabio Yeon
0163ebf224 Merge pull request #7106 from justinsb/aws_fakeec2_filter_by_instanceid
Add FakeEC2 Instances support for matching by instance id
2015-04-21 11:39:25 -07:00
Tim Hockin
5ff76bfdab Merge pull request #7102 from jsafrane/devel/fix-gluster-namespace
Use pod namespace when looking for its GlusterFS endpoints.
2015-04-21 11:18:52 -07:00
Akram Ben Aissi
b7fc22be8a Fixes an issue with hosts having an IPv6 address on localhost
- When 'getent hosts localhost' returns '::1' the creation of the
  listener fails because of the port parsing which uses ":" as a
separator
- Use of net.SplitHostPort() to do the job
- Adding unit tests to ensure that the creation succeeds
- On docker.go: adds a test on the presence the socat command which was
  failing silenty if not installed

- Code Review 1
  - Fixed typo on Expected
  - The UT now fails if the PortForwarder could not be created

- Code Review 2
  - Simplify socat error message
  - Changing t.Fatal to to.Error on unit tests

- Code Review 3
  - Removing useless uses cases in unit tests

- Code Review 4
  - Removing useless initiliasiation of PortForwarder
  - Changing error message

- Code Review 5
  - Simplifying TestCast struct
  - Adding addition test in one test case
  - Closing the listener

- Code Review 6
  - Improving unit test
2015-04-21 20:16:22 +02:00
Jeff Lowdermilk
70a576e25a Use standalone kubectl for gke, remove special case for vagrant
also fix hack/local-up-cluster.sh kubeconfig instructions
2015-04-21 11:01:45 -07:00
markturansky
0b6eb6c05b Fixed typo in README.md 2015-04-21 13:58:28 -04:00
Robert Rati
020ba6a6c7 Converted from continually listing events to using an Informer #6637 2015-04-21 13:57:16 -04:00
Robert Rati
23c5b7714e Bounded the loop waiting for all events to be logged and print a warning
if not all are logged 10 minutes after all pods are started #6637
2015-04-21 13:57:16 -04:00
Robert Rati
93d1040fcd Add checking of events after all pods started to verify no failures in
density test #6637
2015-04-21 13:57:15 -04:00
Derek Carr
74d6f30b3c Merge pull request #7022 from markturansky/ns_controller_indempotent
Made NamespaceManager.Run idempotent and added graceful shutdown
2015-04-21 13:55:14 -04:00
Yu-Ju Hong
df2cbd4877 Prioritize deleting the non-running pods when reducing replicas
This changes instructs the replication controller to delete replicas in the
order of "unscheduled (pending)", "scheduled (pending)", and "scheduled
(running)" pods. This is less disruptive than deleting random pods.
2015-04-21 10:17:29 -07:00
Eric Tune
b944049fe9 Merge pull request #6916 from ArtfulCoder/controller-in-a-pod
kube-controller-manager in a pod.
2015-04-21 09:58:29 -07:00
Zach Loafman
2a3e0796f8 Merge pull request #7108 from jayunit100/kubectl-1
Use --host option even if kubecontext is not provided.
2015-04-21 09:33:21 -07:00
Eric Tune
2ca8a9d15d Added kube-proxy token.
Generates the new token on AWS, GCE, Vagrant.
Renames instance metadata from "kube-token" to "kubelet-token".
(Is this okay for GKE?)

Having separate tokens for kubelet and kube-proxy permits
using principle of least privilege, makes it easy to
rate limit the clients separately, allows annotation
of apiserver logs with the client identity at a finer grain
than just source-ip.
2015-04-21 09:21:31 -07:00
Eric Tune
7475efbcfb Extend PR#5470 for AWS and Vagrant 2015-04-21 08:22:31 -07:00
Victor Marmol
4b9a64bcd8 Merge pull request #7098 from yifan-gu/handler
kubelet: Refactor runHandler().
2015-04-21 08:14:42 -07:00
Dan Mace
093b7c2e25 Add cleanup policy to RollingUpdater
* Support configurable cleanup policies in RollingUpdater. Downstream
library consumers don't necessarily have the same rules for post
deployment cleanup; making the behavior policy driven is more flexible.

* Refactor RollingUpdater to accept a config object during Update instead
of a long argument list.

* Add test coverage for cleanup policy.
2015-04-21 10:51:38 -04:00