Commit Graph

80073 Commits

Author SHA1 Message Date
Pavithra Ramesh
86d12be975 Lock down nodelocaldns configmap. 2019-05-27 23:53:48 -07:00
nolancon
b7f6b8f8f1 Updated unit test for socketmask 2019-05-28 05:00:04 +01:00
Harry Zhang
90eb408142 Use zone from node for topology aware volume creation 2019-05-27 17:13:42 -07:00
Haowei Cai
9808fa3d6c mitigate test flake when kubectl e2e and crd-openapi e2e run in parallel 2019-05-27 12:59:11 -07:00
yameiwang
81d25371e8 fix typo in helpers_test.go 2019-05-28 03:29:38 +08:00
qingsenLi
f98bbdec32 fix a little spelling error 2019-05-28 01:38:44 +08:00
Dr. Stefan Schimanski
3ccb26c3bb apiextensions: fix metrics double registration during tests 2019-05-27 19:32:55 +02:00
Dr. Stefan Schimanski
33e95bc185 apiextensions: add conversion pruning tests 2019-05-27 19:32:55 +02:00
Dr. Stefan Schimanski
26366255fc apiextensions: run conversion tests also with preserveUnknownFields=false 2019-05-27 19:32:55 +02:00
Dr. Stefan Schimanski
d87de1a903 apiextensions: prune all GVKs in serializer 2019-05-27 19:32:55 +02:00
Anago GCB
50fb78b90b Update CHANGELOG-1.12.md for v1.12.9. 2019-05-27 17:26:49 +00:00
Andrew Sy Kim
f3715bbbac ipvs: add descriptions to ipset unit tests
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-05-27 11:38:11 -04:00
Rostislav M. Georgiev
de1bd55e96 kubeadm: Update v1beta2 doc.go
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-05-27 18:02:17 +03:00
Aldo Culquicondor
95b153456a Add linux container resources to fake runtime service
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-05-27 10:55:46 -04:00
yanghaichao12
66aa7c973d delete unused code in proxier_test 2019-05-27 10:39:43 -04:00
Yago Nobre
0a005e3dac
Add kubeadm certificate-key command 2019-05-27 11:29:31 -03:00
Beata Skiba
cd6cc65236 Addon resizer version 1.8.5
Rebases addon-resizer to distroless
2019-05-27 15:12:29 +02:00
Andrew Sy Kim
e049927a1c ipvs proxier: increase log level for real server deletion message
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-05-27 08:24:37 -04:00
Kubernetes Prow Robot
f780ac028b
Merge pull request #78292 from JieJhih/scheduling/code
use iota instead assign value to constants
2019-05-27 05:03:53 -07:00
Humble Chirammal
cada0270fe Fix nil pointer dereference in metrics value calculator.
The metrics structure passed to volume stat calculator
can contain real stats on subset of metrics fields. For example,
the metrics structure filled by a CSI driver can have
either INODES or BYTES filled, IOW it a valid return.
In such cases the volume stat calculator panic with below
trace:

0516 21:36:19.013143   14452 runtime.go:69] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:76
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51
/usr/local/go/src/runtime/panic.go:522
/usr/local/go/src/runtime/panic.go:82
/usr/local/go/src/runtime/signal_unix.go:390
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go:697
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go:685
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/kubelet/server/stats/volume_stat_calculator.go:144
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/kubelet/server/stats/volume_stat_calculator.go:125
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/kubelet/server/stats/volume_stat_calculator.go:65
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:152
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:153
/usr/local/go/src/runtime/asm_amd64.s:1337

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-05-27 16:36:39 +05:30
SataQiu
a6e0614dd9 fix golint failures of test/e2e/chaosmonkey 2019-05-27 18:30:12 +08:00
qingsenLi
62dea14351 fix klog format error 2019-05-27 18:05:09 +08:00
Tobias Hintze
8829efaeb0
Allow trailing dot for service.spec.externalName 2019-05-27 11:28:07 +02:00
Maysa Macedo
b6f73bc82a Increase coverage for e2e Network Policy tests 2019-05-27 02:59:56 -04:00
Di Xu
f715d41635 fix bug for regular empty file 2019-05-27 14:35:24 +08:00
nolancon
283dff9335 Update SocketMask based on feedback
TODO: Unit tests to be updated
2019-05-27 07:19:03 +01:00
Kubernetes Prow Robot
da31c50da1
Merge pull request #78304 from mysunshine92/fix-workflow
kubeadm: fix typos in  code comments
2019-05-26 21:17:49 -07:00
toyoda
028cd65db9 fix golint failure in e2e/common/[p-r]* 2019-05-27 08:57:02 +09:00
Kaleo
e672fb6b6a Fix golint issue in pkg/apis/abac/latest 2019-05-26 16:30:35 +08:00
Rael Garcia Arnes
b5d6b9e326 Add go-bindata dependency installation 2019-05-26 07:50:28 +00:00
andyzhangx
e65fba6499 Add support for Azure Disk to csi-translation-lib
rename to azure_disk

