Commit Graph

74864 Commits (296985ce35c203a882d4ea394a5172a65c7c34c6)

Author SHA1 Message Date
Kubernetes Prow Robot addcd7bb07
Merge pull request #74084 from smarterclayton/fix_human_error
Error message has incorrect pluralization
2019-02-14 13:59:59 -08:00
Kubernetes Prow Robot 1b8c8f1daf
Merge pull request #73831 from jennybuckley/apply-create-service
Honor forceAllowCreate in service registry
2019-02-14 13:59:44 -08:00
Haowei Cai 48adc8ec04 apiextensions-apiserver: make API helpers reusable 2019-02-14 22:27:08 +01:00
Kubernetes Prow Robot 596406581e
Merge pull request #73974 from kubernetes/revert-73763-hack-update-kube-openapi
Revert "Temporary fix for alpha features test"
2019-02-14 11:37:00 -08:00
Kubernetes Prow Robot b79ac288bd
Merge pull request #74030 from soltysh/update_cli
Update SIG-CLI leadership for feature approval
2019-02-14 10:26:18 -08:00
Kubernetes Prow Robot cc09bd971a
Merge pull request #74029 from soltysh/explain_nil2
Add missing VisitArbitrary methods in kubectl explain
2019-02-14 10:25:59 -08:00
Clayton Coleman 07868a5828
Save 2-3 commits from unstructured object creation. 2019-02-14 12:45:42 -05:00
Clayton Coleman d0daa1082f
Correct benchmarks for unstructured, show json-iter
The unstructured benchmarks incorrectly charged setup of objects to the benchmark.

Split each, and add comparison to json iter.

```
BenchmarkToUnstructured-12                 	   30000	     49716 ns/op	   15358 B/op	     221 allocs/op
BenchmarkFromUnstructured-12               	   30000	     53585 ns/op	    7773 B/op	     185 allocs/op
BenchmarkToUnstructuredViaJSON-12          	   30000	     53716 ns/op	   22609 B/op	     323 allocs/op
BenchmarkFromUnstructuredViaJSON-12        	   10000	    121007 ns/op	   29601 B/op	     438 allocs/op
BenchmarkToUnstructuredViaJSONIter/compat-12         	   30000	     57796 ns/op	   27685 B/op	     431 allocs/op
BenchmarkToUnstructuredViaJSONIter/default-12        	   30000	     51114 ns/op	   20377 B/op	     415 allocs/op
BenchmarkToUnstructuredViaJSONIter/fastest-12        	   30000	     48521 ns/op	   20103 B/op	     405 allocs/op
BenchmarkFromUnstructuredViaJSONIter/compat-12       	   20000	     83389 ns/op	   48777 B/op	     591 allocs/op
BenchmarkFromUnstructuredViaJSONIter/default-12      	   30000	     42717 ns/op	   13439 B/op	     291 allocs/op
BenchmarkFromUnstructuredViaJSONIter/fastest-12      	   50000	     35102 ns/op	   12070 B/op	     203 allocs/op
```
2019-02-14 12:45:30 -05:00
Jose A. Rivera a33acd2ba6 CSIDriverRegistry e2e: Use framework.Poll when waiting for PVC delete
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 11:25:15 -06:00
Jose A. Rivera 86c71472df CSIDriverRegistry e2e: Wait for CSIDriver creation
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 11:25:15 -06:00
Clayton Coleman 730927315e
Error message has incorrect pluralization
Shows up to end users:

```
loading OpenAPI spec for "v1beta1.metrics.k8s.io" failed with: OpenAPI spec does not exists
```
2019-02-14 10:57:28 -05:00
Kubernetes Prow Robot 08d0522730
Merge pull request #73844 from rojkov/kubeadm-restructure-upgradeVariables
kubeadm: restructure upgradeVariables
2019-02-14 07:25:36 -08:00
mattjmcnaughton 41f05222e1 Clarify NetworkPolicy policyTypes in docs
Update the NetWorkPolicy `policyTypes` definition in the spec documentation so its
clear there are only three options: "Ingress", "Egress", and
"Ingress,Egress".
2019-02-14 09:28:50 -05:00
andyzhangx 660813c2d1 fix smb remount issue on Windows
add comments for doSMBMount func

