Commit Graph

33785 Commits (1ba3e9873359f4ae34522f350e35f8d9e13b96e6)

Author SHA1 Message Date
Darren Shepherd b6ce4c1a4a Remove EnableEquivalenceClassCache 2019-08-19 08:33:09 -07:00
Darren Shepherd c1196e0184 Remove DebugContainers 2019-08-19 08:33:09 -07:00
Darren Shepherd 2e6fc730f1 Remove ExperimentalCriticalPodAnnotation 2019-08-19 08:33:09 -07:00
Darren Shepherd 288cc1c03a Remove scheduling/v1alpha1 2019-08-19 08:33:06 -07:00
Darren Shepherd 0e26f8c914 Delete bootstrap controller 2019-08-19 08:33:01 -07:00
Darren Shepherd 9b2f75c001 Delete route controller 2019-08-19 08:33:01 -07:00
Darren Shepherd 9422d1d788 Remove settings 2019-08-19 08:32:58 -07:00
Darren Shepherd efff75f045 Remove storage v1alpha1 2019-08-19 08:32:41 -07:00
Darren Shepherd 5fa85bd4f4 Remove rbac v1alpha1 2019-08-19 08:32:35 -07:00
Darren Shepherd ee3af49b28 Remove imagepolicy 2019-08-19 08:32:27 -07:00
Darren Shepherd 17099470d5 Remove events 2019-08-19 08:32:18 -07:00
Darren Shepherd eb42a024b9 Remove authentication/v1beta1 2019-08-19 08:30:45 -07:00
Akihiro Suda 9c7db00892 kube-proxy: allow running in userns
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-08-19 08:30:22 -07:00
Akihiro Suda bfb3806701 kubelet/cm: ignore cgroups error when running in userns
This is a hacky POC; we need to implement rootless PCM in the proper way.
Especially, pcm.Exists(existingPodName) needs to be implemented to return true
even when cgroups is not available.

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-08-19 08:30:22 -07:00
Akihiro Suda 31f53aac16 dockershim: ignore GetCheckpoint error when running in userns
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-08-19 08:30:22 -07:00
Akihiro Suda ed7718163f kubelet/cm: ignore sysctl error when running in userns
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-08-19 08:30:22 -07:00
Kubernetes Prow Robot 96fac5cd13
Merge pull request #81521 from cblecker/automated-cherry-pick-of-#78958-#79966-#81390-#81489-upstream-release-1.14
Update release-1.14 to go 1.12.9
2019-08-16 14:34:12 -07:00
Kubernetes Prow Robot 567697231c
Merge pull request #81247 from liyanhui1228/automated-cherry-pick-of-#80176-upstream-release-1.14
Automated cherry pick of #80176: Make kubelet report usageNanoCores for node on Windows
2019-08-16 11:12:09 -07:00
Christoph Blecker 2fbcee90bb
Fix malformed port in vsphere cloud provider test
The port name previously didn't matter on these tests, but is now
actively being checked in go1.12.8 and higher.

