Commit Graph

3195 Commits (25fac68ec4cbf51ad59fa768877f089d1008cd0d)

Author SHA1 Message Date
Mike Danese 25fac68ec4 validate api version in kubectl --patch and --override. 2015-03-02 13:00:45 -08:00
Dawn Chen 93c0052263 Merge pull request #4952 from rjnagal/kubectl
Add capacity information to 'kubectl describe minion'
2015-03-02 13:09:52 -08:00
Rohit Jnagal c63f4635a4 Add capacity information to 'kubectl describe minion' 2015-03-02 19:51:30 +00:00
Zach Loafman 4937008ae0 Revert "TCPSocket could not be used as it was not checked in validation" 2015-03-02 11:14:27 -08:00
Brendan Burns c7cbc5c991 Merge pull request #4883 from smarterclayton/fix_tcpsocket_validation
TCPSocket could not be used as it was not checked in validation
2015-03-02 10:53:48 -08:00
Brendan Burns fe973461f5 Merge pull request #4916 from thockin/plural_21_endpoints
Rename type Port to ContainerPort
2015-03-02 10:53:32 -08:00
Brendan Burns 3168f165ab Merge pull request #4927 from thockin/plural_22_endpoints
Add defaults for HTTGetAction.Path & test actions
2015-03-02 10:52:55 -08:00
Brendan Burns 843fa71f2b Merge pull request #4938 from tkulczynski/opfix
Fix waiting for GCE Operations
2015-03-02 10:47:46 -08:00
Vish Kannan 445fd56739 Merge pull request #4810 from fgrzadkowski/disable_pod_status_probes
Add flag to control probing pods statuses from kubelets.
2015-03-02 09:52:05 -08:00
Filip Grzadkowski 86b1c90097 Add flag to control probing pods statuses from kubelets. 2015-03-02 16:06:14 +01:00
Tomek Kulczynski c4e786c701 Fix waiting for GCE Operations 2015-03-02 13:34:37 +01:00
Tim Hockin 532c39c336 Add defaults for HTTGetAction.Path & test actions
The comment says optional - this makes it optional.  Test handler actions.
2015-03-01 21:23:18 -08:00
Clayton Coleman d3a5a48d00 TCPSocket could not be used as it was not checked in validation
Attempting to use it gave the error "must register one handler".
Added more tests for it.
2015-03-01 22:31:57 -05:00
Alex Robinson 0d5fe5d078 Use a prometheus Histogram rather than a Summary for tracking apiserver latency. 2015-03-02 02:15:16 +00:00
Zach Loafman 5f35a67002 Revert "Adding converter functions to convert field label selectors to internal version before matching" 2015-02-28 11:42:49 -08:00
Tim Hockin ea548b8260 Rename type Port to ContainerPort
Sadly I had to do this by hand - I just could not get gorename to fix up
users of it.
2015-02-27 21:05:59 -08:00
Dawn Chen 0fec31a11e Merge pull request #4918 from vmarmol/handle-crash
Handle crash in per-pod thread and container killer.
2015-02-27 16:54:37 -08:00
Victor Marmol c7e7ecdf2c Handle crash in per-pod thread and container killer. 2015-02-27 16:33:46 -08:00
Daniel Smith d68c738fcf Merge pull request #4575 from nikhiljindal/versionedFieldSelector
Adding converter functions to convert field label selectors to internal version before matching
2015-02-27 16:33:15 -08:00
nikhiljindal 48e7945f65 Versioning the field selectors 2015-02-27 16:10:59 -08:00
Victor Marmol cc3c4414f8 Merge pull request #4915 from yujuhong/hostport
kubelet: record an event with a clear reason on host port conflict
2015-02-27 16:04:04 -08:00
Yu-Ju Hong 241df2d3be kubelet: record an event with a clear reason on host port conflict
Currently, kubelet silently ignores pods that caused host port conflict. This
commit surfaces the error by recording an event.

