Commit Graph

3010 Commits

Author SHA1 Message Date
Haowei Cai db2bae4d84 tests
Kubernetes-commit: d35757c653893279df566985c3368f0277fe7c02
2019-05-31 16:22:55 -07:00
Haowei Cai f4a47ec53f mutating webhook: audit log mutation existence and actual patch
Kubernetes-commit: 7784353a69932a4e7b4dde55b78828abf5fa4ee6
2019-05-31 16:22:30 -07:00
Haowei Cai 70c200c6a0 audit & admission: associate annotation with audit level
Kubernetes-commit: 318226f3403f56aaf796af3f439c13674aa2b7ab
2019-05-31 15:36:29 -07:00
Walter Fender 9bdac68d70 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

Kubernetes-commit: ebb65c5f4c51340f42c260cf00bde8629ed68d74
2019-05-20 12:44:51 -07:00
fansong.cfs ec1dcedb44 delivery event non blocking firstly
Kubernetes-commit: 5e493ab467472f38d7e78b19180bb6c7684170f0
2019-04-28 21:06:59 +08:00
Kubernetes Publisher b416a9bbf9 Merge pull request #80087 from mborsz/patch-6
Register WatchEvents metric

Kubernetes-commit: 630b9239cee107bbbe33cf831b1d1f587affed43
2019-07-13 10:32:57 +00:00
Kubernetes Publisher fe574096f3 Merge pull request #79645 from wojtek-t/cleanup_etcd_dir_3
Move etcd/util to etcd3/

Kubernetes-commit: 25ab6d82ecdc123ca81d7b32100f5e3abd3f9035
2019-07-13 06:33:26 +00:00
Maciej Borsz f6a1588a67 Register WatchEvents metric
Kubernetes-commit: bc100cfd0ccd7849b66e29eba62cd2119a83a68a
2019-07-12 14:08:40 +02:00
Kubernetes Publisher 7754ffe9ae Merge pull request #79786 from wojtek-t/watch_bookmarks_beta
Promote WatchBookmarks to beta

Kubernetes-commit: a46eed0ca3988a8d1fba78e2b8f882df1f7406f4
2019-07-12 10:36:08 +00:00
wojtekt 85b18f9ee1 Migrate WatchBookmarks to Beta
Kubernetes-commit: a947e28cbe3161a6d9c88186d6136b37af2fe1ab
2019-07-04 13:14:53 +02:00
Kubernetes Publisher 9ea8472121 Merge pull request #74416 from sttts/sttts-apiserver-minimum-shutdown-duration
apiserver: add --shutdown-delay-duration to keep serving until LBs stop sending traffic

Kubernetes-commit: 7e17aeb1b5c817e37fbb36278004c63011be3544
2019-07-12 02:35:37 +00:00
Kubernetes Publisher 62fd9cb1d6 Merge pull request #80007 from liggitt/populate-version-authorization-check
Populate API version in synthetic authorization requests

Kubernetes-commit: ab960c612c4ca804fac2548a0f72bfd00761860c
2019-07-11 10:52:05 +00:00
Kubernetes Publisher 8a2b35483e Merge pull request #79239 from apelisse/400-instead-of-500
Return 400 on invalid patch requests

Kubernetes-commit: 4c68fa824366ed88f8777664c0b7893d9f23fc06
2019-07-11 10:52:04 +00:00
Kubernetes Publisher 93d9210bc7 Merge pull request #79946 from apelisse/add-apply-benchmarks
Add benchmarks for FieldManager handling

Kubernetes-commit: e2b21c8a7c480806b411952206eaa17a55cea527
2019-07-11 10:52:02 +00:00
Kubernetes Publisher c925c445dd Merge pull request #78470 from nikhita/security-contacts-psc
Update SECURITY_CONTACTS with current PSC

Kubernetes-commit: 69c94671242c3d17bb32dcdc7ceb5d35535a8f34
2019-07-11 10:52:01 +00:00
Kubernetes Publisher b3cc7eaa66 Merge pull request #79819 from yasongxu/fix-staging-file-lint
staging file fix lint error: receiver name should not be an underscor…

Kubernetes-commit: c36e1493a5a6ae0cf41df20bde3f828d6d17a39d
2019-07-11 10:51:58 +00:00
Kubernetes Publisher bd04144967 Merge pull request #79902 from tedyu/store-no-rv
Revert Provide resource version in error if available

Kubernetes-commit: 955198751cdbf10701607490937d35d0e3d57e50
2019-07-11 10:51:57 +00:00
Kubernetes Publisher 16144b060d Merge pull request #77449 from smarterclayton/compress_2
Replace HTTP compression with a more scoped impl, only use on responses > 128KB