3226f2d492
2019-08-16 10:38:21 -07:00
Kubernetes Prow Robot 6c52f03a8b
Merge pull request #81250 from dashpole/automated-cherry-pick-of-#78493-upstream-release-1.14
Automated cherry pick of #78493: Continue admitting the pod regardless of return value from
2019-08-16 01:32:35 -07:00
Kubernetes Prow Robot dfadb86914
Merge pull request #81407 from wojtek-t/automated-cherry-pick-of-#80978-upstream-release-1.14
Manual cherry pick of #80978 upstream release 1.14
2019-08-15 20:20:54 -07:00
Kubernetes Prow Robot d6d7403031
Merge pull request #81339 from feiskyer/automated-cherry-pick-of-#81279-upstream-release-1.14
Automated cherry pick of #81279: Fix Azure client requests stuck issues on
2019-08-15 20:20:46 -07:00
Kubernetes Prow Robot 520865cc38
Merge pull request #81034 from hantaowang/automated-cherry-pick-of-#79897-#80180-#80446-upstream-release-1.14
Automated cherry pick of #79897: add ability for gce to bulk verify attached disks #80180: move getInstancesByName logic to helper function #80446: add unit tests for attacher DisksAreAttached and
2019-08-14 17:28:34 -07:00
wojtekt 6c69654047 Fix GetReference function 2019-08-14 08:16:33 +02:00
Pengfei Ni 5a707b229d Fix Azure client requests stuck issues on http.StatusTooManyRequests 2019-08-13 07:32:51 +00:00
David Ashpole f476560c22 Continue admitting the pod regardless of return value from killPodFunc 2019-08-09 16:47:29 -07:00
Angela Li 7b93344c07 gofmt 2019-08-09 16:07:01 -07:00
Angela Li 868ede3f25 address comments 2019-08-09 16:07:01 -07:00
Angela Li 85ab6592aa fix gofmt 2019-08-09 16:07:01 -07:00
Angela Li 9d72c6d505 Make kubelet report usageNanoCores for node on Windows 2019-08-09 16:07:01 -07:00
Pengfei Ni 62b10bfe50 Fix the public IP getting issues for VMSS nodes 2019-08-07 14:49:33 +08:00
Kubernetes Prow Robot 258aa3f6cd
Merge pull request #80344 from gaorong/automated-cherry-pick-of-#80173-upstream-release-1.14
Automated cherry pick of #80173: make node lease renew interval more heuristic
2019-08-06 21:08:51 -07:00
Kubernetes Prow Robot 2b5663c150
Merge pull request #80325 from davidz627/automated-cherry-pick-of-#80191-upstream-release-1.14
Automated cherry pick of #80191: Add passthrough for MountOptions for NodeStageVolume for
2019-08-06 18:57:27 -07:00
Kubernetes Prow Robot 9821e16f1a
Merge pull request #80196 from cwdsuzhou/automated-cherry-pick-of-#79920-upstream-release-1.14
Automated cherry pick of #79920: Bugfix: csi raw block that does not need attach mounted failed
2019-08-06 18:57:19 -07:00
Kubernetes Prow Robot ac21735ad7
Merge pull request #80056 from sbangari/automated-cherry-pick-of-#78874-upstream-release-1.14
Automated cherry pick of #78874: Fix the creation of load balancer policy for the NodeIp when
2019-08-06 18:57:11 -07:00
Kubernetes Prow Robot 8c595af962
Merge pull request #79760 from andyzhangx/automated-cherry-pick-of-#79529-upstream-release-1.14
Automated cherry pick of #79529: fix: change timeout value in csi plugin
2019-08-06 18:57:02 -07:00
Kubernetes Prow Robot ccdea031a6
Merge pull request #79694 from tiffanyfay/automated-cherry-pick-of-#75585-#75587-upstream-release-1.14
Automated cherry pick of #75585: Updated client-go expiration cache to take in expiration #75587: Remove aws cred provider dep on cloud provider
2019-08-06 18:56:54 -07:00
Hantao (Will) Wang bd7d09e818 add unit tests for attacher DisksAreAttached and BulkDisksAreAttached 2019-08-06 12:05:33 -07:00
Hantao (Will) Wang 08ed1c24ce implement functionality to return all found instances 2019-08-06 12:05:33 -07:00
Hantao (Will) Wang 08a0cdb45f move getInstancesByName logic to helper function 2019-08-06 12:05:32 -07:00
Hantao (Will) Wang e99b78de3b add ability for gce to bulk verify attached disks 2019-08-06 12:05:31 -07:00
David Zhu 49e72d6049 Reduce GCE PD Attach Limits by 1 because Node Boot Disk counts as 1 attached disk 2019-08-02 13:53:16 -07:00
Tim Allclair f4f139119b refactors to kubernetes cp command 2019-08-01 10:51:57 -07:00
M00nF1sh 84d99afa5b refactors to kubernetes CP command 2019-08-01 10:51:02 -07:00
Rong Gao 77a13eda99 make node lease renew interval more heuristic 2019-07-19 11:33:36 +08:00
David Zhu 68ece40f65 Add passthrough for MountOptions for NodeStageVolume for CSI 2019-07-18 14:57:00 -07:00
caiweidong df04523a8d Bugfix: csi raw block that does not need attach mounted failed
Add unit test

