Commit Graph

7247 Commits

Author SHA1 Message Date
Abhishek Shah
5c42070eeb Kill running Pod running with -net=true if kubelet does not allow it 2015-03-26 10:13:06 -07:00
Dawn Chen
8ac0cf39b1 Merge pull request #5989 from gmarek/capacity_to_status
Move Capacity from NodeSpec to NodeStatus
2015-03-26 10:11:23 -07:00
Dawn Chen
ab0e9f1d41 Fixed an issue on searching events by a given fieldSelector. The issue break
the events reported for kubectl describe pods completely.

Fixed #5957
2015-03-26 10:00:10 -07:00
Yifan Gu
a06bc96414 kubelet: Add container reference manager.
Move the reference managing logic into container reference manager.
This enables pluggable container runtime to manage the container references.
2015-03-26 09:50:54 -07:00
Tamer Tas
d5a66845b9 Minor typo 2015-03-26 16:46:51 +02:00
gmarek
5a11748018 Move Capacity from NodeSpec to NodeStatus 2015-03-26 15:28:48 +01:00
Clayton Coleman
0dd625ffd3 Order the commands in kubectl by importance and function
Move the client config commands towards the bottom, keep the primary
verbs near the top.  Version goes at the bottom.
2015-03-26 10:19:06 -04:00
Piotr Szczesniak
31901ed9d0 Changed PodInfo to be a list
This change is to make API consistent with our convention.

