mattjmcnaughton
34c8f51dcb
Remove all uses of dockershim
from cmd/kubelet
...
We can remove all uses of `dockershim` from `cmd/kubelet`, by just
passing the docker options to the kubelet in their pure form, instead of
using them to create a `dockerClientConfig` (which is defined in
dockershim). We can then construct the `dockerClientConfig` only when we
actually need it.
2020-05-07 17:18:49 -04:00
mattjmcnaughton
e0e6d54cdf
Extract running Dockershim into own file
...
Extract a `runDockershim` function into a file outside of `kubelet.go`.
We can use build tags to compile two separate functions... one which
actually runs dockershim and one that is a no-op.
2020-05-07 17:18:48 -04:00
mattjmcnaughton
53adde65ce
Remove ExperimentalDockershim
from kubelet
...
Remove one of two uses of Dockershim in `cmd/kubelet`. The other is for
creating a docker client which we pass to the Kubelet... we will handle
that refactor in a separate diff.
I'm fairly confident, though need to double check, that no one is
actually using this experimental dockershim behavior. If they are, I
think we will want to find a new way to support it (that doesn't require
using the Kubelet only to launch Dockershim).
2020-05-07 17:18:48 -04:00
Kubernetes Prow Robot
eec809aa93
Merge pull request #90779 from thockin/umask-for-builds
...
Set umask 0022 when building
2020-05-07 14:01:57 -07:00
Kubernetes Prow Robot
b24eba019d
Merge pull request #90563 from cici37/traint
...
Copy RemoveTaintOffNode logic to k8s.io/cloud-provider
2020-05-07 14:01:42 -07:00
Davanum Srinivas
8fa567264e
Update build/go-runner/Makefile
...
Co-authored-by: Stephen Augustus <justaugustus@users.noreply.github.com>
2020-05-07 13:54:47 -04:00
Davanum Srinivas
a7b1cec617
Bump version for go-runner
...
Ran into trouble with image promotion. trying it again
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-07 13:47:20 -04:00
Kubernetes Prow Robot
af67408c17
Merge pull request #90818 from wojtek-t/fix_retry_watcher
...
Request for bookmarks in RetryWatcher
2020-05-07 07:35:29 -07:00
Kubernetes Prow Robot
c5be566b14
Merge pull request #90707 from jherrera123/fix-issue-88132
...
Make flexvolume e2e tests runnable again.
2020-05-07 07:35:15 -07:00
Maciej Szulik
25507e8c3a
Provide more verbose empty config error for all config load actions
2020-05-07 15:57:00 +02:00
Clayton Coleman
3c9959a5d4
netexec: Allow graceful shutdown testing from netexec
...
The current /exit method is not sufficient to test graceful shutdown
behaviors within Kube that allow services to remain available during
rolling restarts. Add support for `wait=DURATION` and
`timeout=DURATION` to the exit handler and wire that to the Go http
server's graceful termination.
With these methods netexec can be used in a pod to simulate graceful
shutdown by adding a preStop handler that hits the exit endpoint with
a timeout and wait period.
2020-05-07 09:18:27 -04:00
Rostislav M. Georgiev
b46259b7af
kubeadm: Move IPv6DualStack feature gate to component config
...
kubeadm is setting the IPv6DualStack feature gate in the command line of the kubelet.
However, the kubelet is gradually moving away from command line flags towards component config use.
Hence, we should set the IPv6DualStack feature gate in the component config instead.
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2020-05-07 14:28:07 +03:00
Kubernetes Prow Robot
9f76518c40
Merge pull request #90804 from dims/new-go-runner-image-for-distroless
...
New go-runner image for distroless scenarios
2020-05-07 03:03:08 -07:00
t-qini
991aadab42
Fix the flaky test for azure vmss.
2020-05-07 17:28:08 +08:00
wojtekt
7a65760f6e
Request for bookmarks in RetryWatcher
2020-05-07 10:26:28 +02:00
Kubernetes Prow Robot
be02fe5785
Merge pull request #90782 from justaugustus/base-images
...
base-images: Use new debian-iptables:v12.1.0
2020-05-06 22:23:22 -07:00
Kubernetes Prow Robot
7f78048594
Merge pull request #90781 from msau42/increase-timeout
...
Increase timeout waiting for driver to start on nodes
2020-05-06 22:23:08 -07:00
Gaurav Singh
254a21b66e
Apimachinery test: Fix date race
2020-05-06 22:50:00 -04:00
Davanum Srinivas
393e0952e9
New go-runner image for distroless scenarios
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-06 21:29:46 -04:00
Kubernetes Prow Robot
b144eec878
Merge pull request #90778 from msau42/update-mock
...
Update sidecars for csi mock driver
2020-05-06 17:57:08 -07:00
Walter Fender
339918d206
Add admin account on master for kube-up
...
Creates a master local admin account.
If you are on the master you can now run kubectl.
For issue 87481.
2020-05-06 17:19:58 -07:00
Aldo Culquicondor
2935480cc8
Move Plugin Args defaults to versioned packages
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-06 18:00:23 -04:00
Anago GCB
8c4e3faed3
CHANGELOG: Update directory for v1.15.12 release
2020-05-06 20:40:38 +00:00
Kubernetes Prow Robot
3416442e4b
Merge pull request #90644 from tanjunchen/remove-controller-dependency
...
test/e2e/framework:remove the direct dependency for k8s.io/kubernetes/pkg
2020-05-06 11:47:12 -07:00
Stephen Augustus
8e8a1a4038
build: Update guidance for updating base image tags and digests
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-06 13:38:19 -04:00
Aldo Culquicondor
883e4860d3
Clarify usage of MaxSkew and WheUnsatisfiable
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-06 13:15:51 -04:00
Kubernetes Prow Robot
0a6c826d3e
Merge pull request #90715 from jsafrane/gluster-ignore-notfound
...
Ignore NotFound error when cleaning up Gluster tests
2020-05-06 05:25:09 -07:00
Kubernetes Prow Robot
c30da3839c
Merge pull request #90148 from deads2k/force-beta-to-have-tags
...
enforce prerelease-lifecycle generation for beta APIs
2020-05-06 01:19:08 -07:00
Kubernetes Prow Robot
4d813c1360
Merge pull request #90749 from andyzhangx/dangling-error
...
fix: azure disk dangling attach issue on VMSS which would cause API throttling
2020-05-05 23:43:09 -07:00
Stephen Augustus
aa79da2696
deps: Update dependents to use debian-iptables:v12.1.0
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-06 01:14:01 -04:00
Kubernetes Prow Robot
fecc66aa1f
Merge pull request #90755 from Huang-Wei/refine-schedQueue-test
...
Refine schedulerQueue test to avoid unneeded locks
2020-05-05 20:03:22 -07:00
Kubernetes Prow Robot
14eb291084
Merge pull request #90751 from yliaog/windep
...
Removed leftover comments for the deleted function Get_MgmtSubnet
2020-05-05 20:03:09 -07:00
Michelle Au
fc08f74157
Increase timeout waiting for driver to start on nodes to reduce test flakiness
...
Change-Id: Id553943e4473b387bf0ae14a18a90cb3a1bcd5c1
2020-05-05 18:10:10 -07:00
Kubernetes Prow Robot
d8a513ef99
Merge pull request #90697 from justaugustus/base-images
...
base-images: Use new debian-base:v2.1.0 and build new debian-iptables:v12.1.0
2020-05-05 18:01:23 -07:00
Kubernetes Prow Robot
8e3766f2a8
Merge pull request #90215 from jasimmons/pr_agnhost_netexec_http
...
Adds HTTPS logic to agnhost netexec
2020-05-05 18:01:09 -07:00
cici37
32411016cc
Copy RemoveTaintOffNode logic to k8s.io/cloud-provider
2020-05-05 16:47:09 -07:00
Tim Hockin
dff449ee9e
Set umask 0022 when building
...
Some binaries now run as non-root (kube-scheduler). When umask is 0027,
for example, the container image we build has the binary 0750, which is
not executable by the non-root UID.
2020-05-05 16:28:43 -07:00
Michelle Au
b34ad7e8ad
Update sidecars for csi mock driver
...
Change-Id: Ica8ca20404fd15dcfdbb912602934a5b9f24e4c6
2020-05-05 16:21:19 -07:00
Kubernetes Prow Robot
68cbb35ebc
Merge pull request #90737 from jiahuif/node-lifecyecle-controller-shutdown-order
...
CloudNodeLifecycleController: check node existence before shutdown status
2020-05-05 14:31:09 -07:00
Julian V. Modesto
df0ee9f88b
Mark the server-side dry-run feature as GA
2020-05-05 17:13:24 -04:00
Kubernetes Prow Robot
27f06962d8
Merge pull request #90744 from prameshj/kubedns-version
...
Bump up the kube-dns version to 1.15.10
2020-05-05 12:39:22 -07:00
Kubernetes Prow Robot
ff45f0d311
Merge pull request #90742 from jiahuif/remove-cloud-node-addresses-todo
...
remove obsolete TODO item of NodeAddresses
2020-05-05 12:39:09 -07:00
Stephen Augustus
d95dcc61f3
cluster/images/etcd: Bump etcd image tags for new debian-base
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-05 15:16:38 -04:00
Anago GCB
dac4f810f5
CHANGELOG: Update directory for v1.19.0-alpha.3 release
2020-05-05 16:40:14 +00:00
Kubernetes Prow Robot
a441f869d9
Merge pull request #90729 from wojtek-t/reduce_cache_size
...
Update duration to be kept in watchcache
2020-05-05 08:59:08 -07:00
Indeed
3117b6a084
fix case where node exists but shutdown.
2020-05-05 08:57:58 -07:00
Indeed
78ace24670
check node existence before shutdown status.
2020-05-05 08:57:58 -07:00
Indeed
84dfaace5d
add test about shutdown but non-existing node.
2020-05-05 08:51:21 -07:00
David Eads
83035890ad
refactor the CSR controller into distinct controllers to allow easy configuration of multiple signing keys
2020-05-05 10:18:04 -04:00
David Eads
d9d6b5804a
remove unnecessary removed tags since they can be auto-applied via policy
2020-05-05 09:49:34 -04:00