Commit Graph

78087 Commits (e5778f05b973aa70a129ef77235da3cf1b1139e3)

Author SHA1 Message Date
Kubernetes Prow Robot e1fa195451
Merge pull request #76627 from timoreimann/handle-missing-gce-lb-flag-gracefully
Suppress registering GCE LB provider flag if missing on CommandLine.
2019-05-03 21:01:39 -07:00
caiweidong 62fe5fe7b8 add common func for NewAttacher and NewDetacher 2019-05-04 11:08:28 +08:00
Kubernetes Prow Robot c3ebf67c63
Merge pull request #77414 from yujuhong/fix-sd-logging
GCE/Windows: send container logs to the proper resource
2019-05-03 19:50:15 -07:00
Kubernetes Prow Robot 1dd550cf7c
Merge pull request #77412 from liggitt/GCERegionalPersistentDisk
Lock GCERegionalPersistentDisk feature on
2019-05-03 19:50:02 -07:00
Kubernetes Prow Robot bcd7219b62
Merge pull request #77390 from onursatici/os/fix-scheduler-plugin-example
fix scheduler plugin example
2019-05-03 19:49:50 -07:00
Kubernetes Prow Robot f4ce6b6560
Merge pull request #77373 from alejandrox1/framework-deployment-refactor
Refactored framework deployment utils
2019-05-03 19:49:37 -07:00
caiweidong 5d89ab26e9 Add detacher assert for csiAttacher 2019-05-04 10:43:46 +08:00
Lantao Liu 11cd4242f6 Remove terminated pod from summary api.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-05-03 18:34:54 -07:00
Kubernetes Prow Robot 8b0c36d620
Merge pull request #77328 from varunmar/ip-masq-cve-fix
Bump the version of the ip-masq-agent addon to pick up CVE fixes
2019-05-03 18:26:28 -07:00
Kubernetes Prow Robot 9bc3ead5a6
Merge pull request #77148 from seans3/default-printing-cleanup
tableprinter: simplifies default printer handler
2019-05-03 18:26:16 -07:00
Kubernetes Prow Robot 7287ae6b2e
Merge pull request #77054 from k-toyoda-pi/golint_test_e2e_common_pods
Fix golint failures of test/e2e/common/pods.go
2019-05-03 18:26:03 -07:00
Kubernetes Prow Robot aefa6d4492
Merge pull request #77022 from liggitt/webhook-error-success
Ensure 4xx+ response codes from webhook rejections
2019-05-03 18:25:50 -07:00
Kubernetes Prow Robot fd5560e90a
Merge pull request #75246 from aojea/e2e_ipv6_prestop
Add IPv6 support to the nettest image
2019-05-03 18:25:38 -07:00
draveness 5f8dfdc698 fix(daemon): create more expections when skipping pods 2019-05-04 08:15:49 +08:00
Kubernetes Prow Robot a26709ecee
Merge pull request #76061 from towolf/dynamic-cluster.local
test/e2e/network: Honor --dns-domain in more places
2019-05-03 17:01:38 -07:00
Kubernetes Prow Robot 59cedcf541
Merge pull request #77411 from liggitt/fix-rc-flake
Expect the correct object type to be removed
2019-05-03 15:12:29 -07:00
Kubernetes Prow Robot 23f61e06f3
Merge pull request #77406 from cmluciano/cml/cmlnetreviewer
Self nominate cmluciano as a sig-network reviewer
2019-05-03 15:12:17 -07:00
Mark Wolters 1456979e93 Added function to create kubeconfig for addon-manager 2019-05-03 15:12:16 -07:00
Kubernetes Prow Robot 4e1e5af09d
Merge pull request #77403 from liggitt/apimachinery-protobuf
Generate and verify apimachinery protobuf
2019-05-03 15:12:04 -07:00
Kubernetes Prow Robot dbad8f360c
Merge pull request #77357 from dekkagaijin/md-proxy-bump
Bump metadata-proxy image to v0.1.12
2019-05-03 15:11:52 -07:00
Kubernetes Prow Robot f29138c372
Merge pull request #77012 from rosti/certkey-v1beta2
kubeadm: Add certificateKey field to v1beta2 config
2019-05-03 15:11:39 -07:00
Jorge Alarcon Ochoa dc619067d9 Refeactored framework deployment utils
This is the continuation of the refactoring of framework/deployment_utils.go
into framework/deployment.

Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-03 18:00:53 -04:00
Ted Yu e967c37068 Union all CPUSets in one round 2019-05-03 14:40:33 -07:00
Niko Pen 22a2ca453f
durable link to cherry pick instructions 2019-05-03 20:17:36 +00:00
Aldo Culquicondor d077d21867 Store runtimeHandler for the PodSandboxStatus in FakeRuntimeService
Include the RuntimeHandler in ListPodSandbox

Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-05-03 16:07:46 -04:00
Onur Satici 1fccb933c6 make example plugins conform with the PluginFactory type 2019-05-03 21:05:52 +01:00
Kubernetes Prow Robot 5bbad4fd46
Merge pull request #77368 from liggitt/handle-status-objects
Require version match to special-case status objects
2019-05-03 12:35:51 -07:00
Kubernetes Prow Robot 217e08d735
Merge pull request #77123 from k-toyoda-pi/use_expect_no_error_e2e_apps_1
use framework.ExpectNoError() for e2e/apps
2019-05-03 12:35:38 -07:00
Jiatong Wang 30322ba93d Move framework/upgrade_util.go to framework/lifecycle/upgrade.go
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-03 12:14:31 -07:00
Sean Sullivan 13f3f11f52 tableprinter: simplifies default printer handler 2019-05-03 11:46:10 -07:00
Yu-Ju Hong 9f65407833 GCE/Windows: send container logs to the proper resource
This PR fixes a bug where all container logs are sent to the "k8s_node"
resource by adding a "match" directive that applies only to container
logs.
2019-05-03 11:32:19 -07:00
John Schnake 2ede81c2a6 Move node, windows, and autoscaling tests to framework/log
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-03 13:23:57 -05:00
Jordan Liggitt 63ddfc1db9 Lock GCERegionalPersistentDisk feature on 2019-05-03 14:21:34 -04:00
Jordan Liggitt 37c9e6b444 Expect the correct object type to be removed 2019-05-03 14:10:02 -04:00
Hemant Kumar 15e2421f90 Add jan and msau42 as approver for volumemanager 2019-05-03 13:34:50 -04:00
Jordan Liggitt 54e948ce82 Verify apimachinery protobuf 2019-05-03 11:59:41 -04:00
Christopher M. Luciano dd43c477c7
Self nominate cmluciano as a sig-network reviewer
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2019-05-03 11:53:39 -04:00
Kubernetes Prow Robot 6f1fd17b7a
Merge pull request #77366 from johnSchnake/frameworkLogRefactoring
Move auth and network tests to use framework/log
2019-05-03 08:53:19 -07:00
Jordan Liggitt e606f51ff6 Generate meta/v1 protobuf 2019-05-03 11:18:04 -04:00
Tobias Wolf e3299d5f6a test/e2e/network: Honor --dns-domain in more places
Try to finish what commit 4c8a65ac01 started; that is, do not assume
cluster.local is a constant base domain, when it is configurable.