Fixes #3622
2015-03-26 10:15:25 +01:00
Brendan Burns
7c684e4331 Pipe through the ability to set the external hostname for swagger URLs. 2015-03-25 21:08:05 -07:00
Victor Marmol
8183a4805e Merge pull request #5973 from ArtfulCoder/pause_no_port_forward_for_net_host
Stop port forwarding from pause in net=host mode
2015-03-25 18:13:04 -07:00
Abhishek Shah
cd5ed38250 Stop port forwarding from pause in net=host mode 2015-03-25 17:55:37 -07:00
Clayton Coleman
581d7cd789 Allow resource.Builder commands to take arguments by type/name
Will allow xarg behavior to fetch resources across multiple types.
Changes 'create', 'get', 'update', 'stop', and 'delete' to output
<resourceType>/<name>.
2015-03-25 20:39:22 -04:00
Victor Marmol
b1c06eb52e Merge pull request #5969 from yujuhong/selflink
Kubelet: no need to overwrite SelfLink for pods from the apiserver
2015-03-25 16:59:56 -07:00
Vish Kannan
46751acf2e Merge pull request #5950 from vmarmol/default
Use default ContainerInfoRequest in Kubelet HTTP.
2015-03-25 16:40:31 -07:00
Vish Kannan
4b1dd0606c Merge pull request #5929 from rjnagal/node
Add validation for node creation.
2015-03-25 16:39:53 -07:00
Yu-Ju Hong
4e909c6cee Kubelet: no need to overwrite SelfLink for pods from the apiserver
Pods from the apiserver should already have SelfLink set. There is no need to
create one ourselves.
2015-03-25 16:34:02 -07:00
Satnam Singh
cd05c8b9bc Give better error message for PUTs with no resource version 2015-03-25 15:52:48 -07:00
Victor Marmol
9e77c3d7e5 Use default ContainerInfoRequest in Kubelet HTTP.
Fixes #5777.
2015-03-25 15:37:06 -07:00
Dawn Chen
af32a0aa8e Merge pull request #5952 from thockin/reset_hash_state
Reset hash state between runs.
2015-03-25 15:36:51 -07:00
Rohit Jnagal
49ff04765b Add validation for node creation. 2015-03-25 21:55:03 +00:00
Paul Morie
852362ee39 Add positive logging for secret volume plugin 2015-03-25 17:25:13 -04:00
Yu-Ju Hong
6145b3b9c4 Merge pull request #5738 from smarterclayton/cleanup_clients
Clients should not check conditions, UpdateStatus() is inconsistent
2015-03-25 13:59:47 -07:00
David Oppenheimer
76889fa3ae Merge pull request #5818 from simon3z/boot-id
nodecontroller: record node reboot event
2015-03-25 13:50:21 -07:00
Tim Hockin
9ed6c95e8e Reset hash state between runs. 2015-03-25 13:44:57 -07:00
Clayton Coleman
b1ab14315b Clients should not check conditions, UpdateStatus() is inconsistent
Corrects some of the cargo culting that has crept into the API.
2015-03-25 16:25:04 -04:00
Yu-Ju Hong
5d628770c1 Merge pull request #5926 from vmarmol/fast-test
Reduce testing time of status_manager_test.
2015-03-25 12:52:27 -07:00
Salvatore Dario Minonne
6ad5c07350 Adding a func to labels.Selector to add requirement 2015-03-25 20:37:04 +01:00
Federico Simoncelli
2db64d3f90 nodecontroller: record node reboot event
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-25 15:06:53 -04:00
Federico Simoncelli
5b3056cdb7 nodecontroller: add event recorder support
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-25 15:06:53 -04:00
Federico Simoncelli
afbf401464 nodeinfo: add boot id system information
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-25 15:06:53 -04:00
Derek Carr
bf14cbf682 Merge pull request #5930 from markturansky/fix_quota_registry_names
Changed arg names from 'pod' to 'resourceQuota'
2015-03-25 15:03:41 -04:00
Victor Marmol
65070d6d81 Reduce testing time of status_manager_test.
Adds tests for syncBatch().
2015-03-25 11:45:06 -07:00
Dawn Chen
e54cbf6e07 Merge pull request #5886 from vmarmol/net-host-1
Implement Kubelet support for HostNetwork by pod source
2015-03-25 11:41:01 -07:00
Victor Marmol
cf7e2756b5 Add HostNetworkSources capability to limit use of HostNetwork. 2015-03-25 11:23:06 -07:00
Victor Marmol
d9cd7a78f7 Allow starting a container with --net=host. 2015-03-25 11:22:03 -07:00
Clayton Coleman
27c668b54a Merge pull request #5441 from kazegusuri/port_minion_registry
Port minion registry to generic etcd
2015-03-25 14:18:17 -04:00
Victor Marmol
5eb373692b Merge pull request #5928 from yujuhong/pod_status
Kubelet: pass the acutal pod for status update
2015-03-25 10:51:32 -07:00
Victor Marmol
f7135b3dd4 Merge pull request #5827 from spothanis/master
added cloud provider flag to kubelet
2015-03-25 10:50:18 -07:00
Masahiro Sano
c49af0b7cb port minion registry to generic etcd 2015-03-26 02:44:35 +09:00
markturansky
89a17a410c changed arg names from 'pod' to 'resourceQuota' 2015-03-25 13:23:31 -04:00
Robert Bailey
659fc558f6 Merge pull request #5900 from brendandburns/api3
Add support for grabbing the externalIP in the GCE cloud provider.
2015-03-25 10:16:51 -07:00
Yu-Ju Hong
b4b0bc75c4 Kubelet: pass the acutal pod for status update
Pod status update should include the ObjectMeta of the pod. This change is
required for #5738 to merge.
2015-03-25 09:58:46 -07:00
Saad Ali
1f50bd226b Merge pull request #5854 from fgrzadkowski/delete_pod_cache
Delete pod_cache and rely on updating pod status by kublet.
2015-03-25 09:17:09 -07:00
Clayton Coleman
367284b63b Merge pull request #5767 from kazegusuri/endpoints_storage
port endpoints to generic etcd
2015-03-25 11:32:01 -04:00
Tim Hockin
61d7bb7019 Merge pull request #5800 from markturansky/yoko_pv_api
PersistentVolume & PersistentVolumeClaim API types
2015-03-25 08:24:09 -07:00
Saad Ali
c02e300096 Merge pull request #5887 from nikhiljindal/clientClient_test
Updating unit tests for pkg/client so that they pass with v1beta3 api
2015-03-25 08:05:56 -07:00
markturansky
f762b303ad PersistentVolume & PersistentVolumeClaim API types 2015-03-25 10:09:25 -04:00
Filip Grzadkowski
74da3b14b0 Delete pod_cache and rely on updating pod status by kublet. 2015-03-25 15:08:09 +01:00
Wojciech Tyczynski
c8e89bc717 Merge pull request #5853 from fgrzadkowski/better_errors
Improve error message for invalid pod spec update
2015-03-25 14:31:13 +01:00
Masahiro Sano
410e11c305 port endpoints to generic etcd 2015-03-25 22:15:19 +09:00