fix verify-test-featurefates failed
2019-07-16 11:33:32 +08:00
Sravanth Bangari c5829cd5a4 Fix the creation of load balancer policy for the NodeIp when NodePort specified is same as service Port 2019-07-11 19:45:58 +00:00
andyzhangx 54eccec000 fix: change timeout value in csi plugin 2019-07-04 03:42:01 +00:00
Kubernetes Prow Robot 9f1b2df355
Merge pull request #79571 from SataQiu/automated-cherry-pick-of-#79094-up-release-1.14
Automated cherry pick of #79094: fix kubelet can not delete orphaned pod directory when "/var/lib/kubelet/pods" directory symbolically links to another device's directory
2019-07-03 12:46:13 -07:00
Kubernetes Prow Robot 2d0cf16750
Merge pull request #79664 from odinuge/automated-cherry-pick-of-#79534-upstream-release-1.14
Automated cherry pick of #79534: Fix closing of dirs in doSafeMakeDir
2019-07-03 10:16:40 -07:00
Kubernetes Prow Robot 62a6ddbfd4
Merge pull request #79618 from wongma7/automated-cherry-pick-of-#79446-upstream-release-1.14
Automated cherry pick of #79446: Fix AWS DHCP option set domain names causing garbled
2019-07-03 10:16:32 -07:00
Joseph Burnett d881d48b2c There are various reasons that the HPA will decide not the change the
current scale. Two important ones are when missing metrics might
change the direction of scaling, and when the recommended scale is
within tolerance of the current scale.

The way that ReplicaCalculator signals it's desire to not change the
current scale is by returning the current scale. However the current
scale is from scale.Status.Replicas and can be larger than
scale.Spec.Replicas (e.g. during Deployment rollout with configured
surge). This causes a positive feedback loop because
scale.Status.Replicas is written back into scale.Spec.Replicas,
further increasing the current scale.

