JunYang
f5bd8c86d4
namespace controller: use contextual logging
2023-03-13 14:59:17 +08:00
Davanum Srinivas
a9593d634c
Generate and format files
...
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
jlsong01
d66b3edd65
allocate a unique scheme for each test to fix concurrent usage issue
2022-02-02 15:22:59 +08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Jordan Liggitt
648c591fff
Fix namespace controller cleanup orphaning
2020-08-07 13:26:28 -04:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
Jordan Liggitt
d8abacba40
client-go: update expansions callers
2020-03-06 16:50:41 -05:00
Jordan Liggitt
04a72d5ef9
client-go metadata: update callers
2020-03-06 11:07:54 -05:00
taesun_lee
79680b5d9b
Fix pkg/controller typos in some error messages, comments etc
...
- applied review results by LuisSanchez
- Co-Authored-By: Luis Sanchez <sanchezl@redhat.com>
genernal -> general
iniital -> initial
initalObjects -> initialObjects
intentionaly -> intentionally
inforer -> informer
anotother -> another
triger -> trigger
mutli -> multi
Verifyies -> Verifies
valume -> volume
unexpect -> unexpected
unfulfiled -> unfulfilled
implenets -> implements
assignement -> assignment
expectataions -> expectations
nexpected -> unexpected
boundSatsified -> boundSatisfied
externel -> external
calcuates -> calculates
workes -> workers
unitialized -> uninitialized
afater -> after
Espected -> Expected
nodeMontiorGracePeriod -> NodeMonitorGracePeriod
estimateGrracefulTermination -> estimateGracefulTermination
secondrary -> secondary
ShouldRunDaemonPodOnUnscheduableNode -> ShouldRunDaemonPodOnUnschedulableNode
rrror -> error
expectatitons -> expectations
foud -> found
epackage -> package
succesfulJobs -> successfulJobs
namesapce -> namespace
ConfigMapResynce -> ConfigMapResync
2020-02-27 00:15:33 +09:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
yiyang5055
53aff819e0
fix static check failure in pkg/controller/disruption and pkg/controller/namespace/deletion
2020-01-20 09:10:46 +00:00
hwdef
38256df718
pkg/controller: fix staticcheck warning
2019-11-07 16:46:47 +08:00
Kubernetes Prow Robot
259d6bf608
Merge pull request #82189 from deads2k/ns-resources
...
add conditions for remaining object totals during ns termination
2019-09-20 01:33:00 -07:00
Jordan Liggitt
000fffd3c7
Clean up redundant post-finalizer deletions
2019-09-19 10:35:58 -04:00
David Eads
95ae353f3a
squash: reaction to comments
2019-09-06 09:58:41 -04:00
David Eads
0355f4482b
add conditions for remaining object totals during ns termination
2019-09-06 09:50:41 -04:00
David Eads
076bf949d7
fix namespace termination conditions to be consistent and correct
2019-09-03 15:33:17 -04:00
Jan Wozniak
b0459feb7d
Update generated files
...
make generated_files UPDATE_API_KNOWN_VIOLATIONS=true
./hack/update-generated-protobuf.sh
./hack/update-openapi-spec.sh
./hack/update-bazel.sh
./hack/update-generated-swagger-docs.sh
./hack/update-generated-api-compatibility-data.sh
2019-08-29 13:26:13 +02:00
Jan Wozniak
035e648fd7
Add tests for namespace status conditions
2019-08-29 13:21:15 +02:00
Jan Wozniak
94a5e8c3dc
Add status conditions to namespaces
2019-08-29 13:21:15 +02:00
Clayton Coleman
50fd47258d
Switch the namespace controller to use the metadata client
...
The metadata client uses protobuf and returns only a subset of object
data (the metadata) which allows operations that act only on objects
generically to work much faster. Use the metadata client in the
namespace controller to reduce the amount of work the namespace controller
has to do in large namespaces.
2019-07-10 14:31:18 -04:00
SataQiu
b87d006a50
fix golint failures of pkg/controller/namespace/deletion pkg/controller/serviceaccount
2019-05-23 12:09:01 +08:00
Jordan Liggitt
fba885a0d2
Handle updates removing remaining finalizers on deleted objects
2019-05-15 17:17:39 -04:00
Jordan Liggitt
d1e865ee34
Update client callers to use explicit versions
2019-02-26 08:36:30 -05:00
Jordan Liggitt
17aa60686e
Deprecate and remove use of alpha metadata.initializers field, remove IncludeUninitialized options
2019-01-23 16:34:43 -05:00
David Eads
47ca64c8f2
delete as much content from a namespace as possible
2019-01-09 14:16:07 -05:00
Jordan Liggitt
fd9e9b01b1
Remove uses of extensions/v1beta1 clients
2018-12-19 11:18:53 -05:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
David Eads
fd044d152e
fix dynamic client name
2018-05-11 13:12:09 -04:00
David Eads
5ff923c7f9
make dynamic client slightly easier to use
2018-04-30 08:54:30 -04:00
David Eads
3632037e60
add easy to use dynamic client
2018-04-25 08:55:26 -04:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
Jeff Grafton
efee0704c6
Autogenerate BUILD files
2017-12-23 13:12:11 -08:00
Dr. Stefan Schimanski
bec617f3cc
Update generated files
2017-11-09 12:14:08 +01:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
Dr. Stefan Schimanski
cad0364e73
Update bazel
2017-10-18 17:24:04 +02:00
Dr. Stefan Schimanski
7773a30f67
pkg/api/legacyscheme: fixup imports
2017-10-18 17:23:55 +02:00
Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00
Jeff Grafton
a7f49c906d
Use buildozer to delete licenses() rules except under third_party/
2017-08-11 09:32:39 -07:00
Jeff Grafton
33276f06be
Use buildozer to remove deprecated automanaged tags
2017-08-11 09:31:50 -07:00
Kubernetes Submit Queue
803cb9303b
Merge pull request #49495 from deads2k/controller-12-toleration
...
Automatic merge from submit-queue (batch tested with PRs 49665, 49689, 49495, 49146, 48934)
make it possible to allow discovery errors for controllers
Update the discovery client to return partial discovery information *and* an error. Since we can aggregate API servers, discovery of some resources can fail independently. Callers of this function who want to tolerate the errors can, existing callers will still get an error and fail in normal blocks.
@kubernetes/sig-api-machinery-misc @sttts
2017-07-27 21:45:34 -07:00
deads2k
b7286f3188
make it possible to allow discovery errors for controllers
2017-07-26 16:09:30 -04:00
Solly Ross
f78d61e7c2
[client-go] Add dynamic.Interface
...
This adds an interface form of dynamic.Client and
dynamic.ResourceClient, making those two follow the general client
conventions: `Interface` is an interface, and `Client` is the concrete
implementation. `ClientPool` retains it's interface status.
This allows us to create a fake implemenation of dyanmic.Interface,
dynamic.ResourceInterface, and dynamic.ClientPool for testing.
2017-07-21 14:24:06 -04:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Jordan Liggitt
740a38b2e3
Run namespace deletion in background
2017-06-08 17:29:35 -04:00