Commit Graph

73510 Commits

Author SHA1 Message Date
Boris
b9898eb2ad Token related flags refactored into constants.
Moved token related flags to constants.

Token related flags refactored into constants.

Moved token related flags to constants.

Used new Consts flags in api's validation

Build deps fix

Moved token related flags to constants.

Used new Consts flags in api's validation

Build deps fix

Lint fix

Lint BUILD
2019-01-01 03:46:19 +02:00
Kubernetes Prow Robot
de02d00989
Merge pull request #70782 from MIBc/commenting-error
Commenting error in ItemExponentialFailureRateLimiter
2018-12-31 14:39:36 -08:00
Kubernetes Prow Robot
710b87617c
Merge pull request #71797 from SenXuDC/SenXuDC-patch-1
fix typo replacee -> replace
2018-12-31 07:19:12 -08:00
Ed Bartosh
645c1fa1ab kubeadm: use T.Run API in app/cmd
Used T.Run API for kubeadm tests in app/cmd

This should improve testing output and make it more visible
which test is doing what.
2018-12-31 14:29:52 +02:00
Kubernetes Prow Robot
7946a9a327
Merge pull request #72445 from bart0sh/PR0052-app-apis-kubeadm-use-T.Run
kubeadm: use T.Run API in app/apis/kubeadm
2018-12-31 00:38:29 -08:00
globervinodhn
b3217cc624 Remove SLOW tag from KUBEDESCRIBE and SIGDESCRIBE
Remove SLOW tag and update description for KUBEDESCRIBE(Probing container) and SIGDESCRIBE(EmptyDir Wrapper Volume)

Remove slow references for tests that execute below 5 minutes
2018-12-31 13:13:11 +05:30
Md. Emruz Hossain
83ff55ccc3
Fix a typo 2018-12-31 12:28:33 +06:00
Kenjiro Nakayama
f7aca76bac Fix wrong completion for kubectl attach
Although `kubectl attach POD_NAME <tab>` completes container name,
kubectl attach needs `-c` option so the command causes error as:

```
$ kubectl attach nginx-7cdbd8cdc9-b5rhr nginx
error: the server doesn't have a resource type "nginx-7cdbd8cdc9-b5rhr"
```

This patch changes the completion to the same way as `kubectl exec`.
2018-12-31 13:34:56 +09:00
Wei Huang
980684ac02
Print additional columns for RuntimeClass CRD 2018-12-30 14:49:28 -08:00
Ed Bartosh
d57ec59867 kubeadm: use T.Run API in app/apis/kubeadm
Used T.Run API for kubeadm tests in app/apis/kubeadm

This should improve testing output and make it more visible
which test is doing what.
2018-12-31 00:08:27 +02:00
Kubernetes Prow Robot
922c7221ef
Merge pull request #72351 from ceshihao/featuregate_RunAsGroup
RunAsGroup - Update DropDisabled[Alpha]Fields behaviour
2018-12-30 10:56:56 -08:00
Kubernetes Prow Robot
e478243542
Merge pull request #72190 from yue9944882/chore/drop-disabled-fields-crd
CRD: Update drop disable fields behavior
2018-12-30 09:47:56 -08:00
Zheng Dayu
020e54cce7 add unit test for RunAsGroup in both pod and podsecuritypolicy 2018-12-31 01:10:06 +08:00
Zheng Dayu
d4c85e977f Validation on RunAsGroup - Update DropDisabled[Alpha]Fields behaviour 2018-12-30 23:09:29 +08:00
Kubernetes Prow Robot
13e59ab9ad
Merge pull request #72433 from bart0sh/PR0050-kubeadm-app-util-use-T.Run
kubeadm: use T.Run API in app/util
2018-12-30 03:45:41 -08:00
Kubernetes Prow Robot
65f87b5a4a
Merge pull request #72259 from bsalamat/fix_nominated_node
Fix a race in setting nominated node and the scheduling cycle after it.
2018-12-30 00:01:26 -08:00
Bobby (Babak) Salamat
b75672c4ba autogenerated files 2018-12-29 22:54:15 -08:00
Bobby (Babak) Salamat
7044145920 Fix race in setting nominated node 2018-12-29 22:54:15 -08:00
Jordan Liggitt
a432a7cf68 Shorten re-read period for token files to work with ProjectedTokenVolumeSource 2018-12-29 22:18:28 -05:00
Kubernetes Prow Robot
57c8024036
Merge pull request #72436 from liggitt/ttl-feature-validation
Update feature-gate handling of TTLSecondsAfterFinished
2018-12-29 17:44:24 -08:00
Jordan Liggitt
c5dfe6b612 Update feature-gate handling of TTLSecondsAfterFinished 2018-12-29 19:36:43 -05:00
Kubernetes Prow Robot
43f0423de6
Merge pull request #72419 from liggitt/allowed-proc-mount-validation
Validate PSP allowedProcMountTypes
2018-12-29 13:41:11 -08:00
Kubernetes Prow Robot
a65ba5f5a3
Merge pull request #72255 from krzyzacy/get-golint
Vendor golint in k/k, and use the vendor version in verify-golint check
2018-12-29 12:31:48 -08:00
Kubernetes Prow Robot
fcdc365a40
Merge pull request #72390 from sbezverk/node_configsource
node config source validations
2018-12-29 11:24:45 -08:00
Serguei Bezverkhi
e61b76fb8c node config_source
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-29 13:19:37 -05:00
Kubernetes Prow Robot
5ac194e09d
Merge pull request #72435 from bart0sh/PR0051-kubeadm-fix-package-name
kubeadm: fix incorrect package name in idempotency_test.go
2018-12-29 09:39:14 -08:00
Ed Bartosh
01c9e67c90 kubeadm: fix incorrect package name in idempotency_test.go 2018-12-29 18:30:30 +02:00
Ed Bartosh
47b4d8fc81 kubeadm: use T.Run API in app/util
Used T.Run API for kubeadm tests in app/util/
2018-12-29 18:27:38 +02:00
Kubernetes Prow Robot
f83bb59047
Merge pull request #72388 from zerkms/patch-1
Updated a link to the latest changelog
2018-12-29 04:04:08 -08:00
Laurent Bernaille
7092e2f9f4 [kube-proxy/IPVS] Enforce ExternalTrafficPolicy:local even for services without affinity 2018-12-29 13:01:35 +01:00
mlmhl
34a2f23dc1 use json format to get rbd image size 2018-12-29 19:45:13 +08:00
Kubernetes Prow Robot
74f779fbb5
Merge pull request #69087 from tanshanshan/error926
make sure to check for errors and close the request body in the cluster size autoscaling e2e test
2018-12-29 01:58:26 -08:00
yue9944882
2fcf418698 drop crd api fields 2018-12-29 15:58:20 +08:00
Kubernetes Prow Robot
173846b056
Merge pull request #72389 from mason1kwok/feature_gate_AllowedProcMountTypes
AllowedProcMountTypes - Update DropDisabled[Alpha]Fields behaviour
2018-12-28 23:14:11 -08:00
Jordan Liggitt
cb76da9fd7 Validate PSP allowedProcMountTypes 2018-12-29 00:18:01 -05:00
John Schnake
23a7538c4d e2e: Fallback to internal IPs when using SSH in tests
Some tests which utilized SSH to run commands on nodes would
first look for external IPs but fall back to internal IPs
since those could be reachable by the testing program.