This PR fixes the feedback loop by plumbing the replica count from
spec through horizontal.go and replica_calculator.go so the calculator
can punt with the right value.
2019-07-03 10:35:42 +02:00
tiffany jernigan 88989d25e2 Update aws provider build files 2019-07-02 21:18:14 -07:00
tiffany jernigan f9bd50bd81 Refactors and fixes bugs in AWS credentialprovider
Adds caching per registry. Fixes caching of invalid ECR tokens.
2019-07-02 21:18:14 -07:00
tiffany jernigan d03853e2b9 Credential provider Provide takes image (clouds) 2019-07-02 21:18:14 -07:00
tiffany jernigan 5224b94282 Credential provider Provide takes image (general) 2019-07-02 21:18:13 -07:00
tiffany jernigan 3211bdad3d Remove aws cred provider dep on cloud provider 2019-07-02 21:18:13 -07:00
Odin Ugedal 5f7e540651
Fix closing of dirs in doSafeMakeDir
This fixes the issue where "childFD" from syscall.Openat is assigned to
a local variable inside the for loop, instead of the correct one in the
function scope. This results in that when trying to close the "childFD"
in the function scope, it will be equal to "-1", instead of the correct
value.
2019-07-02 18:25:15 +02:00
Matthew Wong 34170a18ae Fix AWS DHCP option set domain names causing garbled InternalDNS or Hostname addresses on Node 2019-07-01 12:49:20 -07:00
Rong Gao ea0007dd6d fix kubelet can not delete orphaned pod directory when the kubelet's root directory symbolically links to another device's directory 2019-06-30 13:22:05 +08:00
Kubernetes Prow Robot d5f2096f1a
Merge pull request #79519 from feiskyer/automated-cherry-pick-of-#79514-upstream-release-1.14
Automated cherry pick of #79514: Default resourceGroup should be used when value of annotation
2019-06-29 05:41:23 -07:00
Kubernetes Prow Robot 2fcb57ff05
Merge pull request #79338 from rafatio/automated-cherry-pick-of-#79073-upstream-release-1.14
Automated cherry pick of #79073: Ignore cgroup pid support if related feature gates are
2019-06-29 04:29:25 -07:00
Pengfei Ni 23a7bd5c99 Default resourceGroup should be used when value of annotation azure-load-balancer-resource-group is empty string 2019-06-28 17:18:10 +08:00
Yu-Ju Hong 7782a900f4 kubelet: retry pod sandbox creation when containers were never created
If kubelet never gets past sandbox creation (i.e., never attempted to
create containers for a pod), it should retry the sandbox creation on
failure, regardless of the restart policy of the pod.
2019-06-27 10:22:39 -07:00
rafatio ed402e3629 Ignore cgroup pid support if related feature gates are disabled 2019-06-24 10:53:32 -03:00
Kubernetes Prow Robot 6b360e905b
Merge pull request #79131 from andyzhangx/automated-cherry-pick-of-#75234-upstream-release-1.14
Automated cherry pick of #75234: fix flexvol stuck issue due to corrupted mnt point
2019-06-20 16:14:43 -07:00
Kubernetes Prow Robot 8daa63bd22
Merge pull request #78961 from subramanian-neelakantan/automated-cherry-pick-of-#75187-upstream-release-1.14
Automated cherry pick of #75187: Use any host that mounts the datastore to create Volume
2019-06-20 16:14:36 -07:00
Kubernetes Prow Robot 87de10ed40
Merge pull request #78905 from dougm/automated-cherry-pick-of-#78876-upstream-release-1.14
Automated cherry pick of #78876: vSphere: allow SAML token delegation
2019-06-20 14:31:11 -07:00
Kubernetes Prow Robot 2ff91b0885
Merge pull request #78878 from msau42/automated-cherry-pick-of-#75129-upstream-release-1.14
Automated cherry pick of #75129: Move CSIDriver Lister to the controller
2019-06-20 14:31:03 -07:00
Kubernetes Prow Robot 3df2c60c4d
Merge pull request #78790 from andyzhangx/automated-cherry-pick-of-#78700-upstream-release-1.14
Automated cherry pick of #78700: fix: update vm if detach a non-existing disk
2019-06-20 14:30:54 -07:00
Kubernetes Prow Robot 65de86e72f
Merge pull request #78602 from paulgmiller/release-1.14
cherry pick of #74027: proxy: add some useful metrics
2019-06-20 14:30:38 -07:00
Kubernetes Prow Robot cb7218fac5
Merge pull request #79101 from andrewsykim/automated-cherry-pick-of-#78999-origin-release-1.14
Automated cherry pick of #78999: ipvs: fix string check for IPVS protocol during graceful
2019-06-20 12:46:14 -07:00
Kubernetes Prow Robot 5098719581
Merge pull request #78883 from liggitt/procmount-1.14
1.14: Fix incorrect procMount defaulting
2019-06-20 12:46:02 -07:00
Kubernetes Prow Robot 40238163d1
Merge pull request #78665 from benmoss/automated-cherry-pick-of-#78594-upstream-release-1.14
Automated cherry pick of #78594: Fix memory leak from not closing hcs container handles
2019-06-19 03:34:33 -07:00
andyzhangx e7c82c0250 fix flexvol stuck issue due to corrupted mnt point
fix comments about PathExists

fix comments