fix comments about smb mount
2019-02-14 14:19:24 +00:00
Davanum Srinivas 8fa332cce3
Ensure prometheus metrics are not registered twice
Change-Id: I0f05fae65689b1e22c18d2c46dc5125780e81024
2019-02-14 09:01:14 -05:00
Kubernetes Prow Robot 120bcd7ddd
Merge pull request #73787 from soltysh/deprecate_export
Deprecate --export flag from get command
2019-02-14 05:18:24 -08:00
Jose A. Rivera 81bc0e5ec8 CRIDriverRegistry e2e: Clarify variable name
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 06:59:43 -06:00
Jose A. Rivera 1ac3b37848 CSIDriverRegistry e2e: Always clean up driver
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 06:56:17 -06:00
Maciej Szulik 22a3f6de5e
Add missing VisitArbitrary methods in kubectl explain 2019-02-14 13:06:20 +01:00
Ed Bartosh 7a8de82dfd kubeadm: fix kubeadm reset logic
If /etc/kubeadm/amdin.conf doesn't exist kubeadm reset fails
with the error:
    failed to load admin kubeconfig: open /root/.kube/config: no such file or directory

Fixed by properly checking if file exists before using it.
2019-02-14 12:57:25 +02:00
Kubernetes Prow Robot f5f42df42b
Merge pull request #74068 from sttts/sttts-crd-reg-rename
kube-aggregator: fix CRD registration controller name
2019-02-14 02:33:02 -08:00
Lantao Liu de8ee94d14 Stop container in unknown state before recreate or remove. 2019-02-14 02:31:17 -08:00
Rostislav M. Georgiev f73ac0da3e kubeadm: Replace MigrateOldConfigFromFile
MigrateOldConfigFromFile is a function, whose purpose is to migrate one config
into another. It is working OK for now, but it has some issues:

- It is incredibly inefficient. It can reload and re-parse a single config file
  for up to 3 times.

- Because of the reloads, it has to take a file containing the configuration
  (not a byte slice as most of the rest config functions). However, it returns
  the migrated config in a byte slice (rather asymmetric from the input
  method).

- Due to the above points it's difficult to implement a proper interface for
  deprecated kubeadm config versions.

To fix the issues of MigrateOldConfigFromFile, the following is done:

- Re-implement the function by removing the calls to file loading package
  public APIs and replacing them with newly extracted package private APIs that
  do the job with pre-provided input data in the form of
  map[GroupVersionKind][]byte.

- Take a byte slice of the input configuration as an argument. This makes the
  function input symmetric to its output. Also, it's now renamed to
  MigrateOldConfig to represent the change from config file path as an input
  to byte slice.

- As a bonus (actually forgotten from a previous change) BytesToInternalConfig
  is renamed to the more descriptive BytesToInitConfiguration.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-02-14 11:52:33 +02:00