Kubernetes-commit: 7c7d70bc7c10f774e1bda021de8f337d075a5563
2019-07-11 10:51:56 +00:00
Kubernetes Publisher e65a365f55 Merge pull request #79840 from sttts/sttts-chain-prepare-run
apiserver: chain delegated PrepareRun

Kubernetes-commit: d228123ad65545da3de2041a4bcb433f5a6443f4
2019-07-11 10:51:54 +00:00
Kubernetes Publisher 92171d74d8 Merge pull request #79673 from cheftako/bugFix
Making sure we handle error on http.NewRequest() in streamer

Kubernetes-commit: 13c07e5327d912830a2f0c9f27b673de469cb613
2019-07-11 10:51:52 +00:00
Kubernetes Publisher f7bb3c81e2 Merge pull request #79017 from sttts/sttts-apiserver-healthz-stack-trace
apiserver: don't log stack trace on /healthz error

Kubernetes-commit: 2309b584eea21eb31eae280a9650158ffff51791
2019-07-11 10:51:51 +00:00
Jordan Liggitt fd78427347 Populate API version in synthetic authorization requests
Kubernetes-commit: 2899abb65cf459d6ab1d61f24fe82555f87a306f
2019-07-10 21:29:25 -04:00
Antoine Pelisse 2f450e5e39 Add benchmarks for FieldManager handling
We don't have a lot of data on allocations and how much time it takes to
run apply or update on objects, so adding some benchmark will help us
investigate possible improvements.

Kubernetes-commit: 92cf3764f979e63317c8f483d8e841e0358599f4
2019-07-09 14:00:21 -07:00
Ted Yu de3970c505 Revert Provide resource version in error if available
Kubernetes-commit: 58b0a2769a57bc190eb5b2a424582270720b325a
2019-07-08 14:33:37 -07:00
Kubernetes Publisher 7f6005dcdc Merge pull request #79848 from tedyu/store-get-rv
Provide resource version in error if available

Kubernetes-commit: 932487c7440b05f634da52e82f853fe2aacd5009
2019-07-07 08:58:29 +00:00
Kubernetes Publisher b939071712 Merge pull request #79847 from caohe/add-error-handling
Remove panic in storage and add log

Kubernetes-commit: 656cf9cc7c481870e0a876cd2f2b3a5a0f5f7777
2019-07-06 12:58:27 +00:00
caohe ac25e63a3e Remove panic in storage and add log
Signed-off-by: caohe <caohe9603@gmail.com>

Kubernetes-commit: 99365063bac66b0cb9f2c3f7322e48b8cb3a0cf7
2019-07-06 17:01:20 +08:00
Ted Yu 50569df906 Provide resource version in error if available
Kubernetes-commit: 6459b61bca8ea8d02ccd1771288345af498ae176
2019-07-06 00:59:20 -07:00
xuyasong 394b8d269a staging file fix lint error: receiver name should not be an underscore and rename
Kubernetes-commit: 162b14eca339851aae03725b980acad2c91222c4
2019-07-05 12:49:02 +08:00
Kubernetes Publisher 634352be13 Merge pull request #78732 from mborsz/metric
Add 'apiserver_watch_events_total' metric.

Kubernetes-commit: 74b5603f8326c7fcaca29e6a0d6827ca29863433
2019-07-04 13:03:11 +00:00
Kubernetes Publisher 760aa68120 Merge pull request #79637 from toliu/toliu/update-gophercloud
Update gophercloud vendor dependency to v0.1.0

Kubernetes-commit: 886c5d261f67d74a9d4d5e5f2f31c88dd5c2666f
2019-07-04 04:59:57 +00:00
Kubernetes Publisher 9dd9356497 Merge pull request #78540 from immutableT/kms-plugin-healthz-check
Add healthz check for KMS Providers on kube-apiserver.

Kubernetes-commit: a7cde2e70fc2c82ada19367b65a27e9a67173038
2019-07-04 00:58:26 +00:00
Kubernetes Publisher 88be64598d Merge pull request #79306 from vllry/gogo-dep-tag
Updated github.com/gogo/protobuf from v0.5 SHA to v1.0.0 tag

Kubernetes-commit: 03aeab967abccc1da80ff2340f3bccf2131f63d8
2019-07-03 21:06:39 +00:00
Kubernetes Publisher 3b91810e58 Merge pull request #79045 from odinuge/file-perms
Fix file permissions for non executable files

