Commit Graph

3246 Commits

Author SHA1 Message Date
Kubernetes Publisher
aa6ddc8e87 Merge pull request #99641 from pohly/storage-capacity-beta
CSIStorageCapacity beta API

Kubernetes-commit: 14c25eed8d07acdfaf882674f58fd2aa4cc7afe6
2021-03-09 10:54:41 +00:00
Adhityaa Chandrasekar
5ca42dac08 batch: add suspended job
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>

Kubernetes-commit: a0844da8f799e6f360193ecfd02c84d61a62958b
2021-03-08 11:50:02 +00:00
Rob Scott
9c787714aa Adding Hints to EndpointSlice API
Kubernetes-commit: 11f0944dbc70089e005f55b43d6507503a0491c5
2021-03-05 12:05:05 -08:00
wojtekt
4c5ab17317 Add sig-instrumentation approvers to events libraries OWNERS
Kubernetes-commit: 569626109af6d2dd40271efc9da84ea69308fccb
2021-03-05 16:45:20 +01:00
Patrick Ohly
37e7f4ab73 generic ephemeral volume: generate code
This is the result of "make update" minus the testdata update which
will be committed separately.

Kubernetes-commit: 52b758c9b634fa56ab923c31dbf9e312b1a0c171
2021-03-03 18:09:55 +01:00
Patrick Ohly
9f9bfd997e CSIStorageCapacity: generated files for beta
Kubernetes-commit: 2b062a62812ab3f33df5bc8839f0201b9087aa93
2021-03-03 12:44:52 +01:00
Kubernetes Publisher
7fc57bbd48 Merge pull request #96600 from maplain/internal-traffic-policy
Service Internal Traffic Policy

Kubernetes-commit: 2783f2f76ec57b9831b91e6c4b35d35cee4345e7
2021-03-08 21:24:58 +00:00
marosset
5d46949a09 API support for Windows host process containers
Co-authored-by: James Sturtevant <jstur@microsoft.com>

Kubernetes-commit: 93da0fd45d98176dc7f0def1e26530f99f9d9f08
2021-02-26 12:26:01 -08:00
Morten Torkildsen
62b9b26f6e Promote PDBs to GA
Kubernetes-commit: 21fba79d453b0bab7153f46916126c754d10341e
2021-02-20 12:56:31 -08:00
yoyinzyc
6a42ca30ba add context to restclient metrics
Kubernetes-commit: 69d40a1de7bc765647d8ef392fe406429fded807
2021-02-04 18:23:26 -08:00
Aldo Culquicondor
3bb4101a36 Add Job.status.uncountedPodUIDs
For tracking Job Pods that have finished but are not yet counted as failed or succeeded

And feature gate JobTrackingWithFinalizers

Change-Id: I3e080f3ec090922640384b692e88eaf9a544d3b5

Kubernetes-commit: bb56a0bd04891ae0a4aebeaeb4d145b32d9ad2d9
2021-01-18 13:36:03 -05:00
Robin Černín
b6d16d4e18 [jsonpath] fix wrong output when using jsonpath
Fix range loop when using jsonpath

Without patch:

kubectl get -n openshift-oauth-apiserver po -o jsonpath='{range .items[?(.status.phase=="Running")]}{.metadata.name}{" is Running\n"}'
apiserver-7d9cc97649-79c2x is Running
apiserver-7d9cc97649-lgks6 is Running
apiserver-7d9cc97649-qgkxn is Running
 is Running

With patch:

kubectl get -n openshift-oauth-apiserver po -o jsonpath='{range .items[?(.status.phase=="Running")]}{.metadata.name}{" is Running\n"}'
apiserver-7d9cc97649-79c2x is Running
apiserver-7d9cc97649-lgks6 is Running
apiserver-7d9cc97649-qgkxn is Running

Kubernetes-commit: 39cfe232325d66bcdbc935af7aaf7022562e7010
2021-01-14 19:53:59 +10:00
Danil-Grigorev
11ceec1b24 Make selectors atomic
Ensure that all label selectors are treated as atomic values,
to exclude situations when selectors are being corrupted by
different actors attempting to apply their overlapping definition
for this field with server-side-apply.

