Commit Graph

78116 Commits (a50273f9d45771145d92ebe193358ca4d72c2b85)

Author SHA1 Message Date
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
Humble Chirammal 427df38c6b Avoid duplicate error reporting in glusterfs
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-05-03 13:42:36 +05:30
Kubernetes Prow Robot 7a8e11c16d
Merge pull request #77342 from liggitt/resource-quota
Add quota admission test for decreasing usage without covering quota
2019-05-03 01:03:00 -07:00
Kubernetes Prow Robot ca21efd1c5
Merge pull request #76983 from humblec/rotate
Shuffle addresslist for random mount server and cleanup error messages.
2019-05-03 01:02:47 -07:00
Kubernetes Prow Robot aff37ada46
Merge pull request #76917 from dims/try-json-iterator-go-instead-of-ugorji-coded
Use latest etcd from release-3.3 branch for dropping ugorji
2019-05-03 01:02:34 -07:00
Kubernetes Prow Robot 8136cfc512
Merge pull request #75987 from yastij/event-state-deprecation
deprecate state field of eventSeries on Event API
2019-05-03 01:02:21 -07:00
SataQiu ed04c5f459 fix golint failures of pkg/apis/scheduling pkg/apis/storage/util pkg/apis/storage/v1/util pkg/apis/storage/v1beta1/util 2019-05-03 15:54:24 +08:00
Kubernetes Prow Robot 005eb53ea1
Merge pull request #77278 from liggitt/enable-etcd-paging
Enable API resource paging by default, by feature gate in sample-apiserver
2019-05-02 23:36:16 -07:00
JieJhih Jhang 21e4f0039e fix golint 2019-05-03 14:31:51 +08:00
Kubernetes Prow Robot 6a23a6278f
Merge pull request #77378 from yujuhong/kill-sd
GCE/Windows: force kill the stackdriver processes when necessary
2019-05-02 20:20:17 -07:00
Yu-Ju Hong bee570a2f0 GCE/Windows: force kill the stackdriver processes when necessary
StackdriverLogging service sometimes cannot be stopped properly. This
work around the bug by force killing the processes.
2019-05-02 18:52:31 -07:00
Kubernetes Prow Robot 6a8a368291
Merge pull request #77287 from tedyu/kube-long-running
Use map to check for long-running request
2019-05-02 16:23:09 -07:00
Kubernetes Prow Robot c821eb36b7
Merge pull request #77281 from liggitt/remove-quorum-field
Remove unused quorum field
2019-05-02 16:22:56 -07:00
Kubernetes Prow Robot 1adaf2cd5b
Merge pull request #77147 from wk8/wk8/win_sec_opts
Adding a new `WindowsSecurityOptions` struct
2019-05-02 16:22:44 -07:00
Kubernetes Prow Robot 0b10d1b830
Merge pull request #77140 from dekkagaijin/glbc
use static token to authenticate glbc
2019-05-02 16:22:30 -07:00
Kubernetes Prow Robot 83f769c2a3
Merge pull request #77139 from cmluciano/cml/ingressnetv1beta1default
ingress: use networking api group for default storage of ingress
2019-05-02 16:22:18 -07:00
Akihito INOH 2562d4d0fd Fix golint failures of e2e/framework/providers/gce/recreate_node.go
This fixes golint failures of the following file:

test/e2e/framework/providers/gce/recreate_node.go

And also, replaces functions using gomega with framework functions.
2019-05-03 07:20:37 +09:00
immutablet 1ae9cb2f88 Remove encryption via locally stored key. 2019-05-02 15:09:02 -07:00
Kubernetes Prow Robot 75546a0166
Merge pull request #75591 from bclau/tests/split-hosts-entries
tests: Splits hostname from DNS test
2019-05-02 14:18:20 -07:00
Kubernetes Prow Robot a6e5cb266e
Merge pull request #77346 from liggitt/remove-custom-conversion
Remove unnecessary custom conversion functions
2019-05-02 11:58:21 -07:00
Jake Sanders 0b6eb2bf89
Bump metadata-proxy image to v0.1.12
Rebases the image on `gcr.io/distroless/static:latest` per kubernetes/enhancements#900

https://github.com/GoogleCloudPlatform/k8s-metadata-proxy/releases/tag/v0.1.12
2019-05-02 11:57:52 -07:00
John Belamaric 5af6442cc5 Add johnbelamaric to sig-network-{reviewers,approvers} 2019-05-02 11:24:53 -07:00
Davanum Srinivas 8824e0fcf7
Use latest etcd from release-3.3 branch for dropping ugorji
Pick up changes from:
https://github.com/etcd-io/etcd/pull/10675

Change-Id: Ic4d6daa3c54824d3d27809a125b798e88db0bf7e
2019-05-02 14:12:01 -04:00
danielqsj 7e4dbbac40 Fix describe error of Successful Job History Limit 2019-05-03 00:20:42 +08:00
Jordan Liggitt 20ce402214 generated 2019-05-02 12:20:29 -04:00