Commit Graph

82131 Commits

Author SHA1 Message Date
Lubomir I. Ivanov
99b64f1e8e kubeadm: use etcd's /health endpoint for it's liveness probe
Etcd v3.3.0 added the --listen-metrics-urls flag which allows specifying
addition URLs to the already present /health and /metrics endpoints.

While /health and /metrics are enabled for URLS defined with
--listen-client-urls (v3+ ?) they do require HTTPS.

Replace the present etcdctl based liveness probe with a standard HTTP
GET v1.Probe that connects to http://127.0.0.1:2381/health.

These endpoints are not reachable from the outside and only available
for localhost connections.
2019-08-16 01:06:49 +03:00
Stephen Augustus
c7858aa976 Lint Azure imports
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-08-15 18:03:05 -04:00
Stephen Augustus
14e4b5f8db Update vendor for Azure dependencies
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-08-15 18:01:44 -04:00
Stephen Augustus
db855f9ba0 Update Azure/azure-sdk-for-go and Azure/go-autorest modules
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-08-15 17:57:49 -04:00
Marek Counts
e69feae028 updated kubeadm reset wording to be more clear
updated kubeadm reset to be clear that it was best effort.
2019-08-15 20:15:55 +00:00
j-griffith
47facf91b9 Add e2e tests for CSI PVCDataSources
address unit test comments
2019-08-15 13:25:10 -06:00
Ted Yu
2f671340c9 buildPortsToEndpointsMap should use flattened value type 2019-08-15 11:28:09 -07:00
Kubernetes Prow Robot
de3aed8023
Merge pull request #81306 from ravisantoshgudimetla/terminate-on-leader-election
Scheduler should terminate on loosing leader lock
2019-08-15 11:06:49 -07:00
Kubernetes Prow Robot
d8c8c8eded
Merge pull request #79931 from skarthiksrinivas/vsphere_volume_selectednode
Provision vSphere volume as per selectedNode
2019-08-15 11:06:35 -07:00
Kenichi Omichi
a5a23d2845 Move ConfirmStatefulPodCount to e2e test
ConfirmStatefulPodCount() was used at e2e statefulset test only,
and that added dependency on another sub framework to statefulset
sub framework. This moves ConfirmStatefulPodCount() to the e2e test
for clean dependency.
2019-08-15 17:36:04 +00:00
Jordan Liggitt
15097a524f CRD v1: disallow spec.preserveUnknownFields=true 2019-08-15 12:27:01 -04:00
Jordan Liggitt
9a2dd16a0f CRD v1: combine webhookClientConfig and conversionReviewVersions under webhook struct 2019-08-15 12:26:14 -04:00
Jordan Liggitt
05d8b448d2 CRD v1: drop spec.scope default 2019-08-15 12:26:14 -04:00
Jordan Liggitt
27360db1da CRD v1: drop top-level version, validation, subresources, additionalPrinterColumns fields 2019-08-15 12:26:14 -04:00
Jordan Liggitt
57e5848701 CRD v1: change JSONPath to jsonPath 2019-08-15 12:26:13 -04:00
Jordan Liggitt
6278447bde CRD v1: install/register types 2019-08-15 12:26:13 -04:00
Jordan Liggitt
f344ca9719 CRD v1: copy v1beta1 types to v1 2019-08-15 12:26:13 -04:00
Mike Dame
a9f1314b60 Taints and tolerations e2e test re-work
Includes the changes from #80922 (that were reverted), and updates the test to appropriately add intolerable taints to all nodes except the target node
2019-08-15 11:00:24 -04:00
Guangming Wang
c718ba6871
cleanup: fix typos in rbd_util.go
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-15 22:39:15 +08:00
Guangming Wang
05d322bbb0
cleanup: fix typos in error message in e2e test
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-15 22:34:25 +08:00
fredkan
67aeb09c6a error config attachable plugin 2019-08-15 22:29:18 +08:00
Kubernetes Prow Robot
32dc42ed34
Merge pull request #81463 from feiskyer/fix-panic
Fix panic when errors are nil
2019-08-15 07:21:00 -07:00
Kubernetes Prow Robot
fec7d35f26
Merge pull request #81391 from oomichi/cleanup-GetGPUDevicePluginImage
Move GetGPUDevicePluginImage to the test
2019-08-15 07:20:48 -07:00
Kubernetes Prow Robot
273e9262bb
Merge pull request #80342 from draveness/feature/remove-critical-pod-annotation
feat: cleanup pod critical pod annotations feature
2019-08-15 07:20:34 -07:00
Sandeep Rajan
6821d21260 add the ability to migrate coredns configmap 2019-08-15 10:09:32 -04:00
Kubernetes Prow Robot
f2dd24820a
Merge pull request #73920 from nolancon/topology-manager-cpu-manager
Changes to make CPU Manager a Hint Provider for Topology Manager
2019-08-15 05:44:33 -07:00
fredkan
6524b83d53 error config attachable plugin 2019-08-15 20:41:32 +08:00
Kubernetes Prow Robot
117e83157b
Merge pull request #81447 from tariq1890/fix_nil
[kubernetes/kubeadm] fix minor nil issues in kudeadm code
2019-08-15 04:00:49 -07:00
Kubernetes Prow Robot
b5d33fa9bd
Merge pull request #81262 from levimm/fixUpdateServiceDNSLabel
fix azure load balancer update dns label issue
2019-08-15 04:00:36 -07:00
yanghaichao12
f54856952f remove defaultedInternalConfig fromr kubeadm
remove defaultedInternalConfig from kubeadm
2019-08-15 17:45:27 +08:00
Kubernetes Prow Robot
6d4e6d7242
Merge pull request #81395 from logicalhan/version-type
change deprecatedVersion type to string for static analysis parsing ease
2019-08-15 02:33:00 -07:00
Kubernetes Prow Robot
3645041af5
Merge pull request #81377 from sjenning/add-eviction-metrics
kubelet: add eviction counter to kubelet metrics
2019-08-15 02:32:46 -07:00
Kubernetes Prow Robot
7a35f8c92d
Merge pull request #81015 from draveness/feature/update-normalize-score-extension-point
feat:  return error when score is out of range
2019-08-15 02:32:35 -07:00
fredkan
87243f49a4 fix error set csiplugin attachable 2019-08-15 17:08:21 +08:00
Pengfei Ni
d99bd819ac Fix panic when errors are nil 2019-08-15 17:00:06 +08:00
Jan Safranek
2c79ffe274 Add test for unused volumes 2019-08-15 10:48:41 +02:00
Jan Safranek
5b69362ff0 Skip unused volumes in VolumeManager
DesiredStateOfWorldPopulator should skip a volume that is not used in any
pod. "Used" means either mounted (via volumeMounts) or used as raw block
device (via volumeDevices).

