Commit Graph

70930 Commits

Author SHA1 Message Date
Antoine Pelisse
f2e2a930f9 dry-run: Verify if the object supports dry-run
For each object, first we verify if they have a dryRun parameter in the
openapi for the patch verb. If we can't find the object, we assume that
CRD will behave like "namespace". So we check if namespace supports
dryRun. If it does, then we verify that the resource is a CRD.
2018-10-10 08:56:09 -07:00
Antoine Pelisse
a0460a5238 dry-run: Create class to find if a type is a CRD
Finding out if a Group-version-kind is a CRD is useful, since we want to
detect dry-run ability differently for CRDs.
2018-10-10 08:56:09 -07:00
Antoine Pelisse
ae735282ad Create a method to check dryRun is supported
We don't want to run dryRun requests against servers that don't support
dry-run, since they might ignore the flag and just persist the unwanted
changes.

This creates a new method that checks in the OpenAPI if the dryRun
parameter can be used.
2018-10-10 08:55:33 -07:00
Davanum Srinivas
65da81f42e
Fix up test cases
Change-Id: Ib9245f78dbfb88f1f37a26ca64bf80d3f78d7497
2018-10-10 10:24:09 -04:00
Davanum Srinivas
6364af128b
Updating ghodss/yaml and gopkg.in/yaml.v2 to latest version
Change-Id: I1f1a10b68a2d3e796724c6ac26f0ed3260153588
2018-10-10 10:24:09 -04:00
Guoliang Wang
f44f55cdd7 [scheduler cleanup phase 1]: Move CacheComparer to pkg/scheduler/internal/cache/comparer 2018-10-10 21:28:14 +08:00
k8s-ci-robot
1987a8559d
Merge pull request #69609 from x13n/patch-5
Add x13n to metadata-agent manifest OWNERS
2018-10-10 06:03:33 -07:00
k8s-ci-robot
ccf6611c65
Merge pull request #69586 from neolit123/kubeadm-cleanup-init
kubadm: remove misleading message in `init`
2018-10-10 06:03:24 -07:00
k8s-ci-robot
1ba98bbd20
Merge pull request #69581 from code-sleuth/develop
Add table printer for resource quotas
2018-10-10 06:03:14 -07:00
k8s-ci-robot
c487e67290
Merge pull request #69575 from fabriziopandini/Kubeadm-api-doc
kubeadm - improve api config documentation
2018-10-10 06:03:04 -07:00
Ed Bartosh
eacff9436e kubeadm: allow usage --config with --print-join-command
kubeadm token create  --print-join-command --config <path>
fails with Error: can not mix '--config' with arguments [print-join-command]

As print-joint command can't be put into the configuration file it
should be possible to use those 2 options at the same time.

Added print-join-command options to the list of exceptions in
ValidateMixedArguments check to allow its usage with --config option.

Fixes: kubernetes/kubeadm#1166
2018-10-10 16:00:55 +03:00
Davanum Srinivas
ecb1a73162
cherry_pick_pull should work for non-k/k repos
Change-Id: If13277d082dd6febadd58f78b7b5710c4fcb2988
2018-10-10 06:46:55 -04:00
k8s-ci-robot
85d52d8a2b
Merge pull request #65422 from islinwb/ipvs_fix
Improve the ipvs error message
2018-10-10 03:37:12 -07:00
wangqingcan
608911d5ac add test for new constructor 2018-10-10 17:15:10 +08:00
wangqingcan
a74fd15e62 create a new scheduler constructor 2018-10-10 17:10:10 +08:00
David McCormick
bb3124c48a Remove excessive warnings with x509 certificate auth
Suppress common name verify warning log and roll up into returned error

