Commit Graph

82168 Commits

Author SHA1 Message Date
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
Justin SB
c74f2f6a72
Make drain library more reusable
Move more functionality from the kubectl cmd to a package with
fewer dependencies.
2019-08-14 23:00:10 -04: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
Ted Yu
2374f9ad7c Propagate error from NewEtcd 2019-08-14 16:46:23 -07:00
matte21
1371490bd6 Lowercase first letter of chainable errors in PVC protection controller
Lowercase first letter of error messages that are not printed right
away to ease chaining with other error messages in PVC protection
controller.
2019-08-15 00:46:02 +02:00
matte21
791d1c81f0 Add live list of pods to PVC protection controller
Add live list of pods to PVC protection controller, as opposed to doing
only a cache-based list through the Informer. Both lists are performed
while processing a PVC with deletionTimestamp set to check whether Pods
using the PVC exist and remove the finalizer to enable deletion of the
PVC if that's not the case. Prior to this commit only the cache-based
list was done but that's unreliable because a pod using the PVC might
exist but not be in the cache just yet. On the other hand, the live
list is 100% reliable.

Note that it would be enough to do only the live list. Instead, this
commit adds it after the cache-based list and performs it only if the
latter finds no Pod blocking deletion of the PVC being processed. The
rationale is that live lists are expensive and it's desirable to
minimize them. The drawback is that if at the time of the cache-based
list the cache has not been notified yet of the deletion of a Pod using
the PVC the PVC is kept. Correctness is not compromised because the
finalizer will be removed when the Pod deletion notification is
received, but this means PVC deletion is delayed. Reducing live lists
was valued more than deleting PVCs slightly faster.

Also, add a unit test that fails without the change introduced by this
commit and revamp old unit tests. The latter is needed because expected
behavior is described in terms of API calls the controller makes, and
this commit introduces new API calls (the live lists).
2019-08-15 00:46:02 +02:00
Joe Betz
4f7543e42a Upgrade AdmissionReview e2e test image to also support v1 2019-08-14 14:57:55 -07:00
Kubernetes Prow Robot
d5bdb7796a
Merge pull request #81386 from neolit123/1.17-kubeadm-etcd-map
kubeadm: add v1.17 to the list versions that map to etcd version
2019-08-14 12:46:51 -07:00
Kubernetes Prow Robot
12f1898e51
Merge pull request #81328 from hex108/fix_permit_plugin
Fix flaky test TestPreemptWithPermitPlugin
2019-08-14 12:46:38 -07:00
Kubernetes Prow Robot
4ac9701370
Merge pull request #81309 from andrewsykim/ipvs-test-delete-with-realserver
proxy/ipvs: test cleanLegacyService with real servers
2019-08-14 12:46:24 -07:00
Kubernetes Prow Robot
95a5781b9d
Merge pull request #81304 from j-griffith/update_hostpathplugin_to_rc4
Update CSI hostpathplugin to include cloning fix
2019-08-14 12:46:11 -07:00
Kubernetes Prow Robot
9ac0470a31
Merge pull request #81240 from jpbetz/crd-base-operations-conformance
Add CRD e2e tests for untested stable operations
2019-08-14 12:45:57 -07:00
Yang Lu
9d68d44e1f Add instruction for "Application Default Credentials" 2019-08-14 10:27:58 -07:00
aaa
40bf494e3f fix shellcheck failures in hack/test-integration.sh and hack/verify-test-featuregates.sh 2019-08-14 13:07:46 -04:00
Joe Betz
3121773af7 Add admission e2e tests for untested stable operations 2019-08-14 09:54:49 -07:00
Kubernetes Prow Robot
f6a70ef271
Merge pull request #80376 from ehashman/issue-66790-2
Drop deprecated cadvisor metric labels
2019-08-14 09:10:38 -07:00
Kubernetes Prow Robot
a9bc3c0ab8
Merge pull request #79587 from yue9944882/bugfix/tighten-primitive-json-schema-type-validation
DO NOT publish openapi specs containing bad types
2019-08-14 09:10:25 -07:00
Kubernetes Prow Robot
a7c81c663d
Merge pull request #78775 from johscheuer/fix-kube-proxy-cleanup-error
Check if options returning an error
2019-08-14 07:26:26 -07:00
AllenZMC
d266b79a39
fix some typos in testing.go 2019-08-14 20:53:24 +08:00
Janek Łukaszewicz
e52110edcd kube-proxy: do not export network programming latency for deleted enpoints. 2019-08-14 14:00:07 +02:00
draveness
d3cc73965a feat: use schedulerapi.MaxPriority instead of hard-coded int 2019-08-14 19:16:41 +08:00
draveness
9fb0df5096 feat(scheduler): return error when score is out of range 2019-08-14 19:16:41 +08:00
Kubernetes Prow Robot
34791349d6
Merge pull request #81387 from logicalhan/go-grpc-prom
bump go-grpc-prometheus to v1.2.0
2019-08-14 03:29:05 -07:00
Kubernetes Prow Robot
8d925c7510
Merge pull request #81335 from carlory/fix
add missing import required by build scripts
2019-08-14 03:28:52 -07:00
Kubernetes Prow Robot
d23b2c7d83
Merge pull request #81215 from zouyee/iscsi
remove iSCSI volume storage cleartext secrets in logs
2019-08-14 03:28:38 -07:00
Kubernetes Prow Robot
1906650d92
Merge pull request #80901 from draveness/feature/use-map-instead-of-array
feat: use named array instead of array in normalizing score
2019-08-14 03:28:25 -07:00
Haowei Cai
1ec8746c3a do not publish openapi for a schema containing bad types
minor rewords & refactor

run script: update misc

remove null from supported types
2019-08-14 17:49:20 +08:00