Commit Graph

79581 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
4683054ff6
Merge pull request #79165 from neolit123/kubeadm-1.16-fix-panic-kubeconfig
kubeadm: improve the kubeconfig file validation phase
2019-06-19 07:36:35 -07:00
Lubomir I. Ivanov
14408bec87 kubeadm: improve the kubeconfig file validation phase
When a kubeconfig file is read from disk it may lack the
propper mapping between contexts and clusters.

In such a case the kubeconfig phase backend will panic,
without throwing a sensible error.

Add nil checks for a couple of map operations in
validateKubeConfig().
2019-06-19 15:12:22 +03:00
Kubernetes Prow Robot
9162d932cf
Merge pull request #78703 from MrHohn/svc-e2e-name-cleanup
[e2e] Make meaningful service name in test
2019-06-19 00:56:31 -07:00
Kubernetes Prow Robot
cf23c017cd
Merge pull request #79130 from RainbowMango/pr_delete_unused_constant_in_service_controller
Minor change: delete unused constant from service controller
2019-06-18 20:38:45 -07:00
Kubernetes Prow Robot
0a3557bc29
Merge pull request #75544 from pontiyaraja/pos
re-named conformance test name for pod creating with CPU and memory resources
2019-06-18 20:38:32 -07:00
Kubernetes Prow Robot
efa043151c
Merge pull request #79094 from gaorong/fix-IsLikelyNotMountPoint
fix kubelet can not delete orphaned pod directory when "/var/lib/kubelet/pods" directory symbolically links to another device's directory
2019-06-18 19:02:31 -07:00
Kubernetes Prow Robot
0f9077d0af
Merge pull request #78934 from SataQiu/fix-test-20190612
[e2e] move Failf from e2e/framework to e2e/framework/log
2019-06-18 16:36:46 -07:00
Kubernetes Prow Robot
155f4a649b
Merge pull request #76968 from egernst/podspec-overhead
pod-overhead: add Overhead to PodSpec and RuntimeClass
2019-06-18 16:36:33 -07:00
Kubernetes Prow Robot
12ff2fe3f5
Merge pull request #78887 from joshmsamuels/master
Inverted error handling to ensure server-side apply does not fall bac…
2019-06-18 10:10:21 -07:00
Eric Ernst
5e09568c8e pod-overhead: autogenerated code updates
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
ec8ef0df20 pod overhead: drop from RuntimeClass base on feature-gate
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
2c52cc3412 pod-overhead: add Overhead to RuntimeClass internal type
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
bcb046a443 pod-overhead: add Overhead to RuntimeClass
Co-authored-by: Tim Allclair <tallclair@google.com>
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
33713087f4 pod-overhead: drop from PodSpec based on feature-gate
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
d0b0c0ae45 pod-overhead: add Overhead to PodSpec internal type
Update internal PodSpec to make use of Overhead field. Add validation
and validation tests.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
558477455c pod-overhead: add Overhead to PodSpec
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
fc312d4529 pod-overhead: Introduce PodOverhead feature gate
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Kubernetes Prow Robot
0e499be526
Merge pull request #78687 from pohly/WaitForPodsWithLabelRunningReady
e2e: fix return value of WaitForPodsWithLabelRunningReady
2019-06-18 08:04:22 -07:00
Kubernetes Prow Robot
9988239125
Merge pull request #79011 from cwdsuzhou/June/remove_useless_returned_value
Remove returned value of func handleCreateEvent
2019-06-18 06:04:20 -07:00
Kubernetes Prow Robot
1545b28b58
Merge pull request #79097 from xychu/fix-shellchecks-n
Fix shellcheck failures in test/cmd
2019-06-18 01:08:15 -07:00
Hongcai Ren
f0fae66001 Minor change: delete unused constant from service controller 2019-06-18 15:45:34 +08:00
Patrick Ohly
baef3e44cd e2e: fix return value of WaitForPodsWithLabelRunningReady
Because of a := assignment, the anonymous function assigned the pod
list to a local variable instead of the
WaitForPodsWithLabelRunningReady return value which therefore always
was nil.

The correct code is an assignment with = as in WaitForPodsWithLabelScheduled.
2019-06-18 09:07:31 +02:00
Kubernetes Prow Robot
eaf89cfbb4
Merge pull request #78282 from jiatongw/e2e/framework/utilNode
Move node related methods to framework/node package
2019-06-17 18:20:14 -07:00
Jiatong Wang
b1c346c295 Move node related methods to framework/node package
- Add a package "node" under e2e/framework and alias e2enode;
- Rename some functions whose name have redundant string.

Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-06-17 16:59:07 -07:00
Kubernetes Prow Robot
c8b45cd25c
Merge pull request #79106 from vbannai/default-backend
The default-http-backend for handling 404 pages will now point to 404…
2019-06-17 16:04:16 -07:00
Kubernetes Prow Robot
1894889314
Merge pull request #79050 from praseodym/patch-1
Create SECURITY.md for GitHub security policy page
2019-06-17 14:32:17 -07:00
Kubernetes Prow Robot
ae3c44d043
Merge pull request #78458 from logicalhan/readiness
Add readyz endpoint to apiserver, modify poststarthooks health checking behavior
2019-06-17 12:39:49 -07:00
Vinay Bannai
e7b7c8bc10 The default-http-backend for handling 404 pages will now point to 404 handler
with prometheus integration and provides metrics related to requests per second
and the duration of responding to the requests for various percentile
groupings. Please check
https://github.com/kubernetes/ingress-gce/blob/master/cmd/404-server-with-metrics/README.md
for details about the 404-server-with-metrics.
2019-06-17 11:24:47 -07:00
Han Kang
54dcf5c9c4 add readyz endpoint for kube-apiserver readiness checks
add startup sequence duration and readyz endpoint