This change adds that same fallback logic to another method
used to find the appropriate SSH address for each node.

Fixes #68747
2018-12-28 20:35:35 -06:00
Kubernetes Prow Robot
9cdfdba14c
Merge pull request #71924 from yujuhong/node-binaries
GCE: enable downloading and staging of the node binaries
2018-12-28 18:07:26 -08:00
Kubernetes Prow Robot
cd06791709
Merge pull request #72396 from y-taka-23/register-plugins
Register plugins with the scheduling framework properly
2018-12-28 16:59:51 -08:00
Kubernetes Prow Robot
18464d472a
Merge pull request #71599 from bouk/fake-eviction
client-go/testing: Straighten out fake implementation of Evictions
2018-12-28 14:48:59 -08:00
Patrick Ohly
98ba1d8519 e2e/storage: reset driver config in the test suite
PR #70862 made each driver responsible for resetting its config, but
as it turned out, one place was missed in that PR: the in-tree gcepd
sets a node selector. Not resetting that caused other tests to fail
randomly depending on test execution order.

Now the test suite resets the config by taking a copy after setting up
the driver and restoring that copy before each test.

Long term the intention is to separate the entire test config from the
static driver info (https://github.com/kubernetes/kubernetes/issues/72288),
but for now resetting the config is the fastest way to fix the test flake.

Fixes: #72378
2018-12-28 22:44:09 +01:00
Kubernetes Prow Robot
7d8554643e
Merge pull request #72367 from rojkov/fix-golint-warnings
kubeadm: fix golint warnings for redundant ifs
2018-12-28 12:03:15 -08:00
Kubernetes Prow Robot
b89ab2c0c3
Merge pull request #72299 from bart0sh/PR0046-kubeadm-add-CurrentKubernetesVersion
kubeadm: add CurrentKubernetesVersion
2018-12-28 12:03:05 -08:00
Kubernetes Prow Robot
d6e0d5a9e8
Merge pull request #71929 from tanshanshan/schedulerlittle10
add description about namespace for  pod in log
2018-12-28 10:52:12 -08:00
Kubernetes Prow Robot
2cc92a09fd
Merge pull request #72399 from bart0sh/PR0049-kubeadm-app-util-system-fix-golint-warnings
kubeadm: fix golint warnings in package_validator
2018-12-28 09:44:31 -08:00
Kubernetes Prow Robot
8858b514a9
Merge pull request #72398 from bart0sh/PR0048-kubeadm-app-util-system-use-T.Run
kubeadm: use T.Run API in app/util/system
2018-12-28 09:44:20 -08:00
Kubernetes Prow Robot
7c112762b0
Merge pull request #72406 from wojtek-t/speedup_listers
Speedup listers for empty selectors
2018-12-28 08:17:06 -08:00
wojtekt
91e7f466b9 Speedup listers for empty selectors 2018-12-28 16:01:16 +01:00
Kubernetes Prow Robot
a9c7dfba51
Merge pull request #72368 from gaorong/kubemark-makefile
fix kubemark makefile
2018-12-28 04:06:36 -08:00
Wei Guo
a766ed2d2b WaitFor returns immediately when done is closed 2018-12-28 19:43:10 +08:00
Ed Bartosh
60fc0bf75b kubeadm: fix golint warnings in package_validator
Fixed the following golint warnigns:
 - package_validator.go:68:1: receiver name should not be an underscore, omit the name if it is unused
 - package_validator.go:89:1: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self"
 - package_validator.go:96:1: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self"
 - package_validator.go:119:1: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self"
2018-12-28 13:38:10 +02:00