Especially when block feature is disabled, a block volume must not get into
DesiredStateOfWorld, because it would be formatted and mounted there.
2019-08-15 10:48:38 +02:00
Jan Safranek
8d580262f9 Refactor makeMountsMap into GetPodVolumeNames
The function will be handy in subsequent patches. Also change custom maps
into sets.String.
2019-08-15 10:48:38 +02:00
Jianfei Bai
1d75a16b46 Add http response code 503 to check. 2019-08-15 15:52:54 +08:00
Kubernetes Prow Robot
661e4d5b38
Merge pull request #81271 from jpbetz/webhok-agnhost-v1
Upgrade AdmissionReview e2e test image to also support v1
2019-08-14 23:12:32 -07:00
tariqibrahim
6df4f62d1c [kubernetes/kubeadm] fix minor nil issues in kudeadm code 2019-08-14 21:49:39 -07:00
Kubernetes Prow Robot
44c0f64411
Merge pull request #80801 from SataQiu/fix-cert-length
Follow up #80734: update RSA keys to 2048 bits
2019-08-14 21:44:44 -07:00
Kubernetes Prow Robot
1c4a7dbe7b
Merge pull request #78245 from k-toyoda-pi/add_test_cronjob_failedJobsHistoryLimit
add e2e test for cronjob failedJobsHistoryLimit
2019-08-14 21:44:31 -07:00
czm
cdcf1c0ea2 fix some typos in recycle_test.go 2019-08-15 11:34:46 +08:00
Kubernetes Prow Robot
0d579bfecf
Merge pull request #79796 from jsafrane/block-test-mismatch
Add test for mismatched usage of filesystem/block volumes
2019-08-14 19:00:37 -07:00
Kubernetes Prow Robot
df9d3a8787
Merge pull request #81424 from xichengliudui/fix190915
fix shellcheck failures in hack/test-integration.sh and hack/verify-t…
2019-08-14 16:53:28 -07:00
Kubernetes Prow Robot
3526a6162e
Merge pull request #81390 from cblecker/go-1.12.8
Update to go 1.12.8
2019-08-14 16:53:15 -07:00
Kubernetes Prow Robot
93e9abe6af
Merge pull request #81381 from jpbetz/admission-e2e-operations
Add admission e2e tests for untested stable operations
2019-08-14 16:53:02 -07:00
Kubernetes Prow Robot
e552806753
Merge pull request #81361 from oxddr/kubeproxy-moar-logging
kube-proxy: do not export network programming latency for deleted Endpoints
2019-08-14 16:52:49 -07:00
Kubernetes Prow Robot
8c6c94bad2
Merge pull request #81148 from wgliang/bugfix/scheduler-heap-race
Fix two race issues in schedule_queue
2019-08-14 16:52:36 -07:00