Kubernetes-commit: 3c38115a326a229274661d4d0ad60b77342ab26c
2019-07-03 17:01:48 +00:00
Kubernetes Publisher ae6abd0c91 Merge pull request #72420 from Pingan2017/cleanup-outofdisk
clean up redundant conditiontype ‘OutOfDisk’

Kubernetes-commit: 2a82853614b710d30c334d41723661beb1ffcfd3
2019-07-03 17:01:46 +00:00
Vallery Lancey 6e15e9a893 Updated github.com/gogo/protobuf from SHA to nearest-pinnable tag (v1.0.0), as part of dependency management cleanup: #79234
Kubernetes-commit: fe59ee8aaf8c7399476d286349caca9e3c05c522
2019-07-02 21:44:06 -07:00
Walter Fender ab45142917 Making sure we handle error on http.NewRequest().
http.NewRequest can return an error. (Eg. error parsing url).
This will cause us to have a nil req object.
That in turn will become a SIGSEGV when we set the context.

Kubernetes-commit: ee2ad1d1fe55a3823311267f39e8b14e8b0c4c68
2019-07-02 14:28:55 -07:00
wojtekt 15b0ff80e3 Move etcd/util to etcd3/
Kubernetes-commit: 23d9d6b1d0f835d7b342773149ded2c89c6b4507
2019-07-02 09:28:02 +02:00
liushi 33b94c0b87 Update gophercloud vendor dependency to v0.1.0
Kubernetes-commit: 094fed6598b5c5731dd936bb80a85816a24bda53
2019-07-01 02:22:54 -07:00
Antoine Pelisse b19b440e6b Return 400 on invalid patch requests
Kubernetes-commit: 7e964387485f12432bbf616835e034436f52cb4c
2019-06-20 12:17:56 -07:00
Odin Ugedal 1be6195f27 Fix file permissions for non executable files
Normal files should have permissions 644 by default,
and does not require the last bit to be
executable

Signed-off-by: Odin Ugedal <odin@ugedal.com>

Kubernetes-commit: 35cb87f9cf71776e99a970dfff751cd29ba7ebfb
2019-06-14 21:04:39 +02:00
Dr. Stefan Schimanski c4286f7b60 apiserver: store httplog in context
Kubernetes-commit: e848eaa566b750ad5e5fd26a64eecfc883f936f3
2019-06-14 13:09:13 +02:00
Dr. Stefan Schimanski 41c11d856b apiserver: don't log stack trace on /healthz error
Kubernetes-commit: 6e3fd91e1aa3259d7bd67e0a65693e346ade347d
2019-06-14 11:37:48 +02:00
Maciej Borsz df684d906a Add 'apiserver_watch_events_total' metric.
We found this metric useful to understand the CPU usage of the
kube-apiserver process.

Kubernetes-commit: 58d3338ddd5e406988fdfaa9019fd7200996c49f
2019-06-05 14:27:09 +02:00
immutablet 5faffb9123 Allow kube-apiserver to test the status of kms-plugin.
Kubernetes-commit: 05fdbb201ffbaff4e92f0899f9e2ca038febb88d
2019-05-30 11:15:35 -07:00
Nikhita Raghunath da3793e118 Update SECURITY_CONTACTS with current PSC
Kubernetes-commit: 42ea492bfdab9fcfd67dd4ea621b8a1a40da550d
2019-05-29 15:22:35 +05:30
Clayton Coleman 72566fea6c Replace HTTP compression with an inline handler
The previous HTTP compression implementation functioned as a filter, which
required it to deal with a number of special cases that complicated the
implementation.

Instead, when we write an API object to a response, handle only that one
case. This will allow a more limited implementation that does not impact
other code flows.

Also, to prevent excessive CPU use on small objects, compression is
disabled on responses smaller than 128Kb in size.

Kubernetes-commit: 4ed2b9875d0498b5c577095075bda341e96fcec2
2019-05-04 17:36:36 -04:00
Clayton Coleman f07e11ea4e Set API compression feature gate to Beta
Kubernetes-commit: a872c6826cd9fb6ce7384f8b6242e261e138abc2
2019-05-04 18:21:53 -04:00
YAMAMOTO Takashi 0acf11d3c3 apiserver: Update a comment
Kubernetes-commit: 6066246656f532beb04b74e5ea3959e08ecb375b
2019-03-11 15:23:26 +09:00
Dr. Stefan Schimanski 747ac192e8 apiserver: chain delegated PrepareRun
Kubernetes-commit: 7c4329ed45e3609b1e66b4026c453e71e78db26b
2019-03-04 12:04:43 +01:00