add more translation fields

fix typo
2019-05-26 02:50:29 +00:00
Dr. Stefan Schimanski
ee4f1847f5 Update generated files 2019-05-26 00:28:07 +02:00
Dr. Stefan Schimanski
faa24b2b38 apiextensions: move conversion tests into own package 2019-05-26 00:28:07 +02:00
Dr. Stefan Schimanski
b83be57435 apiextensions: port conversion e2e tests to integration 2019-05-26 00:24:47 +02:00
Dr. Stefan Schimanski
8a6d14afc8 apiextensions: fix non-trivial conversion integration test
This adds a third version v1alpha1 which has the same schema as v1beta1. Moreover, v1beta1 becomes the storage version. Hence, we can do noop webhook conversion from v1alpha1 to v1beta1 and back.
2019-05-26 00:24:44 +02:00
Dr. Stefan Schimanski
743f0e6cc2 apiextensions: always fix storage version after tests 2019-05-26 00:24:13 +02:00
Dr. Stefan Schimanski
5b5fea0502 apiextensions: make conversion webhook test server more compositional 2019-05-26 00:24:09 +02:00
Kubernetes Prow Robot
16d33c4985
Merge pull request #78042 from oomichi/use-ExpectNoError-common2
Use framework.ExpectNoError() on e2e/common
2019-05-25 13:03:50 -07:00
Claudiu Belu
16da70c249 credentialprovider: Sets homeDirPath to os.UserHomeDir()
Currently, the credential provider will look in the path set in
the $HOME env variable, but that environment does not exist on
Windows, but $HOMEPATH does. Because of this, if credentials are
set in ~/.docker on Windows, they will not be used by kubelet
when pulling images.

The function os.UserHomeDir can solve this problem [1].

[1] https://golang.org/pkg/os/#UserHomeDir
2019-05-25 12:52:32 -07:00
Kubernetes Prow Robot
eaece39c86
Merge pull request #78323 from tallclair/docker
Add a special-cased runtime handler for dockershim
2019-05-25 09:01:50 -07:00
Dr. Stefan Schimanski
0cafec6608 apiextensions: make integration test server flags available to test code 2019-05-25 17:57:04 +02:00
Dr. Stefan Schimanski
74e62b9a77 apiextensions: fix npe in subresource test 2019-05-25 17:57:04 +02:00
Dr. Stefan Schimanski
cd0b46874a apiextensions: add storage race TODO in CRD conversion e2e test 2019-05-25 17:57:04 +02:00
Kubernetes Prow Robot
9ddc9ccc57
Merge pull request #78233 from SataQiu/clean-up-20190523
cleanup: move the comment to its place
2019-05-24 20:49:27 -07:00
Chao Xu
369314959c generated 2019-05-24 18:14:53 -07:00
Chao Xu
e28a1072d9 Make ListMeta.RemainingItemCount a pointer (*int64) to make sure it's omitted
when serialized to proto.

The SetRemainingItemCount() and GetRemainingItemCount() still takes and
returns an int64 to make developers life easier.
2019-05-24 18:12:55 -07:00
yameiwang
7e1badd7fd fix typo worklow->workflow 2019-05-25 07:05:37 +08:00
Tim Bannister
82fd3e2fa7
Fix typo
Write "HTTP" (and not "HTTPS") to describe plain HTTP.
2019-05-24 23:55:55 +01:00
yameiwang
23b7d5e606 fix some spelling error 2019-05-25 06:51:31 +08:00
Tim Allclair
19a588eeda Add a special-cased runtime handler for dockershim 2019-05-24 15:30:34 -07:00