Kubernetes-commit: d8a7764b6396b90313ae7bd50a845f4da4705d67
2021-01-12 18:29:56 +01:00
scott
c7901fa3e4 modify the elements in the array directly without allocating a new array
Kubernetes-commit: 238fce9357634502badbcc3704b0655cf8c378c3
2021-01-12 19:58:21 +08:00
d-kuro
b4027a90c4 Fix data race for leaderelection package
Kubernetes-commit: 8eda5521c041bbcd5ad19b3cfff49202e7eb5d22
2020-12-21 22:21:42 +09:00
Fangyuan Li
9baafcd261 Implements Service Internal Traffic Policy
1. Add API definitions;
2. Add feature gate and drops the field when feature gate is not on;
3. Set default values for the field;
4. Add API Validation
5. add kube-proxy iptables and ipvs implementations
6. add tests

Kubernetes-commit: 7ed2f1d94d694c6c4fdb4629638c38b1cbda7288
2020-11-15 23:59:58 -08:00
Kubernetes Publisher
fa8f4cc307 Merge pull request #99214 from jpbetz/apply-client-go-builders2-typedclient
Add Apply to client-go's typed client

Kubernetes-commit: e688f22da07465a88728210412470e14330f1563
2021-03-07 09:24:16 +00:00
Kubernetes Publisher
b4932b529f Merge pull request #99907 from liggitt/cache-test-timeout
Add test timeout to mutation detector test

Kubernetes-commit: dc493bb553c846719dff0075df174ecaa5d9f97b
2021-03-07 05:27:16 +00:00
Kubernetes Publisher
8df02b312c Merge pull request #99662 from swetharepakula/eps-ga-api-changes
Graduate EndpointSlice API to GA

Kubernetes-commit: 36244f31ef78dd3dd6bfbb74e1b15b4d01edcd6c
2021-03-07 05:27:15 +00:00
Kubernetes Publisher
d2a6442e7d Merge pull request #99275 from hbagdi/feat/ingress-class-namespaced-params
Add namespace scoped ParametersReference to IngressClass

Kubernetes-commit: 4bf85032f3c391ff710390c41996642cd4134c40
2021-03-07 05:27:12 +00:00
Jordan Liggitt
21ee617309 Add test timeout to mutation detector test
Kubernetes-commit: 877d889ac2c78b1c8c94dc2839351aad4136f908
2021-03-06 18:16:42 -05:00
Harry Bagdi
9db6403e9d Add namespace scoped ParametersReference to IngressClass
Kubernetes-commit: a7fc92089a42aff0c2f10d56b0ee290440adfbc4
2021-03-06 03:03:20 +05:30
Kubernetes Publisher
75a1e7fffe Merge pull request #99423 from soltysh/cronjob_controller
Switch cronjob controller to batch/v1

Kubernetes-commit: 06a4b6f3421b11a3df4653e07bcee8b2cfcc1b12
2021-03-06 13:33:22 +00:00
Kubernetes Publisher
1745c9faaa Merge pull request #99817 from liggitt/zero-value
Fix zero-value custom resource validation with go1.16

Kubernetes-commit: feab32b220cd39699696d832020f8808a70bb412
2021-03-06 13:33:19 +00:00
Kubernetes Publisher
fcacc4b270 Merge pull request #98277 from XudongLiuHarold/add-loadbalancerclass-field
Add LoadBalancerClass field in service

Kubernetes-commit: 66cbf0196bd5ed0f06d7c40fccba887aae5405d8
2021-03-05 13:22:13 +00:00
Kubernetes Publisher
4f212856ea Merge pull request #98127 from mortent/AddConditionsToPDBs
Add conditions to PDB status

Kubernetes-commit: 7a4914014521369be9e5162b869476fdfc7ea2f9
2021-03-05 13:22:11 +00:00
Morten Torkildsen
da66d1b7ed generated
Kubernetes-commit: b08eb95168a482c315b5c1c9e869ca41325f32c1
2021-03-04 19:03:00 -08:00
Kubernetes Publisher
503eb33ae5 Merge pull request #99782 from liggitt/race-tests
Fix or remove tests that don't work in race mode

Kubernetes-commit: 110b9272f27c97e1bf3fd5335124de063c3e9a48
2021-03-05 05:22:11 +00:00
Kubernetes Publisher
ec8fb0246c Merge pull request #99012 from jpbetz/apply-client-go-builders2
Apply Builders for client-go's typed client

