Commit Graph

3217 Commits (bf4ab78ce95f8490c329010da0eb71980c47de88)

Author SHA1 Message Date
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
Rohit Jnagal e455ee5d2e Merge pull request #4765 from brendandburns/scheduler
Log a better error with useful info on scheduling failures.
2015-02-26 12:01:04 -08:00
Rohit Jnagal da0885c896 Merge pull request #4818 from vmarmol/mon-startup
Adding sync pod latency metric.
2015-02-26 11:31:33 -08:00
Brendan Burns 877f605dc0 Add specific errors for missing kind and version. 2015-02-26 11:19:04 -08:00
Victor Marmol 744f33d886 Adding sync pod latency metric.
Latency is broken down by create, update, and sync pods.

Part of #4604.
2015-02-26 11:13:04 -08:00
Alex Robinson 39c343d57e Merge pull request #4856 from nikhiljindal/expvar
Stop importing expvar
2015-02-26 11:02:41 -08:00
nikhiljindal b771a56435 Stop importing expvar 2015-02-26 10:47:58 -08:00
Wojciech Tyczynski 7191c5c7fd Thread-per-pod model in Kubelet. 2015-02-26 17:58:57 +01:00
Sami Wagiaalla 9150cb9d95 Catch kubelet-master hostname mismatch during health check
During the kubelet's /healthz responce check to see if the
hostname used by the master matches the hostname the kubelet
knows itself by. If not fail the health check.

Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-02-26 10:22:03 -05:00
Vish Kannan e3af23e6e9 Merge pull request #4792 from vmarmol/mon-containers-per-pod
Add Kubelet metrics for pod and container counts.
2015-02-25 18:51:22 -08:00
Deyuan Deng d47fd48e55 Fix delete pod namespace; include error message when failed deleting pods 2015-02-25 20:03:22 -05:00
Victor Marmol 95464349d5 Add Kubelet metrics for pod and container counts.
Part of #4604.
2015-02-25 12:18:59 -08:00
Daniel Smith ec8ecf3993 Merge pull request #4494 from brendandburns/race
Add protection for the pods member varaible.
2015-02-25 10:41:32 -08:00
Vish Kannan aaa4a354d4 Merge pull request #4735 from screeley44/v1beta3_enablement
#4544 - Fix inadvertent whitespace in v1beta3 enablement
2015-02-25 10:06:11 -08:00
Brian Grant 3f69112e02 Merge pull request #4766 from mikedanese/remove-util-merge
Remove pkg/util/merge and replace with evanphx/json-patch
2015-02-25 09:22:01 -08:00
Salvatore Dario Minonne 0186acc37c Extending label.Parse method to support exact match 2015-02-25 08:52:20 +01:00
gmarek 0be5aa52e6 Apply comments 2015-02-25 08:06:45 +01:00
Brendan Burns 801ad909ca Add protection for the pods member varaible.
Address comments.
2015-02-24 19:36:11 -08:00
Justin Santa Barbara e457286983 Fix typo: registrying -> registering 2015-02-24 16:21:14 -08:00
Vish Kannan 32694a770c Merge pull request #4778 from lavalamp/fix7
Construct path correctly in proxy
2015-02-24 16:14:05 -08:00
Vish Kannan 0b15f2ff65 Merge pull request #4784 from vmarmol/pod-restart
Kill infra pod when a container is restarted.
2015-02-24 13:37:08 -08:00
Deyuan Deng f2698e5905 Merge pull request #4267 from rsokolowski/guestbook-doc
Update guestbook example to use replication controller instead of a naked pod.
2015-02-24 15:57:27 -05:00
Vish Kannan c561c8b0b1 Merge pull request #4753 from vmarmol/mon
First Kubelet metric and overall plumbing.
2015-02-24 12:51:34 -08:00
Jeff Lowdermilk be124b3cd0 Merge pull request #4786 from GoogleCloudPlatform/revert-4660-deads-make-default-display-yaml
Revert "fix kubectl config view to respect serialization formats"
2015-02-24 12:18:31 -08:00
Vish Kannan 68c4ae7f0c Merge pull request #4776 from brendandburns/log
Prompt the user to select a container if they don't provide one
2015-02-24 12:10:18 -08:00
Jeff Lowdermilk 8cfe099af1 Revert "fix kubectl config view to respect serialization formats" 2015-02-24 12:06:24 -08:00
Victor Marmol aadbf221d2 Kill infra pod when a container is restarted.
Revert 0e20f7d736.
Fixes #4759.
2015-02-24 11:52:05 -08:00
Scott Creeley 40c03b057a Fix whitespace in v1beta3 enablement 2015-02-24 14:49:54 -05:00
rsokolowski 635281ebe3 Update guestbook example to use replication controller. 2015-02-24 20:21:13 +01:00
Rohit Jnagal e77322a561 Merge pull request #4755 from yifan-gu/cleanup
pkg/kubelet: Fix logging.
2015-02-24 10:12:02 -08:00
Rohit Jnagal a0722376ee Merge pull request #4760 from ddysher/kubectl-endpoint-list
kubectl print endpoint list
2015-02-24 10:11:23 -08:00
Rohit Jnagal 590a62ffe5 Merge pull request #4767 from mikedanese/kind-to-type
Rename {Node,Pod}ConditionKind -> {Node,Pod}ConditionType
2015-02-24 10:10:57 -08:00
Daniel Smith ec58e6d78e use correct path for proxy replacements 2015-02-24 10:10:06 -08:00
Daniel Smith 78d05e5307 add URL path generation function 2015-02-24 10:10:04 -08:00
Daniel Smith 2d56547524 refactor proxy upgrade path 2015-02-24 10:10:02 -08:00
Yifan Gu 1a5a842ac5 pkg/kubelet: Fix logging. 2015-02-24 09:47:10 -08:00
Daniel Smith 6241a211c8 Merge pull request #4768 from nikhiljindal/fixPrefix
APIServer: Updating special verb handlers to accept full request path rather than a trimmed one
2015-02-24 08:04:30 -08:00
Clayton Coleman 76926ec314 Merge pull request #4660 from deads2k/deads-make-default-display-yaml
fix kubectl config view to respect serialization formats
2015-02-24 07:56:57 -08:00
Brendan Burns eefaafc214 Prompt the user to select a container if they don't provide one
and we can't infer it.
2015-02-24 06:50:22 -08:00
deads2k 6358bf2e30 add example for default view serialization 2015-02-24 08:54:03 -05:00
gmarek 9996654c4c Add waiting for GCE operations to finish before proceeding in various
functions.
2015-02-24 14:32:21 +01:00
nikhiljindal 905a3f7909 Updating the handlers to accept full request path rather than a trimmed one 2015-02-24 00:37:20 -08:00
Wojciech Tyczynski dcef5e2955 Introduce DockerCache in Kubelet. 2015-02-24 09:10:07 +01:00
Mike Danese 5267127af1 api: rename conditionkind -> conditiontype 2015-02-23 22:13:21 -08:00
Mike Danese 88e1ab3cbe replace pkg/util/merge with evanphx/json-patch 2015-02-23 20:55:30 -08:00
Brendan Burns 33f6576f61 Log a better error with useful info on scheduling failures. 2015-02-23 20:36:22 -08:00
Deyuan Deng 515314fb8a Fix kubectl print endpoint list 2015-02-23 21:20:10 -05:00
Satnam Singh 19b927ea57 Name a cluster and use it to make forwarding rules for GCE 2015-02-23 17:04:33 -08:00
Victor Marmol c40a60e945 Adding image pull latency metric.
Also adding TODOs for other metrics.

