Derek Carr
8aaaca0f69
kubelet was sending negative allocatable values
2017-05-26 13:01:24 -04:00
Hemant Kumar
951a36aac7
Add Keepterminatedpodvolumes as a annotation on node
...
and lets make sure that controller respects it
and doesn't detaches mounted volumes.
2017-05-11 22:31:14 -04:00
wlan0
45d2bc06b7
cloud initialize node in external cloud controller
2017-05-05 16:51:45 -07:00
NickrenREN
7d00e5cfb6
remove deprecated NodeLegacyHostIP
2017-04-24 11:01:25 +08:00
Chao Xu
d4850b6c2b
move pkg/api/v1/helpers.go to subpackage
2017-04-14 14:25:11 -07:00
Kubernetes Submit Queue
b0a05b4597
Merge pull request #42474 from k82cn/rm_empty_line_kl
...
Automatic merge from submit-queue
Removed un-necessary empty line.
2017-04-14 07:23:11 -07:00
Piotr Szczesniak
9bd05bdee4
Setup fluentd-ds-ready label in startup script not in kubelet
2017-03-16 13:18:31 +01:00
Connor Doyle
364dbc0ca5
Revert "Revert "Pods pending due to insufficient OIR should get scheduled once sufficient OIR becomes available.""
...
- This reverts commit 60758f3fff
.
- Disabled opaque integer resource end-to-end tests.
2017-03-06 17:48:09 -08:00
Dawn Chen
60758f3fff
Revert "Pods pending due to insufficient OIR should get scheduled once sufficient OIR becomes available."
2017-03-06 14:27:17 -08:00
Connor Doyle
8a42189690
Fix unbounded growth of cached OIRs in sched cache
...
- Added schedulercache.Resource.SetOpaque helper.
- Amend kubelet allocatable sync so that when OIRs are removed from capacity
they are also removed from allocatable.
- Fixes #41861 .
2017-03-04 09:26:22 -08:00
Klaus Ma
41c4426a30
Removed un-necessary empty line.
2017-03-03 19:43:48 +08:00
Vishnu kannan
3b0a408e3b
improve gpu integration
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2017-02-28 11:27:53 -08:00
Hui-Zhi
57c77ffbdd
Add support for multiple nvidia gpus
2017-02-28 11:24:48 -08:00
Vishnu Kannan
cc5f5474d5
add support for node allocatable phase 2 to kubelet
...
Signed-off-by: Vishnu Kannan <vishnuk@google.com>
2017-02-27 21:24:44 -08:00
Avesh Agarwal
9b640838a5
Change taint/toleration annotations to api fields.
2017-02-22 09:27:42 -05:00
Klaus Ma
cc26fe6ee9
Removed unnecessarly empty line.
2017-02-06 11:10:34 +08:00
Dr. Stefan Schimanski
bc6fdd925d
pkg/api/resource: move to apimachinery
2017-01-29 21:41:44 +01:00
Wojciech Tyczynski
2d0fe16463
Minor cleanup in getting from apiserver cache in kubelet
2017-01-27 15:36:37 +01:00
Mike Bryant
a507777de8
Change logging function to formatting version
2017-01-20 11:24:05 +00:00
Jordan Liggitt
e49554501f
Use versioned Taint/Toleration/AllowPods objects when marshalling
2017-01-18 12:52:14 -05:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
deads2k
77b4d55982
mechanical
2017-01-16 09:35:12 -05:00
Kubernetes Submit Queue
e73e749459
Merge pull request #39679 from errows/fix_sucessfully_typos
...
Automatic merge from submit-queue (batch tested with PRs 39417, 39679)
Fix 2 `sucessfully` typos
**What this PR does / why we need it**: Only fixes two typos in comments/logging
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Special notes for your reviewer**:
**Release note**:
```release-note
```
2017-01-14 19:51:09 -08:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Marc-Antoine Ross
c01c7023a0
Fix 2 sucessfully
typos
2017-01-10 10:37:45 -05:00
NickrenREN
fd336cde07
drop SetNodeStatus() function and fix some function notes words
...
drop SetNodeStatus() Since it is never called now. klet.defaultNodeStatusFuncs() is set to klet.setNodeStatusFuncs now and setNodeStatus() function is called by other functions.
2017-01-03 11:26:50 +08:00
Kubernetes Submit Queue
87444522d0
Merge pull request #32088 from piosz/fluentd-daemon-set
...
Automatic merge from submit-queue
Migrated fluentd addon to daemon set
fix #23224
supersedes #23306
``` release-note
Migrated fluentd addon to daemon set
```
2016-12-15 23:04:40 -08:00
Piotr Szczesniak
c00e57789d
Added upgrade story from manifest pod to ds
2016-12-15 13:48:32 +01:00
Wojciech Tyczynski
6e336bfab6
Use Get from cache in apiserver in kubelet
2016-12-13 17:14:56 +01:00
Seth Jennings
a40b15d8bd
error in setNodeStatus func should not abort node status update
2016-12-12 09:29:24 -06:00
Kubernetes Submit Queue
43233caaf0
Merge pull request #37871 from Random-Liu/use-patch-in-kubelet
...
Automatic merge from submit-queue (batch tested with PRs 36692, 37871)
Use PatchStatus to update node status in kubelet.
Fixes https://github.com/kubernetes/kubernetes/issues/37771 .
This PR changes kubelet to update node status with `PatchStatus`.
@caesarxuchao @ymqytw told me that there is a limitation of current `CreateTwoWayMergePatch`, it doesn't support primitive type slice which uses strategic merge.
* I checked the node status, the only primitive type slices in NodeStatus are as follows, they are not using strategic merge:
* [`ContainerImage.Names`](https://github.com/kubernetes/kubernetes/blob/master/pkg/api/v1/types.go#L2963 )
* [`VolumesInUse`](https://github.com/kubernetes/kubernetes/blob/master/pkg/api/v1/types.go#L2909 )
* Volume package is already [using `CreateStrategicMergePath` to generate node status update patch](https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/volume/attachdetach/statusupdater/node_status_updater.go#L111 ), and till now everything is fine.
@yujuhong @dchen1107
/cc @kubernetes/sig-node
2016-12-09 11:29:11 -08:00
Wojciech Tyczynski
e8d1cba875
GetOptions in client calls
2016-12-09 09:42:01 +01:00
Kubernetes Submit Queue
362dc81d8e
Merge pull request #37713 from yujuhong/log_notready_message
...
Automatic merge from submit-queue (batch tested with PRs 36736, 35956, 35655, 37713, 38316)
Log the condition when node becomes not ready
2016-12-08 19:51:58 -08:00
Random-Liu
beba1ebbf8
Use PatchStatus to update node status in kubelet.
2016-12-08 17:13:59 -08:00
Mike Danese
e225625a80
add a configuration for kubelet to register as a node with taints
...
and deprecate register-schedulable
2016-12-06 10:32:54 -08:00
Clayton Coleman
3454a8d52c
refactor: update bazel, codec, and gofmt
2016-12-03 19:10:53 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
Wojciech Tyczynski
54d49cb404
While updating NodeStatus, only first get served from cache
2016-12-01 11:07:37 +01:00
Yu-Ju Hong
b216080980
Log the condition when node becomes not ready
...
This improves debuggability.
2016-11-30 12:18:08 -08:00
Pengfei Ni
f584ed4398
Fix package aliases to follow golang convention
2016-11-30 15:40:50 +08:00
Chao Xu
5e1adf91df
cmd/kubelet
2016-11-23 15:53:09 -08:00
Alexander Block
ffce5dbbf4
Fix setNodeAddress in combination with cloud providers
...
Actually update node.Status.Addresses when the host name was provided by
the cloud provider.
2016-11-07 14:34:34 +01:00
Kubernetes Submit Queue
182a09c3c7
Merge pull request #35526 from justinsb/fix_35521_b
...
Automatic merge from submit-queue
kubelet bootstrap: start hostNetwork pods before we have PodCIDR
Network readiness was checked in the pod admission phase, but pods that
fail admission are not retried. Move the check to the pod start phase.
Issue #35409
Issue #35521
2016-11-06 12:53:14 -08:00
Kubernetes Submit Queue
4b1e36f970
Merge pull request #36190 from dashpole/revert_node_inode_pressure_split
...
Automatic merge from submit-queue
We only report diskpressure to users, and no longer report inodepressure
See #36180 for more information on why #33218 was reverted.
2016-11-06 03:00:34 -08:00
David Ashpole
9aca40dee6
revert #33218 . dont need #36180 . We only use diskpressure
2016-11-04 08:29:27 -07:00
Justin Santa Barbara
ab6d938247
Don't add duplicate Hostname address
...
If the cloudprovider returned an address of type Hostname, we shouldn't
add a duplicate one.
2016-11-04 10:00:23 -04:00
Justin Santa Barbara
f8eb179c2d
Create hostNetwork pods even if network plugin not ready
...
We do now admit pods (unlike the first attempt), but now we will stop
non-hostnetwork pods from starting if the network is not ready.
Issue #35409
2016-11-04 00:11:55 -04:00
Magnus Kulke
b7880e7cd8
Populate NodeHostName status.
2016-11-01 01:09:50 +01:00
Connor Doyle
c93646e8da
Support opaque integer resource accounting.
...
- Prevents kubelet from overwriting capacity during sync.
- Handles opaque integer resources in the scheduler.
- Adds scheduler predicate tests for opaque resources.
- Validates opaque int resources:
- Ensures supplied opaque int quantities in node capacity,
node allocatable, pod request and pod limit are integers.
- Adds tests for new validation logic (node update and pod spec).
- Added e2e tests for opaque integer resources.
2016-10-28 10:15:13 -07:00
Lucas Käldström
1cf00d1ff1
Remove the function of --reconcile-cidr and deprecate it
2016-10-26 20:25:35 +03:00