revert change in PathExists func
2019-06-18 08:36:50 +00:00
Andrew Sy Kim a252fb9366 ipvs: fix string check for IPVS protocol during graceful termination
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-06-17 10:15:51 -04:00
Subramanian Neelakantan 11f8744560 Use any host that mounts the datastore to create Volume
Also, This change makes zone to work per datacenter and cleans up dummy vms.
There can be multiple datastores found for a given name. The datastore name is
unique only within a datacenter. So this commit returns a list of datastores
for a given datastore name in FindDatastoreByName() method. The calles are
responsible to handle or find the right datastore to use among those returned.
2019-06-13 14:47:31 +05:30
Doug MacEachern d3e7abab07 vSphere: allow SAML token delegation
Issue #77360
2019-06-11 08:40:34 -07:00
Jordan Liggitt 702f00c2af Fix incorrect procMount defaulting 2019-06-10 22:03:10 -04:00
Xing Yang 4e65976da4 Move CSIDriver Lister to the controller 2019-06-10 17:41:54 -07:00
Paul Miller 85bdd81662
picked up extra unnecessary dep in merge
at least verify build thinks its unnecessary
2019-06-10 08:36:18 -07:00
andyzhangx 04a3e29d7c fix: update vm if detach a non-existing disk
fix gofmt issue
2019-06-07 14:04:43 +00:00
Kubernetes Prow Robot 5e53fd6bc1
Merge pull request #78066 from feiskyer/az-network-2018-07-01-1.14
Automated cherry pick of #78012: Upgrade Azure network API version to 2018-07-01
2019-06-04 11:15:53 -07:00
Ben Moss b9ab369234 Fix memory leak from not closing hcs container handles 2019-06-03 15:00:16 -07:00
Kubernetes Prow Robot 051c16a005
Merge pull request #78567 from DataDog/automated-cherry-pick-of-#77802-upstream-release-1.14
Automated cherry pick of #77802 upstream release 1.14
2019-05-31 21:52:21 -07:00
Casey Callendrello c3da106f31 cherry pick of 017f57a, had to do a very simple merge of BUILD 2019-05-31 14:12:36 -07:00
Kubernetes Prow Robot 02026415cd
Merge pull request #78316 from tallclair/automated-cherry-pick-of-#78261-upstream-release-1.14
Revert "Use consistent imageRef during container startup"
2019-05-31 01:42:29 -07:00
Laurent Bernaille a7a3c7d912
Disable graceful termination for udp 2019-05-31 10:18:49 +02:00
andyzhangx 74a785b925 fix azure retry issue when return 2XX with error
fix comments
2019-05-28 08:08:47 +00:00
Tim Allclair 6c1b3b4f62 Revert "Use consistent imageRef during container startup"
This reverts commit 26e3c8674e.
2019-05-24 13:24:57 -07:00
Kubernetes Prow Robot 4efb32be02
Merge pull request #77947 from tallclair/automated-cherry-pick-of-#77888-upstream-release-1.14
Automated cherrypick of #77888 upstream release 1.14
2019-05-21 11:32:33 -07:00
Kubernetes Prow Robot 098854ae8f
Merge pull request #77236 from apelisse/automated-cherry-pick-of-#76969-upstream-release-1.14
Automated cherry pick of #76969: Fix eviction dry-run
2019-05-21 11:32:15 -07:00
Pengfei Ni 95b2f6a501 Upgrade Azure network API version to 2018-07-01 2019-05-17 13:17:58 +00:00
Tim Allclair 1503be4569 Don't create a RuntimeClassManager without a KubeClient 2019-05-15 11:17:16 -07:00
andyzhangx 59a898670f fix incorrect prometheus metrics
fix left incorrect metrics
2019-05-14 07:54:16 +00:00
Antoine Pelisse c192ba4c1a Fix eviction dry-run 2019-05-10 13:06:48 -07:00
Kubernetes Prow Robot 46d8155f3d
Merge pull request #77729 from yastij/automated-cherry-pick-of-#77656-upstream-release-1.14
Automated cherry pick of #77656: check if Memory is not nil for container stats
2019-05-10 12:44:31 -07:00
Yassine TIJANI 433c2f5f01 check if Memory is not nil for container stats 2019-05-10 10:31:31 +02:00
Lantao Liu 4ecab5ea4a Remove terminated pod from summary api.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-05-08 23:24:53 -07:00