Part of #4604.
2015-02-23 16:30:29 -08:00
Rohit Jnagal 50700419ea Merge pull request #4732 from yifan-gu/cleanup
Remove outdated const.
2015-02-23 16:06:32 -08:00
Victor Marmol f5beb04c53 Adding Prometheus /metrics handler. 2015-02-23 15:42:04 -08:00
Victor Marmol d880be0301 Merge pull request #4738 from vmarmol/fix-pull
Remove pullLock from Kubelet.
2015-02-23 14:34:10 -08:00
Rohit Jnagal b261d8c60a Merge pull request #4724 from mikedanese/readiness-states-cleanup
Don't lock readinessStates on concurrent reads
2015-02-23 14:29:11 -08:00
Rohit Jnagal cbcd35539f Merge pull request #4718 from cjcullen/pdtest
Fix PD detach (fix the mount path/device name calculation).
2015-02-23 14:28:02 -08:00
Daniel Smith 3dc8b7ac69 Merge pull request #4707 from thockin/balancer
Refactor RR load balancer, fix bug
2015-02-23 13:56:40 -08:00
Daniel Smith 650f6cb826 Revert "Multi-port Endpoints" 2015-02-23 13:53:21 -08:00
Tim Hockin eed36455a7 Merge pull request #4653 from thockin/secret_fixups
Secrets fixups
2015-02-23 13:49:19 -08:00
Daniel Smith 502f040129 Merge pull request #4712 from thockin/plural_30_endpoints
Multi-port Endpoints
2015-02-23 13:48:37 -08:00
Daniel Smith dec46ad9cb Merge pull request #4702 from smarterclayton/always_return_endpoints
Endpoints should not be omitempty for ease of client use
2015-02-23 13:47:46 -08:00
Victor Marmol a6d975c929 Remove pullLock from Kubelet.
The lock was only ever used to grab a read lock before container pulls.
2015-02-23 13:27:55 -08:00
Tim Hockin 5dc98968c3 Refactor load balancer.
Flatten 3 parallel maps into a map to structs (balancerState).
2015-02-23 12:59:59 -08:00
Tim Hockin 8503c34694 Fix unprotected shared state in load balancer 2015-02-23 12:59:35 -08:00
Tim Hockin e88134f736 Some renames in round-robin balancer
Making a clear path for more service port changes,making this code more
comprehensible.
2015-02-23 12:56:44 -08:00
Tim Hockin 37b8c14a4f use a strong type for loadbalancer keys 2015-02-23 12:56:44 -08:00
Tim Hockin 3e7248f0f4 comments on base64-ness of secrets 2015-02-23 12:40:06 -08:00
Tim Hockin 607b736a3f Rename volume source types to be consistent. 2015-02-23 12:39:57 -08:00
Tim Hockin 8bdfc352ce minor fixups as I review secrets 2015-02-23 12:39:47 -08:00
CJ Cullen 54e8240916 Fix PD detach (fix the mount path/device name calculation).
Fix readonly PD attach (don't try to format).
Add an e2e test to verify that PDs are attached and detached correctly.
Add an e2e test to verify that readonly PDs can be attached to >1 pods.
2015-02-23 12:19:22 -08:00
Yifan Gu a631252abf Remove outdated const. 2015-02-23 11:00:38 -08:00
Mike Danese d6fb8ce05a Don't lock readinessStates on concurrent reads. 2015-02-23 10:49:39 -08:00
Tomek Kulczynski 09c955f94e Add node's IP range cidr to NodeSpec 2015-02-23 19:47:50 +01:00
Rohit Jnagal 28dd73dd8c Merge pull request #4667 from endocode/kbeecher/multi-resource
Adds support for multiple resources to kubectl
2015-02-23 10:29:32 -08:00
Clayton Coleman 7a3405fded Endpoints should not be omitempty for ease of client use 2015-02-23 13:18:31 -05:00
Rohit Jnagal 33855c2286 Merge pull request #4696 from kazegusuri/rollingupdate-namespace-aware
use default namespace to do rollingupdate
2015-02-23 10:15:03 -08:00
Rohit Jnagal efc4db280d Merge pull request #4703 from smarterclayton/describe_portal_on_service
Add PortalIP to Service describe
2015-02-23 10:07:51 -08:00
Eric Tune c70c410f25 Merge pull request #4687 from ncdc/master
Move golang code to third_party
2015-02-23 08:25:23 -08:00
Victor Marmol 3bfc07fcd3 Merge pull request #4697 from ddysher/node-describe-pod
Add pod name to node describe
2015-02-23 08:21:56 -08:00
Victor Marmol bc564576cf Merge pull request #4704 from smarterclayton/add_svc_shorthand
'svc' is a much clearer shorthand for "Service" than "se"
2015-02-23 08:21:40 -08:00
Tim Hockin 160f288832 Implement multi-port Endpoints
This is a part of multi-port services.
2015-02-22 09:35:12 -08:00