Commit Graph

7258 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
a83413d11a Merge pull request #81018 from AllenZMC/patch-1
fix wrong spells in create_namespace.go
2019-08-07 14:45:23 -07:00
Kubernetes Prow Robot
4c315aa8d9 Merge pull request #78543 from cheftako/kas-np3
Get network-proxy working with GCE.
2019-08-07 14:44:44 -07:00
Kubernetes Prow Robot
aa6a077cfd Merge pull request #80681 from ricky1993/customize_resource_name_and_namespace
add options for name and namespace of leaderelection object
2019-08-07 01:36:51 -07:00
Walter Fender
ebb65c5f4c Get network-proxy working with GCE.
Got the proxy-server coming up in the master.
Added certs and have it comiung up with those certs.
Added a daemonset to run the network-agent.
Adding support for agent running as a sameon set on every node.

Added quick hack to test that proxy server/agent were correctly
tunneling traffic to the kubelet.

Added more WIP for reading network proxy configuration.
Get flags set correctly and fix connection services.
Adding missing ApplyTo
Added ConnectivityService.
Fixed build directives. Added connectivity service configuration.
Fixed log levels.
Fixed minor issues for feature turned off.
Fixed boilerplate and format.
Moved log dialer initialization earlier as per Liggits suggestion.
Fixed a few minor issues in the configuration for GCE.
Fixed scheme allocation
Adding unit test.
Added test for direct connectivity service.

Switching to injecting the Lookup method rather than using a Singleton.
First round of mikedaneses feedback.
Fixed deployment to use yaml and other changes suggested by MikeDanese.

Switched network proxy server/agent which are kebab-case not camelCase.
Picked up DIAL_RSP fix.
Factored in deads2k feedback.
Feedback from mikedanese
Factored in second round of feedback from David.
Fix path in verify.
Factored in anfernee's feedback.
First part of lavalamps feedback.
Factored in more changes from lavalamp and mikedanese.

Renamed network-proxy to konnectivity-server and konnectivity-agent.
Fixed tolerations and config file checking.
Added missing strptr
Finished lavalamps requested rename.
Disambiguating konnectivity service by renaming it egress selector.

