Commit Graph

77970 Commits

Author SHA1 Message Date
Clayton Coleman
33a3e325f7
API server should offer metav1 Table/Partial transforms
Now that internal types are equivalent, allow the apiserver to serve
metav1 and metav1beta1 depending on the client. Test that in the
apiserver integration test and ensure we get the appropriate responses.

Register the metav1 type in the appropriate external locations.
2019-05-10 15:29:07 -04:00
Clayton Coleman
e256c15df3
Make metav1beta1 be equivalent to metav1 internally
All except PartialObjectMetadataList are identical and should be made
that way internally. This allows the internalversion to convert between
them.
2019-05-04 21:00:20 -04:00
Kubernetes Prow Robot
c516bb51e3
Merge pull request #76723 from LiliC/fix-daemonset-typo
pkg,test: Fix DaemonSet typos
2019-05-04 17:19:37 -07:00
Kubernetes Prow Robot
80bbb0cde1
Merge pull request #77093 from oomichi/use-ExpectError-e2e-auth
Use framework.ExpectNoError() for e2e/auth
2019-05-04 13:47:37 -07:00
Kubernetes Prow Robot
0a83ed51b4
Merge pull request #77345 from rosti/omitempty-v1beta2
kubeadm: Fix omitempty in v1beta2
2019-05-04 12:13:37 -07:00
Kubernetes Prow Robot
d5245b9563
Merge pull request #74856 from draveness/fix/daemonset-controller-slow-batch-creation
fix(daemon): create more expections when skipping pods
2019-05-03 23:33:37 -07:00
Kubernetes Prow Robot
22cf3ca0a5
Merge pull request #75952 from bclau/tests/max-backoff-tests-flakiness
tests: Solve backoff tests flakiness
2019-05-03 22:18:04 -07:00
Kubernetes Prow Robot
5f8d290346
Merge pull request #75675 from mwwolters/addon-manager-kubeconfig
Added function to create kubeconfig for addon-manager
2019-05-03 22:17:51 -07:00
Kubernetes Prow Robot
ef550e6989
Merge pull request #75434 from cofyc/fix56098
Refactor PV scheduling library into a separate package
2019-05-03 22:17:38 -07:00
Kubernetes Prow Robot
e871241268
Merge pull request #77208 from DaiHao/daemon_controller
Fix rolling update daemonset bug in clock-skew scenario
2019-05-03 21:01:52 -07:00
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
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
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
Niko Pen
22a2ca453f
durable link to cherry pick instructions 2019-05-03 20:17:36 +00: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
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
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
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
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