Kubernetes-commit: 03d242665dbe39b3ceeb8562850602480e5788b8
2021-03-05 01:26:19 +00:00
Jordan Liggitt
d21dde2a15 Update k8s.io/kube-openapi
Kubernetes-commit: 5515157f82ceb1a9f9a267f32629add6d8f522f7
2021-03-04 19:45:51 -05:00
Jordan Liggitt
0693903770 Fix or remove tests that don't work in race mode
Kubernetes-commit: 68bb8b827b3827cbee61d3fcc560738beba3e110
2021-03-04 09:51:52 -05:00
Swetha Repakula
2eb8aff5d3 Graduate EndpointSlice API to GA
* Removes discovery v1alpha1 API
  * Replaces per Endpoint Topology with a read only DeprecatedTopology
  in GA API
  * Adds per Endpoint Zone field in GA API

Kubernetes-commit: a9891b4b9b909b76533a50812c21575cd96c43b1
2021-03-03 06:47:10 +00:00
Joe Betz
a793842303 Generate typed clients with Apply support
Kubernetes-commit: 08d5565b9b3892032ae98fe1592413e1703c2e3e
2021-02-18 13:07:36 -08:00
Joe Betz
f146f0fa13 generate applied configurations
Kubernetes-commit: c541c6933123ee7a9e66e2443f212b8829b29b3c
2021-02-11 17:05:24 -05:00
Kubernetes Publisher
9409f5796d Merge pull request #99741 from liggitt/client-go-install
Update client-go install instructions

Kubernetes-commit: 4d5868afc3f2ba2f9fb6a31fd9c47a04784a07fc
2021-03-04 13:22:06 +00:00
Kubernetes Publisher
a71c2f1241 Merge pull request #98892 from ankeesler/exec-plugin-metrics
exec credential provider: add rest_client_exec_plugin_call_total metric

Kubernetes-commit: cd54b1931d015df7c1609043d81b1f8308f2187d
2021-03-04 09:23:07 +00:00
Kubernetes Prow Robot
a5abe9cdbf
Merge pull request #937 from liggitt/update-readme
Update readme installation instructions
2021-03-03 19:51:59 -08:00
Kubernetes Publisher
1cfb136f90 Merge pull request #99654 from ankeesler/exec-plugin-interactive-fix
exec credential provider: use stdin to detect user interaction

Kubernetes-commit: e2eb9f000528556cc7af2a3db4259a60b61a3f6f
2021-03-04 01:22:14 +00:00
Jordan Liggitt
e0f03ac11e Update client-go install instructions
Kubernetes-commit: 41c12a847ce601a5bad7f7c64277a6ef46f234d4
2021-03-03 19:24:07 -05:00
Jordan Liggitt
2dec69cc24 Update readme installation instructions 2021-03-03 19:23:07 -05:00
Kubernetes Publisher
a337294871 Merge pull request #98572 from justaugustus/go116
[go1.16] Update to go1.16

Kubernetes-commit: e4e9c31218becac11f176cc824f5cc6b7a8036ac
2021-03-03 09:26:32 +00:00
Andrew Keesler
149c501b92 exec credential provider: use stdin to detect user interaction
We are not sure why this was stdout, since stdin is what the user uses to pass
information to the exec plugin.

There is a question of backwards compatibility here. Our take is that this is a
bug, and so we are ameliorating behavior instead of breaking behavior. There are
2 main cases to consider with respect to backwards compatibility:

1. an existing exec plugin depended on stdin being hooked up to them if stdout
   was a terminal (e.g., echo foo | client-go-command-line-tool); we believe
   this is an anti-pattern, since the client-go-command-line-tool could be using
   stdin elsewhere (e.g., echo foo | kubectl apply -f -)

2. an existing exec plugin depended on stdin not being hooked up to them if
   stdout was not a terminal (e.g., client-go-command-line-tool >/dev/null);
   hopefully there are very few plugins that have tried to base logic off of
   whether stdin returned EOF immediately, since this could also happen when
   something else is wrong with stdin

We hope to apply a stronger fix to this exec plugin user interaction stuff in a
future release.

