Yongxin Li
6a98ce78e4
typo fix from utilites to utilities
...
Signed-off-by: Yongxin Li <yxli@alauda.io >
2018-09-18 13:52:04 +08:00
ravisantoshgudimetla
452615c53f
Fix drain for evicting terminal DS pods and pods with local storage
2018-09-17 23:01:48 -04:00
David Zhu
9d207b3e3c
GetMountRefs should not fail if the path supplied does not exist anymore. It has no mount references
2018-09-17 17:35:12 -07:00
Brad Hoekstra
e8366c8e99
Fix to inject KUBERNETES_ env vars when enableServiceLinks is
...
false and the pod is in the master namespace.
2018-09-17 16:28:49 -04:00
Brad Hoekstra
ac8799a80d
kubelet: Make service environment variables optional
2018-09-17 16:27:36 -04:00
Jan Safranek
9e24ccbda0
Fixed subpath cleanup when /var/lib/kubelet is a symlink.
2018-09-17 15:52:25 +02:00
Pingan2017
158552ff35
fix golint failures - /pkg/kubelet/images
2018-09-17 10:52:25 +08:00
k8s-ci-robot
e763a3c56d
Merge pull request #68212 from feiskyer/az-events
...
Add service events for azure cloud provider
2018-09-16 08:40:39 -07:00
k8s-ci-robot
fb79943553
Merge pull request #67951 from liggitt/remove-deprecated-flags
...
Remove deprecated feature flags
2018-09-15 14:50:11 -07:00
k8s-ci-robot
f193e4b107
Merge pull request #68691 from gnufied/fix-configmap-bug
...
verify invalid secret/configmap/projected volumes
2018-09-14 17:02:02 -07:00
Sean Sullivan
3fa346e744
Replace internal version Encoder with external version Encoder
2018-09-14 15:34:16 -07:00
Sean Sullivan
731b985184
Replace internal version Encoder with external version Encoder
2018-09-14 15:24:18 -07:00
Sean Sullivan
84ef7a3649
Replace internal version Encoder with external version Encoder
2018-09-14 14:55:00 -07:00
Hemant Kumar
85e337153a
verify invalid secret/configmap/projected volumes
...
And avoid calling Setup if they don't exist
2018-09-14 17:38:52 -04:00
Pavithra Ramesh
e588ae5e04
Allow nodeName updates when endPoint is updated.
...
One scenario where nodeName can change for the same ip address is if
the endpoints are in hostNetwork mode and nodes are being added/deleted.
With the current validation check, if endpoints controller misses a pod
delete event, future endpoint updates will never succeed.
removed unused helper functions
2018-09-14 14:00:46 -07:00
Vladimir Vivien
e3bc731143
CSI fix for proper fsgroup application to volume
2018-09-14 14:58:18 -04:00
k8s-ci-robot
94e59f1636
Merge pull request #68636 from seans3/clusterinfo-dump-fix
...
Small fix to remove dependency on internal version of resource
2018-09-14 08:18:36 -07:00
Yecheng Fu
b3cb1bdc4a
Ignore non-available volumes in findMatchingVolume to reduce chance of
...
unnecessary binding failures.
2018-09-14 20:27:44 +08:00
Sean Sullivan
16a4060eb5
Remove unused internal version of Pod resource
2018-09-13 22:38:07 -07:00
k8s-ci-robot
17fe91cc6c
Merge pull request #68173 from Huang-Wei/antiaffinity-symmetry-issue
...
Fix PodAntiAffinity issues in case of multiple affinityTerms
2018-09-13 21:31:44 -07:00
Jingyi Hu
61117761cd
*: Remove comment tags in GoDoc
...
Adding blank line between comment tag and package name in doc.go. So
that the comment tags such as '+k8s:deepcopy-gen=package' do not show up
in GoDoc.
2018-09-13 20:27:32 -07:00
Pengfei Ni
de9c127c94
Add events for azure-cloud-provider
...
When errors occur on azure cloud provider, events now are added so that users
could easily find the underground errors on Azure API.
2018-09-14 10:41:19 +08:00
Wei Huang
7490542156
fix PodAntiAffinity issues
...
- update logic of verifying incoming pod's anti-affinity
- rename podMatchesAffinityTermProperties to podMatchesAllAffinityTermProperties
- add podMatchesAnyAffinityTermProperties which is used in some PodAntiAffinity cases
- rename some functions to make it more readable
- add unit tests to verify correctness of PodAffinity and PodAntiAffinity
- verifying "Existing pod anti-affinity"
- verifying "incoming pod's anti-affinity"
- verifying "incoming pod's affinity"
2018-09-13 18:32:33 -07:00
Pingan2017
3b19c33be5
NodePIDPressure condition should set to unknown when node lost connnection with contorl
2018-09-14 08:50:05 +08:00
Sean Sullivan
86b12106c8
Remove dependency on internal version of resource
2018-09-13 17:32:52 -07:00
Sean Sullivan
8f06514fe7
Removes dependency on internal version of resource
2018-09-13 17:03:54 -07:00
Sean Sullivan
ce65602410
Remove legacyscheme by adding ParameterCodec to kubectl scheme
2018-09-13 14:37:30 -07:00
Sean Sullivan
9bacee8878
Small fix to remove dependency on internal version of resource
2018-09-13 14:16:07 -07:00
Cheng Xing
a8e282e905
Delaying kubeclient and csi client injection into CSI plugin
2018-09-13 14:10:49 -07:00
Hemant Kumar
e881a29107
Apply _netdev mount option in bind mount if available
...
_netdev mount option is a userspace mount option and
isn't copied over when bind mount is created and remount
also does not copies it over and hence must be explicitly
used with bind mount
2018-09-13 13:47:34 -04:00
k8s-ci-robot
020b1d5ff5
Merge pull request #68419 from xing-yang/apigroup
...
Make APIGroup optional in TypedLocalObjectReference
2018-09-13 06:13:17 -07:00
Pengfei Ni
db470d37a4
Fix potential panic when getting azure load balancer status
...
The IP address and security group rules may be nil when the resources
are updating or deleting. Hence nil pointer deference may be happened
then.
2018-09-13 15:41:12 +08:00
Pingan2017
2f2c4ebc14
del internalError
2018-09-13 11:25:26 +08:00
Xing Yang
897e3c8d11
Add generated files
2018-09-12 17:34:51 -07:00
Xing Yang
6ec1ebd6ce
Make APIGroup optional and modify validation
2018-09-12 17:05:29 -07:00
k8s-ci-robot
9b8b6571a2
Merge pull request #68521 from yujuhong/nil-client
...
kubelet: skip initializing/using the RuntimeClass in standalone mode
2018-09-12 15:05:12 -07:00
k8s-ci-robot
37ef6eeb6d
Merge pull request #68431 from dashpole/cadvisor_godep_update
...
Update cAdvisor godeps to v0.31.0
2018-09-12 15:04:53 -07:00
Jon Friesen
b971c3e200
Fix golint for pkg/probe
...
This change adds comments to exported things and renames the tcp,
http, and exec probe interfaces to just be Prober within their
namespace.
Issue #68026
2018-09-12 14:18:16 -07:00
k8s-ci-robot
5be0a0ee8d
Merge pull request #67899 from ravisantoshgudimetla/ScheduleDaemonSetPods-beta
...
Graduate Schedule daemon set pods by default scheduler to beta and fix tests
2018-09-12 13:18:23 -07:00
ravisantoshgudimetla
b2e92f1ba2
Fix test cases and build files
2018-09-12 14:19:29 -04:00
Humble Chirammal
38e8c00119
Glusterfs: Remove unwanted log-file mount argument.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
2018-09-12 22:41:25 +05:30
Seungcheol Ko
4b3e50b61c
fix verify-bazel error
2018-09-12 07:27:33 +00:00
tianshapjq
362f7e2a09
validate if systemReservedCgroup and kubeReservedCgroup compliance with enforNodeAllocatable
2018-09-12 15:17:03 +08:00
Seungcheol Ko
8f7fcd5adc
Add VolumeScheduling support for Cinder
2018-09-12 05:11:54 +00:00
Antoine Pelisse
0db6249740
kubectl-diff: Simplify interface
...
The current interface is kind of clunky and not super easy to use, since
you have to specify parameters to specify which versions to diff. Also
the default isn't the most useful setting.
Change the interface by removing all the parameters and force only one
useful use-case, that is: diffing what's currently live against
what would be live if applied.
2018-09-11 15:53:29 -07:00
k8s-ci-robot
45c5ddd2fb
Merge pull request #68494 from k82cn/k8s_67606_2
...
Added default tolerations for new pods.
2018-09-11 13:27:50 -07:00
Yu-Ju Hong
a1f7ae7ab3
kubelet: skip initializing/using the RuntimeClass in standalone mode
...
In standalone mode, kubelet will not be configured to talk to an
apiserver. The RuntimeClass manager should be disabled in this case.
2018-09-11 13:21:53 -07:00
k8s-ci-robot
7bfd0d358c
Merge pull request #68408 from k82cn/k8s_67823_2
...
Using node name to improve node controller performance.
2018-09-11 09:18:50 -07:00
ravisantoshgudimetla
1ee1e3b7b1
promote feature gate ScheduleDaemonSetPods to beta
2018-09-11 11:55:20 -04:00
Da K. Ma
97ba8b477a
Using node name to improve node controller performance.
...
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com >
2018-09-11 21:43:19 +08:00