This makes DNS e2e tests pass with --dns-domain, which was only being honored
for some tests, not all

Signed-off-by: Tobias Wolf <towolf@gmail.com>
2019-05-03 17:02:16 +02:00
Jordan Liggitt dbe61286d5 Require version match to special-case status objects 2019-05-03 10:11:52 -04:00
John Schnake 0c62f751b6 Move auth and network tests to use framework/log
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-03 08:41:21 -05:00
Mike Fedosin a556e4fcd1 Allow to define exec credential plugin config options from kubectl
This commit adds support of setting config options to the exec plugin
from cli.

Next options are added:
  * --exec-command new command for the exec credential plugin
  * --exec-api-version API version of the exec credential plugin.
  * --exec-arg new arguments for the exec credential plugin command
  * --exec-env add, update or remove environment values for the exec credential plugin
2019-05-03 14:08:03 +02:00
Subramanian Neelakantan 18922a3c44 Use any host that mounts the datastore to create Volume
Also, This change makes zone to work per datacenter and cleans up dummy vms.
There can be multiple datastores found for a given name. The datastore name is
unique only within a datacenter. So this commit returns a list of datastores
for a given datastore name in FindDatastoreByName() method. The calles are
responsible to handle or find the right datastore to use among those returned.
2019-05-03 16:42:41 +05:30
Kubernetes Prow Robot 5b47a92ad8
Merge pull request #76359 from monstercy/fixtypo-20190320
correcting some spelling errors
2019-05-03 04:08:31 -07:00
Kubernetes Prow Robot 7defecbc2c
Merge pull request #76327 from neolit123/kubeproxy-node-selector
kubeadm: disable the kube-proxy DaemonSet on non-Linux nodes
2019-05-03 04:08:18 -07:00
Onur Satici 78f7027f66 fix scheduler plugin example 2019-05-03 11:56:00 +01:00
Rostislav M. Georgiev 81e3adc53b kubeadm: Fix omitempty in v1beta2
There are a couple of problems with regards to the `omitempty` in v1beta1:

- It is not applied to certain fields. This makes emitting YAML configuration
  files in v1beta1 config format verbose by both kubeadm and third party Go
  lang tools. Certain fields, that were never given an explicit value would
  show up in the marshalled YAML document. This can cause confusion and even
  misconfiguration.

- It can be used in inappropriate places. In this case it's used for fields,
  that need to be always serialized. The only one such field at the moment is
  `NodeRegistrationOptions.Taints`. If the `Taints` field is nil, then it's
  defaulted to a slice containing a single control plane node taint. If it's
  an empty slice, no taints are applied, thus, the cluster behaves differently.
  With that in mind, a Go program, that uses v1beta1 with `omitempty` on the
  `Taints` field has no way to specify an explicit empty slice of taints, as
  this would get lost after marshalling to YAML.

To fix these issues the following is done in this change:

- A whole bunch of additional omitemptys are placed at many fields in v1beta2.
- `omitempty` is removed from `NodeRegistrationOptions.Taints`
- A test, that verifies the ability to specify empty slice value for `Taints`
  is included.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-05-03 12:59:41 +03:00
Kubernetes Prow Robot eb41c9c5fc
Merge pull request #77369 from immutableT/remove-enc-from-kube-up
Remove the option of encrypting secrets in etcd via a locally stored key.
2019-05-03 02:56:29 -07:00
Kubernetes Prow Robot 5f6d9b614e
Merge pull request #77210 from feiskyer/nsg-race
Add etag for NSG updates so as to fix nsg race condition
2019-05-03 02:56:17 -07:00