It also makes sure that kubelet iterates through the pods in the order of the
creation timestamp, which ensures that pods created later are ignored on
conflict.
2015-02-27 15:51:53 -08:00
Victor Marmol 556acc792b Adding ContainersPerPodCount metric.
This will let us know the composition of pods in clusters.
2015-02-27 11:27:09 -08:00
Victor Marmol a9301b1996 Adding metric for latency of SyncPods (synching all pods). 2015-02-27 11:11:43 -08:00
Rohit Jnagal 1444e59fc9 Merge pull request #4904 from vmarmol/mon-docker
Adding metrics to measure latency of Docker operations.
2015-02-27 11:08:38 -08:00
Deyuan Deng 164ccd7af4 Merge pull request #4808 from jszczepkowski/node-probes-disabled
Node controller supports disabling node probes.
2015-02-27 13:30:49 -05:00
Victor Marmol cbf93822ac Adding metrics to measure latency of Docker operations.
Part of #4604.
2015-02-27 10:26:06 -08:00
Brian Grant 900d58ec94 Merge pull request #4899 from lhuard1A/fix_panic_kube_apiserver
Fix nil pointer dereference in kube-apiserver when etcd is not there
2015-02-27 10:10:50 -08:00
Rohit Jnagal c6175facfb Merge pull request #4901 from vmarmol/mon-startup
Adding sync pod latency metric (again).
2015-02-27 10:08:25 -08:00
Jeff Lowdermilk 537d8cf26f Merge pull request #4886 from brendandburns/kubecfg
Add a "Created" column to the pod view.
2015-02-27 10:05:23 -08:00
Tim Hockin 770966c66c Merge pull request #4900 from lhuard1A/fix_kubernetes_services
Fix `kubernetes` and `kubernetes-ro` services creation
2015-02-27 09:38:02 -08:00
Victor Marmol ed0f5885b5 Adding sync pod latency metric (again).
Latency is broken down by create, update, and sync pods.

Part of #4604.
2015-02-27 09:35:20 -08:00
Lénaïc Huard cd719d97df Fix `kubernetes` and `kubernetes-ro` services creation
If `kube-apiserver` is started before `etcd` is reachable, `kube-apiserver`
fails to create those services.
However, in the `Create` function, an IP has already been reserved for them.
When `etcd` comes back, the `Create` function fails because it considers that
the IP is already used.

If the service couldn't be created, the reserved IP should be released.
2015-02-27 18:01:03 +01:00
Lénaïc Huard 060ebfcea0 Fix nil pointer dereference in kube-apiserver when etcd is not there 2015-02-27 17:33:02 +01:00
Wojciech Tyczynski a973f57d6b Thread per pod 2015-02-27 13:27:29 +01:00
Jerzy Szczepkowski e0548c3c03 Node controller supports disabling node probes.
Node controller supports disabling sending node probes and updating node statuses. Controlled by --sync_node_status flag. Resolves #4565.
2015-02-27 08:21:04 +01:00
Brendan Burns ceac670eae Add a human readable created since column to kubectl. 2015-02-26 22:16:23 -08:00
Brian Grant 6b19c13004 Merge pull request #4802 from brendandburns/log
Add specific errors for missing kind and version.
2015-02-26 15:33:18 -08:00
Brendan Burns 0d23875c99 Merge pull request #4497 from swagiaal/health-check-hostname-mismatch
WIP: Catch kubelet-master hostname mismatch during health check
2015-02-26 14:48:21 -08:00
Brendan Burns a862c37b29 Merge pull request #4383 from simon3z/instances-id
cloudprovider: add instance id to NodeSpec
2015-02-26 14:13:49 -08:00
Eric Tune e77745672c Merge pull request #4577 from satnam6502/cluster-name
Qualify the name of forwarding rules with INSTANCE_PREFIX
2015-02-26 13:17:49 -08:00
Brendan Burns 7665b2668f Merge pull request #4770 from gmarek/client4
Add waiting for GCE operations to finish before proceeding in various functions.
2015-02-26 13:05:11 -08:00
Federico Simoncelli b942b1cb71 vagrant: report the nodes external id
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:13 +00:00
Federico Simoncelli bfb93a1928 openstack: report the nodes external id
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:13 +00:00
Federico Simoncelli ad6091be99 gce: report the nodes external id
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:13 +00:00
Federico Simoncelli 6b16f80dc1 aws: report the nodes external id
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Federico Simoncelli 1fc56aa023 ovirt: report the nodes external id
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Federico Simoncelli a450da4fd0 cloudprovider: add instance id to NodeSpec
Sometimes for external applications it is important to identify the
cloud instance of the nodes. Until this patch there was no contract
that the node name returned by List was also the unique identifier of
the cloud instance. This new API ensures that an external application
can reliably retrieve the relevant instance id of the nodes.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Federico Simoncelli 8844c06574 ovirt: fetch instance ip address from rest-api
This patch adds the support for returning the ip address of the instances
when reported by the guest-agent and from the rest-api.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Jeff Grafton c2e7e2d029 Revert "Adding sync pod latency metric." and "Thread-per-pod model in Kubelet."
This reverts commits 744f33d886 and
7191c5c7fd.
2015-02-26 12:15:28 -08:00