Dr. Stefan Schimanski af17cff6b0 kube-aggregator: rename New{Auto -> CRD}RegistrationController 2019-02-14 10:21:13 +01:00
Nguyen Quang Huy ac8466444c Fix incorrect influxdb yamle file
Remove redundant attribute in container declaration
2019-02-14 14:26:05 +07:00
Kubernetes Prow Robot 30c7df5cd8
Merge pull request #73987 from vanduc95/cleanup-kubeadm-20190213
kubeadm cleanup: master -> control-plane
2019-02-13 23:07:11 -08:00
Kubernetes Prow Robot d8f0146138
Merge pull request #72214 from caesarxuchao/move-discovery
Move cached discovery clients to their own packages
2019-02-13 23:07:00 -08:00
Kubernetes Prow Robot b13438ab24
Merge pull request #73928 from wongma7/protection-waitforfirstconsumer
Fix PVC protection e2es when default storage class is WaitForFirstConsumer
2019-02-13 21:50:17 -08:00
Kubernetes Prow Robot d01b01beb2
Merge pull request #74032 from tedyu/master
Use Set to check whether flag name is allowed flag
2019-02-13 20:33:17 -08:00
Kubernetes Prow Robot 5b600c5ce3
Merge pull request #73988 from SataQiu/kubeadm-cleanup-20190213
kubeadm cleanup: master -> control-plane :)
2019-02-13 20:32:57 -08:00
SataQiu 19c7f4cb0b fix golint failures on cmd/kubeadm/app/util/config 2019-02-14 12:11:24 +08:00
Kubernetes Prow Robot 2b9c9154b5
Merge pull request #74012 from danielqsj/dep
update generated files
2019-02-13 19:06:31 -08:00
Kubernetes Prow Robot 6f6f8bdfcc
Merge pull request #73822 from justinsb/renamed_set_node_image
e2e upgrade test: rename functions to match f0f7829934
2019-02-13 19:06:20 -08:00
Andrew Kim a82481ff21 update import restrictions for pkg/cloudprovider/providers 2019-02-13 21:46:44 -05:00
vanduc95 0e8941f7ec kubeadm cleanup: master -> control-plane 2019-02-14 09:18:42 +07:00
Nguyen Quang Huy 7c923b64d8 Fix error collides with imported package name
Fix error collides with imported package name for plugins.go
- Fix variable 'preds' collides with imported package name
- Fix warning in initializing variables, error string log be capitalized
2019-02-14 09:17:54 +07:00
Yu-Ju Hong 5fd27c38da Move beta OS/Arch labels back to the kubelet package
These labels are being deprecated
2019-02-13 18:09:49 -08:00
Kubernetes Prow Robot a3877b1776
Merge pull request #73895 from WanLinghao/context_util_clean
Clean unused code in pkg/securitycontext/util.go
2019-02-13 17:31:54 -08:00
Kubernetes Prow Robot d457fb7771
Merge pull request #73869 from grayluck/no-cluster-cidr-validation
Skip validation for clusterCIDR in node ipam controller.
2019-02-13 17:31:44 -08:00
Kubernetes Prow Robot 2e287a0ac1
Merge pull request #73677 from jarrpa/csi-cluster-registrar
e2e: Use cluster-driver-registrar for CSIDriverRegistry tests
2019-02-13 17:31:33 -08:00
Kubernetes Prow Robot 888ff4097a
Merge pull request #73651 from RobertKrawitz/node_pids_limit
Support total process ID limiting for nodes
2019-02-13 17:31:18 -08:00
Kubernetes Prow Robot 508a4f7544
Merge pull request #74000 from caesarxuchao/json-patch-operations
Limit the number of operations in a single json patch to be 10,000
2019-02-13 16:12:12 -08:00
Kubernetes Prow Robot 03320c1436
Merge pull request #73985 from BenTheElder/manual-vendor
mark vendor build targets manual
2019-02-13 16:12:02 -08:00
Kubernetes Prow Robot 4734e4bfa6
Merge pull request #74028 from BenTheElder/spread-the-load
add some owners for deps
2019-02-13 14:32:38 -08:00
Kubernetes Prow Robot b9072c3fe7
Merge pull request #73984 from yujuhong/find-node-tar
Add path in find-tar for locating node binary tarball
2019-02-13 14:32:26 -08:00
Kubernetes Prow Robot f9af7e94a9
Merge pull request #73962 from wongma7/glusterfs-sc
Fix glusterfs e2e not using correct storageclass
2019-02-13 14:32:16 -08:00
Kubernetes Prow Robot a5653dc01b
Merge pull request #73903 from smarterclayton/cluster_upgrade
Upgrade tests don't tolerate nodes with taints correctly
2019-02-13 14:32:05 -08:00
Kubernetes Prow Robot 400502577c
Merge pull request #73894 from smarterclayton/event_involved
Print the involved object in the event table as resource/name
2019-02-13 14:31:50 -08:00
Jose A. Rivera 62f3211d76 Run hack/update-bazel.sh
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-13 15:06:58 -06:00
Jose A. Rivera 6115fc49a6 Use cluster-driver-registrar for CSIDriverRegistry tests
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-13 15:06:58 -06:00