add rbac bootstrapping policy for readyz

add integration test around grace period and readyz

rename startup sequence duration flag

copy health checks to fields

rename health-check installed boolean, refactor clock injection logic

cleanup clock injection code

remove todo about poststarthook url registration from healthz
2019-06-17 11:16:13 -07:00
Kubernetes Prow Robot
35e8a70b53
Merge pull request #79095 from ss104301/t-qini-controller_unit_test
Add unit tests for azure_controller_common.go and azure_controller_standard.go
2019-06-17 11:06:02 -07:00
Kubernetes Prow Robot
365283e202
Merge pull request #78532 from cwdsuzhou/simplify_construct_volume_spec
Simplify func ConstructVolumeSpec
2019-06-17 11:05:49 -07:00
Kubernetes Prow Robot
56066c820d
Merge pull request #79099 from SataQiu/fix-kubeadm-20190617
kubeadm: cleanup deps on pkg/master/ports
2019-06-17 09:42:28 -07:00
Kubernetes Prow Robot
d3bbe03b08
Merge pull request #79032 from yastij/move-initsystem
move initsystem to kubeadm
2019-06-17 09:42:15 -07:00
Kubernetes Prow Robot
8f927d8815
Merge pull request #78277 from k-toyoda-pi/change_betrue_equal_for_cronjob_test
Change BeTrue to Equal/BeNumerically in cronjob e2e test
2019-06-17 07:14:11 -07:00
SataQiu
7e2e144f1b kubeadm: cleanup deps on pkg/master/ports 2019-06-17 21:27:02 +08:00
Kubernetes Prow Robot
a2b1a7450e
Merge pull request #79052 from M00nF1sh/add_yyyng_approver
add m00nf1sh as approver/reviewer in aws provider
2019-06-17 05:54:37 -07:00
Kubernetes Prow Robot
1b6189ea68
Merge pull request #78695 from dims/sort-list-of-component-config-API-objects-in-cli
Sort kubeadm CLI default params for component config API objects
2019-06-17 05:54:23 -07:00
Kubernetes Prow Robot
541cc51c7d
Merge pull request #72809 from hanxiaoshuai/fix0111
when SessionAffinityConfig is different, enqueueService in update Service handler
2019-06-17 05:54:09 -07:00
Kubernetes Prow Robot
9120d427da
Merge pull request #79020 from andyzhangx/resource-id-case-insensitive
fix: make azure disk URI as case insensitive
2019-06-17 04:37:06 -07:00
Kubernetes Prow Robot
3ee8ae2721
Merge pull request #78888 from tedyu/mount-ref
Return early when mount ref is determined
2019-06-17 04:36:50 -07:00
Kubernetes Prow Robot
e46b9ca656
Merge pull request #78754 from cwdsuzhou/June/csi_attach_close_chan
Avoid to keep the watcher open for too long
2019-06-17 04:36:37 -07:00
Kubernetes Prow Robot
fdd67d7dd8
Merge pull request #78419 from gaorong/changelog
fix some mistakes in changelog
2019-06-17 04:36:24 -07:00
Kubernetes Prow Robot
2dc0c01068
Merge pull request #78222 from humblec/volume_stats
Fix nil pointer dereference in metrics value calculator.
2019-06-17 04:36:11 -07:00
Yassine TIJANI
c3904bbce6 move initsystem to kubeadm
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-06-17 12:21:01 +02:00
Kubernetes Prow Robot
e91556c62f
Merge pull request #72452 from SuperQ/patch-1
Adjust node_exporter CPU params
2019-06-17 02:40:11 -07:00
pontiyaraja
40146c85f4 re-named conformance test name for pod creating with CPU and memory resources 2019-06-17 14:54:08 +05:30
nicky
d07acb8da6 Add unit tests for azure_controller_common.go and azure_controller_standard.go 2019-06-17 09:06:19 +00:00
Kubernetes Prow Robot
5ae55b992b
Merge pull request #78877 from logicalhan/global-registry
use noopRegistry for default global legacy prom registry, expose an http handler, introduce registerable interface
2019-06-17 00:42:08 -07:00
Rong Gao
595fcf68d1 fix kubelet can not delete orphaned pod directory when the kubelet's root directory symbolically links to another device's directory 2019-06-17 15:39:25 +08:00
Xiangyang Chu
99b2184993 Fix shellcheck faulures in test/cmd
Including files after test/cmd/n*
2019-06-17 14:04:34 +08:00