Switched feature flag to KUBE_ENABLE_EGRESS_VIA_KONNECTIVITY_SERVICE
2019-08-06 23:09:49 -07:00
Kubernetes Prow Robot
a197cc6174 Merge pull request #78610 from jpbetz/admission-trace
Add trace to webhook invocations
2019-08-06 21:04:52 -07:00
leigh capili
cc46849212 Implement CodecFactoryOptions allowing clients to opt-in to Pretty encoders and Strict Decoders (#76805)
* Implement CodecFactoryOptions allowing clients to opt-in to Pretty encoders and Strict Decoders

This patch introduces a new CodecFactory constructor that's capable of building different collections of Serializers.
Note that this diverges from the current design where an initialized CodecFactory is a kitchen sink holding many forms of useful Serilaizers in a non-customizeable way.

This approach is a suggested solution from this thread:
https://groups.google.com/d/msg/kubernetes-sig-api-machinery/R4Iiz3rOYd0/O6aX15_AAQAJ

A universal, defaulting, strict decoder is needed for Component Config efforts.
Future work aims to make strict behavior the default -- right now it's not implemented in a way that is performant enough for the apiserver.

This patch adds a deprecation notice for `NewCodecFactory()`.
For now, uses of this public constructor remain unchanged, and the tests are still exercising it.
It's been modified, however, to simply wrap the `WithOptions` version.

* Extend NewCodecFactory() signature with options mutators

When no mutators are passed, the legacy behavior is implemented.
This allows code to continue using NewCodecFactory() without modifications.

This also reverts the deprecation notice from the previous commit.

* Make Pretty always default and remove public WithOptions constructor

* Reduce []serializerType{} patch

* Test Strict CodecFactory option when enabled/disabled

* Fix CodecFactoryOptions nits
2019-08-06 14:58:51 -07:00
AllenZMC
e9da014de9 fix typos in create_namespace.go 2019-08-06 20:45:12 +08:00
Kubernetes Prow Robot
b1ffa38136 Merge pull request #80356 from liangxia/fix-example-url
Fix example urls
2019-08-05 23:43:54 -07:00
Joe Betz
237b16d9d9 Upgrade to latest k8s.io/utils 2019-08-05 12:18:57 -07:00
Joe Betz
46a04d50af Replace string concatination with trace fields 2019-08-05 12:18:57 -07:00
Joe Betz
31799ebe88 Add trace to webhook invocations 2019-08-05 12:18:53 -07:00
Kubernetes Prow Robot
4824f823ad Merge pull request #80919 from smarterclayton/disable_compression
Disable gzip compression in core control plane components
2019-08-05 09:09:49 -07:00
liangxia
6d431fa05b Fix example urls 2019-08-05 11:45:52 +08:00
Kubernetes Prow Robot
c4d00b1c5f Merge pull request #80893 from nikhita/kubectl-redundant-rules
publishing: remove redundant rules for kubectl
2019-08-04 18:13:48 -07:00
Kubernetes Prow Robot
0ea8dd516d Merge pull request #80932 from BenTheElder/fix-generated
update generated files
2019-08-03 01:28:10 -07:00
Kubernetes Prow Robot
d9a411df6b Merge pull request #80660 from prameshj/ilb-err
Handle NotImplemented error in service_controller.
2019-08-02 22:39:51 -07:00
chenyixiang
41a435a812 migrate scheduler options to resourceName & resourceNamespace
Change-Id: I743eda488320c97c123b49018d7efcc57525b152
2019-08-03 11:42:47 +08:00
Kubernetes Prow Robot
d0b2ff0876 Merge pull request #80884 from liggitt/admission-v1-docs
Fix admissionreview doc typos
2019-08-02 20:28:31 -07:00
Benjamin Elder
140f2d2af7 update generated files 2019-08-02 16:30:10 -07:00
Kubernetes Prow Robot
5de3cdb1d5 Merge pull request #80920 from seans3/unexport-kubectl-profiling
Unexport kubectl cmd profiling functions
2019-08-02 15:47:52 -07:00
Clayton Coleman
dee6de70d0 Allow gzip compression to be disabled from rest.Config
Golang automatically enables transport level gzip, but local network
clients may wish to disable it for better CPU usage and lower latency
(scheduler, controller-manager). Allow DisableCompression on rest.Config
to modify the underlying transport. This impacts the transport cache,
but it is expected that most clients connecting to the same servers
within a process will have the same compression config.
2019-08-02 16:18:14 -04:00
Sean Sullivan
2621e6a0d6 Unexport kubectl cmd profiling 2019-08-02 12:45:15 -07:00
Kubernetes Prow Robot
d58970e141 Merge pull request #80440 from munnerz/replace-hyphens-informer-gen
informer-gen: correctly generate group packages when groups contain hyphens
2019-08-02 12:39:56 -07:00
Pavithra Ramesh
501081e64f Moved nil check inside AlphaFeatureGate.Enabled 2019-08-02 10:54:09 -07:00
Pavithra Ramesh
da887e85e9 Updated comment about ImplementedElsewhere
Removed handling ImplementedElsewhere error in call to EnsureLoadBalancerDeleted.
2019-08-02 10:54:09 -07:00
Pavithra Ramesh
3244e5da5a Added comment on how to use ImplementedElsewhere 2019-08-02 10:54:09 -07:00
Pavithra Ramesh
dbfc876e83 Fixed review comments, lint.
Added error check to EnsureLoadBalancerDeleted.
2019-08-02 10:54:09 -07:00
Pavithra Ramesh
ffb4504230 fixed error message 2019-08-02 10:54:09 -07:00
Pavithra Ramesh
d4210b94e2 addressed review comments 2019-08-02 10:54:09 -07:00
Pavithra Ramesh
8382906c9d Add a new error type in cloud.go
Adding a new error "ImplementedElsewhere" to cloud.go.
This error indicates that implementation for a particular service/loadbalancer spec is handled by a different controller.
The caller can ignore the error and skip modifying service status upon receiving this error.
2019-08-02 10:54:09 -07:00
Pavithra Ramesh
acaa16c272 skip ilb creation if subsetting is enabled. 2019-08-02 10:54:09 -07:00
Pavithra Ramesh
d79d4e8525 Handle ImplementedElsewhere error in service_controller
This is used when the cloudprovider layer is not implementing loadBalancer service.
Implementation will be in a different controller running on master.
2019-08-02 10:54:09 -07:00
Pavithra Ramesh
5623006f98 unit test 2019-08-02 10:54:02 -07:00
Kubernetes Prow Robot
42d7feee28 Merge pull request #80788 from tedyu/stop-thread-unsafe
Rename cacheWatcher#stop
2019-08-02 10:37:53 -07:00
James Munnelly
7372b7acbf Update copyright years
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-02 15:45:22 +01:00
Ted Yu
0b3c07a98c Rename cacheWatcher#stop 2019-08-02 04:32:53 -07:00
Nikhita Raghunath
7d5b8b85f4 publishing: remove redundant rules for kubectl
The release-1.15 branch has no dependencies. Adding dependencies in the
rules leads to an extra unnecessary sync and is a no-op.
Example - f16387a692.
2019-08-02 15:22:46 +05:30
Kubernetes Prow Robot
81f021b7a5 Merge pull request #80876 from seans3/move-kubectl-cmd
Move /pkg/kubectl/cmd/{command} to staging
2019-08-02 02:36:07 -07:00
Kubernetes Prow Robot
9743d7f270 Merge pull request #80730 from jennybuckley/apply-raw
Use raw bytes instead of nested map in metav1.Fields
2019-08-01 20:11:52 -07:00
Jordan Liggitt
cfc8539e69 Fix admissionreview doc typos 2019-08-01 22:08:14 -04:00
Kubernetes Prow Robot
c981c65c90 Merge pull request #80231 from liggitt/admissionreview-v1
Promote admissionreview to v1
2019-08-01 17:20:05 -07:00
Sean Sullivan
4e64aaf27e Update .golint_failures to reflect code move to staging 2019-08-01 16:38:19 -07:00
Sean Sullivan
5fcf9bd79c Update vendor modules to reflect code move to staging 2019-08-01 15:25:56 -07:00
Sean Sullivan
58b59ae4e0 Update test data to reflect code move to staging 2019-08-01 15:17:53 -07:00
Kubernetes Prow Robot
3287bf7a3a Merge pull request #80859 from wojtek-t/fix_selflinks_in_tests
Fix selflinks in tests
2019-08-01 15:01:30 -07:00
Jordan Liggitt
308c23cf89 Generated 2019-08-01 17:17:42 -04:00
Jordan Liggitt
649ee4f2d0 Clarify accepted versions skew requirements, update field documentation 2019-08-01 17:17:42 -04:00
Jordan Liggitt
dda9bcb082 AdmissionReview: Allow webhook admission to dispatch v1 or v1beta1 2019-08-01 17:17:42 -04:00
Jordan Liggitt
44930fc939 AdmissionReview: Install/register 2019-08-01 17:17:42 -04:00
Kubernetes Prow Robot
260421499a Merge pull request #80487 from huffmanca/BZ1731316
Corrected Cinder typos.
2019-08-01 13:38:15 -07:00