Signed-off-by: Andrew Keesler <akeesler@vmware.com>

Kubernetes-commit: aea995c45ff057406b586144e28bd9575162b8df
2021-03-02 14:30:42 -05:00
Stephen Augustus
b13f594878 Fixup golang.org/x/term staticcheck warnings
Errors from staticcheck:
cmd/preferredimports/preferredimports.go:38:2:
  package golang.org/x/crypto/ssh/terminal is deprecated:
  this package moved to golang.org/x/term.  (SA1019)
vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/exec.go:36:2:
  package golang.org/x/crypto/ssh/terminal is deprecated:
  this package moved to golang.org/x/term.  (SA1019)
vendor/k8s.io/client-go/tools/clientcmd/auth_loaders.go:26:2:
  package golang.org/x/crypto/ssh/terminal is deprecated:
  this package moved to golang.org/x/term.  (SA1019)

Please review the above warnings. You can test via:
  hack/verify-staticcheck.sh <failing package>
If the above warnings do not make sense, you can exempt the line or
file. See:
  https://staticcheck.io/docs/#ignoring-problems

generated:
- hack/update-internal-modules.sh
- hack/lint-dependencies.sh
- hack/update-vendor.sh

Signed-off-by: Stephen Augustus <foo@auggie.dev>

Kubernetes-commit: d9435800b65d6787beaf061546599d757b8e87c9
2021-03-02 00:14:47 -05:00
Jordan Liggitt
768a62f124 [go1.16] bump golang.org/x/... dependencies
hack/pin-dependency.sh golang.org/x/crypto latest
hack/pin-dependency.sh golang.org/x/net latest
hack/pin-dependency.sh golang.org/x/exp latest
hack/pin-dependency.sh golang.org/x/sys latest
hack/pin-dependency.sh golang.org/x/time latest
hack/pin-dependency.sh golang.org/x/tools latest

hack/lint-dependencies.sh
hack/pin-dependency.sh dmitri.shuralyov.com/gpu/mtl v0.0.0-20201218220906-28db891af037
hack/pin-dependency.sh golang.org/x/mobile v0.0.0-20201217150744-e6ae53a27f4f
hack/pin-dependency.sh golang.org/x/mod v0.3.1-0.20200828183125-ce943fd02449

hack/lint-dependencies.sh

hack/update-internal-modules.sh
hack/update-vendor.sh

Co-authored-by: Stephen Augustus <foo@auggie.dev>

Kubernetes-commit: ecef45df84a082c71dd3d96e6adb181a2c5b3790
2021-02-25 10:13:12 -05:00
Stephen Augustus
0ea7217dc7 generated: Run hack/lint-dependencies.sh and hack/update-vendor.sh
Signed-off-by: Stephen Augustus <foo@auggie.dev>

Kubernetes-commit: 7216970cf25a39ad2e1208ad1eb5006599ca41ca
2021-02-25 09:25:53 -05:00
Stephen Augustus
36b22fd96c [go1.16] go.mod: update to go1.16
Signed-off-by: Stephen Augustus <foo@auggie.dev>

Kubernetes-commit: 3c2824e3dbed6069dabddac7816239de9cb2a6ee
2021-02-15 04:46:56 -05:00
Kubernetes Publisher
fcbadc8b41 Merge pull request #99561 from BenTheElder/remove-bazel
Remove Bazel

Kubernetes-commit: 5498ee641b3459a0da1d4b2d42d502a318194189
2021-03-01 21:22:23 +00:00
Benjamin Elder
13e6cd336d hack/update-bazel.sh
Kubernetes-commit: 56e092e382038b01c61fff96efb5982a2cb137cb
2021-02-28 14:17:42 -08:00
Kubernetes Publisher
6a251876df Merge pull request #99324 from zshihang/master
reset token if got Unauthorized in KCM

Kubernetes-commit: 3cde6b199900ebc6d6dc415a6036d6fa8fcc1ae0
2021-02-27 01:22:16 +00:00
Kubernetes Publisher
c3c3d406ff Merge pull request #99377 from liggitt/version-sha
Switch gitVersion format to non-abbreviated hash

Kubernetes-commit: ab221b5d9f98833da2cbb5754fc2e7685bf80298
2021-02-26 21:22:12 +00:00