Kubernetes Prow Robot
acbeaf8b8e
Merge pull request #104944 from jyz0309/migrate-log
...
Migrate `cmd/proxy/{config, healthcheck, winkernel}` to structured logging
2021-09-20 15:02:37 -07:00
Pritish Samal
060f5b88d0
Migrate pkg/proxy/util to structured logging ( #104908 )
...
* Migrate to Structured Logs in `pkg/proxy/util`
* Minor fixes
* change key to cidr and remove namespace arg
* Update key from cidr to CIDR
Co-authored-by: JUN YANG <69306452+yangjunmyfm192085@users.noreply.github.com >
* Update key cidr to CIDR
Co-authored-by: JUN YANG <69306452+yangjunmyfm192085@users.noreply.github.com >
* Update key ip to IP
Co-authored-by: JUN YANG <69306452+yangjunmyfm192085@users.noreply.github.com >
* Update key ip to IP
Co-authored-by: JUN YANG <69306452+yangjunmyfm192085@users.noreply.github.com >
* Interchange svcNamespace and svcName
* Change first letter of all messages to capital
* Change key names in endpoints.go
* Change all keynames to lower bumby caps convention
Co-authored-by: JUN YANG <69306452+yangjunmyfm192085@users.noreply.github.com >
2021-09-20 13:54:35 -07:00
Kubernetes Prow Robot
b34a735bbe
Merge pull request #102523 from stlaz/rootca_metrics_cleanup
...
rootcacertpublisher: drop the namespace label from metrics to reduce its cardinality
2021-09-20 13:54:24 -07:00
Kubernetes Prow Robot
353f0a5eab
Merge pull request #105095 from wojtek-t/migrate_clock_3
...
Unify towards k8s.io/utils/clock - part 3
2021-09-20 12:46:45 -07:00
Kubernetes Prow Robot
e8653fe24a
Merge pull request #104163 from ialidzhikov/cleanup/pids-limit
...
Remove SupportPodPidsLimit and SupportNodePidsLimit feature gates
2021-09-20 11:35:09 -07:00
Kubernetes Prow Robot
f55101913f
Merge pull request #105098 from Karthik-K-N/fix-error-format
...
Fix incorrect format specifier in test files
2021-09-20 08:56:09 -07:00
jyz0309
5d32be4126
fix type check
...
Signed-off-by: jyz0309 <45495947@qq.com >
2021-09-20 19:42:15 +08:00
jyz0309
6344d6b26d
rebuild msg and rename namespace
...
Signed-off-by: jyz0309 <45495947@qq.com >
2021-09-20 19:04:21 +08:00
Shivanshu Raj Shrivastava
bbd809cbd0
Fixing incorrectly migrated structured logs ( #105122 )
...
* added keys for structured logging
* used KObj
2021-09-19 12:28:08 -07:00
Kubernetes Prow Robot
25c7b6a2c7
Merge pull request #105109 from Huang-Wei/cleanup-dupe-import
...
cleanup duplicated import of "k8s.io/apimachinery/pkg/runtime"
2021-09-18 17:20:07 -07:00
Kubernetes Prow Robot
c5fbcd735d
Merge pull request #104939 from z1cheng/fix-conntrack-typo
...
Fix error message typo in conntrack
2021-09-17 19:22:06 -07:00
Kubernetes Prow Robot
0d20f47c7a
Merge pull request #105090 from saad-ali/removeSubpathFeaturegate
...
Remove VolumeSubpath feature gate
2021-09-17 15:52:07 -07:00
Wei Huang
a55af2d35a
cleanup duplicated import of "k8s.io/apimachinery/pkg/runtime"
2021-09-17 14:13:15 -07:00
wojtekt
d9b08c611d
Migrate to k8s.io/utils/clock
2021-09-17 15:19:08 +02:00
Kubernetes Prow Robot
399656369f
Merge pull request #104739 from alculquicondor/job-tracking
...
Beta requirements for JobTrackingWithFinalizers
2021-09-17 04:57:00 -07:00
Karthik K N
c651d50202
Fix incorrect format specifier in test files
2021-09-17 16:27:53 +05:30
Kubernetes Prow Robot
cb2ea4bf7c
Merge pull request #101161 from rikatz/move-sysctl-util
...
Move node and networking related helpers from pkg/util to component helpers
2021-09-17 02:11:00 -07:00
saad-ali
beb17fe10b
Remove VolumeSubpath feature gate
...
Remove the VolumeSubpath feature gate.
Feature gate convention has been updated since this was introduced to
indicate that they "are intended to be deprecated and removed after a
feature becomes GA or is dropped.".
2021-09-17 01:59:23 -07:00
Wei Huang
a689ad4cda
sched: start dynamicInformerFactory along with regular informerFactory ( #105016 )
...
* sched: start dynamicInformerFactory along with regular informerFactory
* fixup: start all informers and then wait for their syncs
2021-09-16 19:33:00 -07:00
Kubernetes Prow Robot
924f196882
Merge pull request #104986 from thockin/svc-validation-cleanup
...
Svc REST: clean up defaultOnRead to be consistent
2021-09-16 14:09:26 -07:00
Ricardo Pchevuzinske Katz
37d11bcdaf
Move node and networking related helpers from pkg/util to component helpers
...
Signed-off-by: Ricardo Katz <rkatz@vmware.com >
2021-09-16 17:00:19 -03:00
Kubernetes Prow Robot
af85e0e669
Merge pull request #105067 from Shubham82/Add-supported_alg_header_value
...
Add supported 'alg' header values.
2021-09-16 12:43:26 -07:00
Kubernetes Prow Robot
fb70ca9b7b
Merge pull request #105046 from alculquicondor/system-spreading
...
Skip check for all topology labels when using system default spreading
2021-09-16 11:36:14 -07:00
Shivanshu Raj Shrivastava
f06ce08d63
Migrated pkg/proxy/winuserspace to structured logging ( #105035 )
...
* migrated roundrobin.go
* migrated proxysocket.go
* used KRef in service
2021-09-16 11:36:02 -07:00
Kubernetes Prow Robot
51e39a45d9
Merge pull request #104998 from pohly/scheduler-plugin-registration
...
scheduler: avoid repeated boilerplate code when registering plugins
2021-09-16 11:35:49 -07:00
Kubernetes Prow Robot
51384aa77e
Merge pull request #104847 from smarterclayton/worker_uid_reuse
...
kubelet: Handle UID reuse in pod worker
2021-09-16 11:35:37 -07:00
Tim Hockin
52f54ce90d
Svc REST: clean up defaultOnRead to be consistent
...
Headless+selectorless -> RequireDualStack
Headless+selector -> SingleStack
Add test cases to cover this and ExternalName and dual-stack init (which
I think can never trigger, but best to be safe).
2021-09-16 11:17:45 -07:00
Aldo Culquicondor
609306dd5b
Skip check for all topology labels when using system default spreading
...
Checking for all topology labels is not backwards compatible. Clusters were nodes don't have zone labels effectively have default spreading disabled.
Change only applies to system defaults.
2021-09-16 09:37:56 -04:00
Kubernetes Prow Robot
5d7ac70051
Merge pull request #104670 from andyzhangx/patch-2
...
turn on CSIMigrationAzureDisk by default on 1.23
2021-09-16 05:35:45 -07:00
Stanislav Laznicka
b67bd722a9
rootcacertpublisher: drop the namespace label from metrics to reduce its cardinality
...
The `root_ca_cert_publisher_sync_duration_seconds` metric tracks the sync
duration in the root CA cert publisher per code and namespace. In
clusters with a high namespace turnover (like CI clusters), this may
cause the kube-controller-manager to expose over 100k series to
Prometheus, which may cause degradation of that service.
Drop the `namespace` label to remove the metrics' cardinality, tracking
this metric by namespace does not justify the impact of keeping it.
2021-09-16 14:05:32 +02:00
h4ghhh
0734820279
'New' Event namespace validate failed ( #100125 )
2021-09-16 04:29:45 -07:00
jyz0309
615c69643b
migrate to struct log for proxy
...
Signed-off-by: jyz0309 <45495947@qq.com >
remove useless str
Signed-off-by: jyz0309 <45495947@qq.com >
fix comment
Signed-off-by: jyz0309 <45495947@qq.com >
fix comment
Signed-off-by: jyz0309 <45495947@qq.com >
2021-09-16 18:01:22 +08:00
Patrick Ohly
1d656d46a2
scheduler: avoid repeated boilerplate code when registering plugins
...
Some plugins expect the new feature gate struct. We can inject that additional
parameter via a helper function instead of having to repeat the same anonymous
function for each plugin.
2021-09-16 11:23:57 +02:00
Shubham Kuchhal
ef2be5586e
Add supported 'alg' header values.
2021-09-16 14:02:21 +05:30
calvin0327
fb9caa6a84
structured log migration for pkg/util/netsh
2021-09-16 13:23:37 +08:00
Kubernetes Prow Robot
25e52d9177
Merge pull request #102937 from gy95/service
...
remove windows service not used global variable
2021-09-15 21:41:45 -07:00
Jiahui Feng
2ddcf13e91
add feature gate OpenAPIEnums.
...
KEP-2887 OpenAPI Enum Types
2021-09-15 16:08:47 -07:00
Clayton Coleman
d5719800bf
kubelet: Handle UID reuse in pod worker
...
If a pod is killed (no longer wanted) and then a subsequent create/
add/update event is seen in the pod worker, assume that a pod UID
was reused (as it could be in static pods) and have the next
SyncKnownPods after the pod terminates remove the worker history so
that the config loop can restart the static pod, as well as return
to the caller the fact that this termination was not final.
The housekeeping loop then reconciles the desired state of the Kubelet
(pods in pod manager that are not in a terminal state, i.e. admitted
pods) with the pod worker by resubmitting those pods. This adds a
small amount of latency (2s) when a pod UID is reused and the pod
is terminated and restarted.
2021-09-15 14:02:00 -04:00
Aldo Culquicondor
a0e7a567c5
Add metric job_pod_finished
...
To count the number of pods that the job controller successfully tracked with the JobTrackingWithFinalizers feature gate.
2021-09-15 11:19:47 -04:00
Alkaid
5449ce7c5c
Migrate cmd/proxy/app and pkg/proxy/meta_proxier to structured logging ( #104928 )
...
* migrate log
Signed-off-by: jyz0309 <45495947@qq.com >
* remove useless change
Signed-off-by: jyz0309 <45495947@qq.com >
fix comment
Signed-off-by: jyz0309 <45495947@qq.com >
fix comment
Signed-off-by: jyz0309 <45495947@qq.com >
* use nil to instead err
Signed-off-by: jyz0309 <45495947@qq.com >
* fix comment
Signed-off-by: jyz0309 <45495947@qq.com >
* remove useless change
Signed-off-by: jyz0309 <45495947@qq.com >
* resolve conflict
Signed-off-by: jyz0309 <45495947@qq.com >
* resolve conflict
Signed-off-by: jyz0309 <45495947@qq.com >
* fix comment
Signed-off-by: jyz0309 <45495947@qq.com >
* fix comment
Signed-off-by: jyz0309 <45495947@qq.com >
* fix comment
Signed-off-by: jyz0309 <45495947@qq.com >
2021-09-14 20:50:40 -07:00
Kubernetes Prow Robot
4622007bdd
Merge pull request #104793 from h4ghhh/dynamic_event_handler
...
Add unit tests for scheduler's dynamic event handlers registration
2021-09-14 18:24:40 -07:00
Kubernetes Prow Robot
fa2657b8b2
Merge pull request #104624 from Haleygo/support-null-resolvConf-in-configFile
...
When resolvConf is "" in kubelet configuration, pod will be created with wrong dns policy
2021-09-14 14:18:59 -07:00
Kubernetes Prow Robot
c10be982d1
Merge pull request #96345 from ingvagabund/disable-insecure-port-in-scheduler
...
refactor: disable insecure serving in kube-scheduler
2021-09-14 08:01:09 -07:00
00255991
06a9bfbb21
Add unit tests for scheduler's dynamic event handlers registration
2021-09-14 22:51:52 +08:00
Kubernetes Prow Robot
95391adbc0
Merge pull request #99529 from jialaijun/migrate_logs
...
Structured log migration for pkg/util/netsh
2021-09-14 02:41:07 -07:00
Haleygo
46454ea9dc
support null resolvConf in Kubelet Configuration
2021-09-14 16:12:52 +08:00
Jan Chaloupka
07af6697e9
refactor: disable insecure serving in kube-scheduler
2021-09-14 07:52:16 +02:00
Kubernetes Prow Robot
047a6b9f86
Merge pull request #104874 from wojtek-t/migrate_clock_1
...
Unify towards k8s.io/utils/clock - part 1
2021-09-13 19:09:20 -07:00
Kubernetes Prow Robot
c79f7c1add
Merge pull request #104711 from claudiubelu/update-pause-3.6
...
update pause image references to use 3.6
2021-09-13 19:09:08 -07:00
Kubernetes Prow Robot
9c147baa70
Merge pull request #104969 from liggitt/crd-error-validation
...
Fix conversion of literal null JSON values
2021-09-13 18:01:27 -07:00