remove glog test dependency
2018-10-10 09:38:38 +01:00
Weibin Lin
73e3d8a081 Improve the ipvs error message 2018-10-10 16:16:58 +08:00
p0lyn0mial
4d479aff37 adds dynamic informer factory 2018-10-10 10:05:05 +02:00
Da K. Ma
0064c2c4d4 Aligned sched_perf owner.
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-10-10 16:05:04 +08:00
Mitar
3f8ef7c6f8
Adding more kernel config paths 2018-10-10 00:37:14 -07:00
Pingan2017
a5824043be improve err msg for runtimeError 2018-10-10 15:19:48 +08:00
Daniel Kłobuszewski
299c7750ca
Add x13n to metadata-agent manifest OWNERS 2018-10-10 08:33:50 +02:00
k8s-ci-robot
d3fe0ea7ff
Merge pull request #69318 from wgliang/feature/move-fakecache
[scheduler cleanup phase 1]: Move FakeCache to pkg/scheduler/internal…
2018-10-09 23:21:49 -07:00
k8s-ci-robot
85a8f97cb1
Merge pull request #68582 from jonfriesen/master
Fixes golint for pkg/probe
2018-10-09 21:14:46 -07:00
lichuqiang
db775814e2 add volume topology-aware dynamic provisioning integration case 2018-10-10 09:38:04 +08:00
k8s-ci-robot
5442f9d482
Merge pull request #69592 from bsalamat/filterfunc
Remove pod status.phase check from pod event handlers
2018-10-09 17:41:15 -07:00
Mayank Kumar
bc3e3afc46 api changes for psp runasgroup policy 2018-10-09 17:32:09 -07:00
k8s-ci-robot
4033862616
Merge pull request #69406 from seans3/factory-client-access-fix
kubectl factory client access: Moves remaining internal references to remaining callers.
2018-10-09 14:44:28 -07:00
Michelle Au
17c0e9f7ea Update build and conformance test list 2018-10-09 14:27:58 -07:00
Michelle Au
253e8d5b74 Update test suite names 2018-10-09 14:25:30 -07:00
Michelle Au
cb7cb9aa8e Keep related test cases and delete the rest 2018-10-09 14:25:29 -07:00
Michelle Au
f82ff5b16d Break up projected.go into projected_combined/configmap/secret/downwardapi 2018-10-09 14:25:29 -07:00
Bobby (Babak) Salamat
5f2555e3ad Remove pod status.phase check from pod event handlers 2018-10-09 13:39:04 -07:00
Sean Sullivan
54a73630f1 kubectl factory client access: Moves remaining internal references into callers 2018-10-09 13:34:30 -07:00
k8s-ci-robot
830e09cc96
Merge pull request #46517 from goblain/cli-port-forward-listen
port-forward listen on address
2018-10-09 12:38:55 -07:00
Lubomir I. Ivanov
28c936ea7f kubadm: remove misleading message in init
The message right before the kubelet boots up the control
plane is misleading because the image pulling is now part of
preflight.

Remove the message.
2018-10-09 22:27:12 +03:00
Walter Fender
8b3099ced7 Differentiate multizone zonal from Regional Cluster.
Fixed go format and unit test.
Collapse lines.
Switched to using regional throughout and added warning for HA Zonal.
2018-10-09 11:28:22 -07:00
k8s-ci-robot
137193faaf
Merge pull request #69448 from seans3/env-resolve-fix
kubectl env resolve: copy core fieldpath and resource dependencies into kubectl
2018-10-09 11:25:43 -07:00
Ling Huang
d8da1baf48 Enable insertId generation, update Stackdriver Logging Agent image to 0.5-1.5.36-1-k8s and add priorityClassName for Metadata Agent. 2018-10-09 13:42:40 -04:00
k8s-ci-robot
48086eb7d4
Merge pull request #69543 from seans3/rollback-fix
kubectl rollback: remove duplicated code for printing pod template
2018-10-09 10:14:39 -07:00
k8s-ci-robot
637ba154c8
Merge pull request #65189 from juanvallejo/jvallejo/path-fixes-cmd-copy
fix paths w shortcuts when copying from pods
2018-10-09 10:14:28 -07:00
Ibrahim Mbaziira
6c3d9cd300
Add table printer for resource quotas 2018-10-09 20:00:28 +03:00
fabriziopandini
17cf652783 kubeadm-improve-apidoc 2018-10-09 17:40:05 +02:00
k8s-ci-robot
686b37ff9b
Merge pull request #69565 from jsafrane/fix-contianerized-subpath
Fixed subpath in containerized kubelet.
2018-10-09 07:49:30 -07:00
juanvallejo
e55a28d169
fix paths w shortcuts when copying from pods
Addresses an issue where copying from a remote location containing path
shortcuts (podName:../../../tmp/foo) causes an index out of range panic.
2018-10-09 10:27:54 -04:00
k8s-ci-robot
4966faab36
Merge pull request #69522 from wojtek-t/fix_env_setup
Fix overwriting env variables in kube-apiserver manifest
2018-10-09 04:46:12 -07:00
lichuqiang
814dbac3df add provision failure hook in fake volume plugin 2018-10-09 19:16:27 +08:00
Jan Safranek
0b8c472578 Fixed subpath in containerized kubelet.
IsNotMountPoint should return no error when the checked directory does not
exists - missing directory can't be mounted. Therefore containerized
kubelet should check if the target exists first before resolving symlinks.
EvalHostSymlinks() returns indistinguishible error in case the path does
not exist.
2018-10-09 13:11:23 +02:00
k8s-ci-robot
9ba74cb5b5
Merge pull request #69251 from yue9944882/bugfix/pass-handler-context-to-nodegetter
Pass server handler context to storage nodeGetter
2018-10-09 02:14:51 -07:00
k8s-ci-robot
4ba5db087a
Merge pull request #69550 from tallclair/runtimeclass-spec
Allow an empty "" runtimeHandler
2018-10-09 01:06:20 -07:00