Commit Graph

74816 Commits (bf25f7160bbb824ad9aa6f01a74d347165b6f6f1)

Author SHA1 Message Date
Pengfei Ni 0d03672e02 Revert "Add network stats for windows node"
This reverts commit f9fa1c6a38.
2019-02-15 12:20:41 +08:00
Pengfei Ni 2449b0997c Revert "Add network stats for Windows containers"
This reverts commit 9cf38de44b.
2019-02-15 12:20:23 +08:00
Kubernetes Prow Robot 49e83f8998
Merge pull request #73996 from andrewsykim/update-cloud-provider-deps
update import restrictions for pkg/cloudprovider/providers
2019-02-14 19:27:42 -08:00
Nguyen Hai Truong 848da13359 Adding '/usr/bin/env bash'
This commit aims to add '/usr/bin/env bash' as a shebang line
to indicates scripts use bash shell for interpreting.

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-14 19:18:49 -08:00
Nguyen Van Trung d5d7db476d fix an issue of yaml and json format
Signed-off-by: Nguyen Van Trung <trungnv@vn.fujitsu.com>
2019-02-15 09:55:53 +07:00
Kubernetes Prow Robot 0eb69f6b92
Merge pull request #74079 from jarrpa/csi-cluster-registrar
CSIDriverRegistrar e2e cleanups
2019-02-14 17:05:51 -08:00
Kubernetes Prow Robot b6ca168911
Merge pull request #74072 from bart0sh/PR0061-kubeadm-fix-failed-to-load-admin-kubeconfig
kubeadm: fix kubeadm reset logic
2019-02-14 17:05:41 -08:00
Kubernetes Prow Robot 62734d3670
Merge pull request #73976 from jennybuckley/apply-errors
Make server-side apply's conflict errors more human readable
2019-02-14 17:05:21 -08:00
David Zhu 5dde1df1cd Migration shim logic for Persistent Volumes for Attach/Detach 2019-02-14 17:04:23 -08:00
Haowei Cai 49af9e5ff3 add test 2019-02-14 16:53:29 -08:00
Haowei Cai 3639911ea7 generated 2019-02-14 16:02:35 -08:00
Kubernetes Prow Robot c2a326fdaa
Merge pull request #74067 from sttts/sttts-apiextensions-helpers
apiextensions-apiserver: make API helpers reusable
2019-02-14 15:50:32 -08:00
Kubernetes Prow Robot 6a9902deee
Merge pull request #73802 from Random-Liu/handle-unknown-state
Stop container in unknown state before recreate or remove.
2019-02-14 15:50:12 -08:00
vanduc95 46247b2c93 kubeadm cleanup: master -> control-plane (cont.) 2019-02-15 06:49:31 +07:00
Haowei Cai efae739d02 expose openapi service from genericapiserver 2019-02-14 14:33:20 -08:00
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