Commit Graph

10808 Commits

Author SHA1 Message Date
Lee Verberne
5bd8a045d6 Allow kubectl to attach to an ephemeral container 2019-08-02 22:17:38 +00:00
Cong Liu
95b1bc1774 Remove NormalizeScore plugin set from config API. 2019-08-02 16:49:25 -04: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
jennybuckley
ef30bd602f Update generated 2019-08-01 15:49:54 -07:00
jennybuckley
d26b3195ff RawExtension.Raw json:"-" 2019-08-01 15:48:44 -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
Sean Sullivan
e2cae23444 Update gofmt 2019-08-01 13:14:06 -07:00
Sean Sullivan
dc743f7edd Update BUILD files reflecting code move to staging 2019-08-01 13:12:31 -07:00
Kubernetes Prow Robot
acdbbb3993 Merge pull request #80858 from wojtek-t/fix_events_tests
Fix selflinks in events tests
2019-08-01 11:52:56 -07:00
Sean Sullivan
acece3c296 Update import statements to reflect code move 2019-08-01 11:15:39 -07:00
Sean Sullivan
0e0ea52339 Move pkg/kubectl/cmd/{command} to staging 2019-08-01 11:01:40 -07:00
Kubernetes Prow Robot
b658028078 Merge pull request #77713 from zjj2wry/secret_resync_duration
add secret back to the workqueue with delay time, avoid expired bootstrap tokens not being deleted
2019-08-01 09:46:29 -07:00
Kubernetes Prow Robot
9c22ff1966 Merge pull request #80841 from rjaini/azs_adfs
feat: enhance Azure cloud provider code to support both AAD and ADFS authentication.
2019-08-01 08:17:08 -07:00
Kubernetes Prow Robot
d9ec8eea90 Merge pull request #80603 from smarterclayton/cri_api_owners
OWNERS: api-approvers should be approvers on cri-api
2019-08-01 08:16:55 -07:00
wojtekt
bc00248e71 Fix selflinks in tests 2019-08-01 15:50:03 +02:00
wojtekt
cfa16959e2 Fix selflinks in events tests 2019-08-01 15:39:47 +02:00
Lee Verberne
a25ad6d36f Print ephemeral containers in kubectl describe 2019-08-01 05:37:50 +00:00
YueHonghui
d29f194474 add flag concurrent-statefulset-syncs to kube-controller-manager (#79169)
* add flag `concurrent-statefulset-syncs` to set number of concurrent workers for statefulset controller

* change default value of ConcurrentStatefulSetSyncs from 1 to 5

* 1. fix doc comment of statefulset config types.go
2. add missing deps k8s.io/kubernetes/pkg/controller/statefulset/config

* add missing dep k8s.io/kubernetes/pkg/controller/statefulset/config/v1alpha1

* updated bazel BUILD files

* update kube-controller-manager options testcase

* fix codegen

* fix golint error

* fix testcase
2019-07-31 22:36:14 -07:00
Rohit
14b648d203 fixed golint issues. 2019-07-31 21:02:22 -07:00
zhengjiajin
5c1815abb7 add secret back to the workqueue with delay time, avoid expired bootstrap tokens not being deleted 2019-08-01 10:44:31 +08:00
Rohit
159e5034cf Adding support for Azure Stack ADFS case. 2019-07-31 19:39:52 -07:00
jennybuckley
87f8ba5c81 Update compatibility fixture data:
This is necessary becase we intentionally treat proto and json of old
versions of serialized metav1.Fields differnetly.
Specifically, the json/yaml representation is unchanged, but the proto
message uses a new field number, and round tripping through the old
proto format is expected to change the value in this field.
This is okay because the field is part of an alpha feature and is
annotated with the note:
'This field is alpha and can be changed or removed without notice.'
2019-07-31 16:06:55 -07:00