kubernetes/pkg/kubelet
Antonio Ojea 3ee2f27e5b kubelet: cloud-provider external addresses
Kubelet, if using cloud provider external, initializes temporary
the node addresses using the non-cloud provider logic, until the
cloud provider overrides it.

This behavior has undesired consequences if the cloud-provider addresses
are different than the original ones, specially for hostNetwork pods,
that inherit these addresses from the Node.

Since some cloud-providers depend on this behavior, in order to keep
backward compatibility, assume that the specifying addresses via
the node-ip flags means that the intent is to keep the existing
behavior to temporary initialize the addresses.

If the node-ips are the unspecified addresses or are not set, then
wait for the external cloud provider to set the node addresses.

Change-Id: I3a3895f9b830769f9658e6a03f058c914c438a09
Signed-off-by: Antonio Ojea <aojea@google.com>
2023-10-06 14:01:28 +00:00
..
apis Merge pull request #119374 from danwinship/kep-3178-ga 2023-07-17 15:53:47 -07:00
cadvisor revert azuredisk test removal change 2023-03-11 07:10:05 +00:00
certificate fix fd leaks and failed file removing for main pkg and cmd 2023-05-09 09:24:11 -05:00
checkpointmanager
client kubelet/client: collapse transport wiring onto standard approach 2023-02-06 20:34:49 -05:00
cloudresource Replace uses of ObjectReflectDiff with cmp.Diff 2023-04-12 08:48:03 -07:00
cm Add package-level godoc to pkg/kubelet/cm 2023-10-05 14:20:51 -04:00
config Use early return pattern to avoid nested conditions 2023-05-03 02:27:26 +09:00
configmap
container Sidecar: Implement lifecycle of the restartable init container 2023-07-08 07:26:12 +09:00
cri/remote Add timeout to listContainerStats context 2023-08-30 10:49:44 -04:00
envvars
events DRA: report NodePrepareResource errors 2023-07-17 12:56:28 +03:00
eviction kubelet: Remove unused mirrorPodFunc in eviction 2023-05-12 12:57:25 -04:00
images pkg/kubelet: allow sandbox image pinning from CRI 2023-08-29 15:34:51 -04:00
kubeletconfig replace ioutil with os, update doc 2023-04-13 09:02:46 +08:00
kuberuntime Only configure swap if available on node 2023-09-26 21:32:58 +02:00
leaky
lifecycle cleanup: Update deprecated FromInt to FromInt32 (#119858) 2023-08-16 09:33:01 -07:00
logs
metrics Merge pull request #118568 from qiutongs/node-startup-latency 2023-09-15 13:00:12 -07:00
network Promote ExpandedDNSConfig feature to the GA stage 2023-05-04 20:37:10 +09:00
nodeshutdown Fix some typo in kubelet component source code 2023-08-03 23:56:50 -07:00
nodestatus kubelet: cloud-provider external addresses 2023-10-06 14:01:28 +00:00
oom linux: fix kubelet start unit test 2022-11-09 07:17:05 +08:00
pleg Remove undesired verbose fields from log 2023-05-18 16:07:45 +08:00
pluginmanager Fix some typo in kubelet component source code 2023-08-03 23:56:50 -07:00
pod kubelet: Rename PodManager DeletePod to RemovePod 2023-05-12 12:57:27 -04:00
preemption Add DisruptionTarget condition when preempting for critical pod 2023-05-02 18:53:19 +02:00
prober cleanup: Update deprecated FromInt to FromInt32 (#119858) 2023-08-16 09:33:01 -07:00
qos Rename ContainerStatus.ResourcesAllocated to ContainerStatus.AllocatedResources 2023-03-10 14:49:26 +00:00
runtimeclass kubelet: Replace deprecated pointer function 2023-01-08 13:44:09 +01:00
secret Log a warning if a ImagePullSecrets does not exist 2023-05-11 09:33:14 +00:00
server promote component SLIs to GA; remove feature gates for component slis 2023-09-11 09:15:32 -07:00
stats fix typo Mininum => Minimum 2023-09-17 11:24:29 +02:00
status Fix some typo in kubelet component source code 2023-08-03 23:56:50 -07:00
sysctl Remove unnecessary if judgments 2023-04-16 23:55:31 +08:00
token
types Make kubelet label types public 2023-07-10 10:58:44 +02:00
userns features: rename UserNamespacesStatelessPodsSupport 2023-06-22 15:19:50 +02:00
util Merge pull request #118568 from qiutongs/node-startup-latency 2023-09-15 13:00:12 -07:00
volumemanager add comment 2023-08-29 10:46:31 +08:00
winstats Updating perfCounterUpdatePerioud for Windows to 10 seconds 2023-03-13 12:13:24 -07:00
active_deadline_test.go
active_deadline.go
doc.go
errors.go
kubelet_getters_test.go
kubelet_getters.go Merge pull request #116482 from smarterclayton/no_mutate 2023-04-12 02:22:32 -07:00
kubelet_network_linux.go Remove IPTablesOwnershipCleanup checks and dead code 2023-07-17 16:51:47 -04:00
kubelet_network_others.go
kubelet_network.go
kubelet_node_status_others.go
kubelet_node_status_test.go Replace uses of diff.ObjectDiff with cmp.Diff 2023-04-12 08:46:12 -07:00
kubelet_node_status_windows.go
kubelet_node_status.go Create a node startup latency tracker 2023-09-11 05:54:25 +00:00
kubelet_pods_linux_test.go
kubelet_pods_test.go Downward API support for status.hostIPs 2023-07-14 09:35:30 +08:00
kubelet_pods_windows_test.go
kubelet_pods.go Fix some typo in kubelet component source code 2023-08-03 23:56:50 -07:00
kubelet_resources_test.go
kubelet_resources.go
kubelet_server_journal_linux.go kubelet: Expose simple journald and Get-WinEvent shims on the logs endpoint 2023-03-14 08:54:36 -07:00
kubelet_server_journal_others.go kubelet: Expose simple journald and Get-WinEvent shims on the logs endpoint 2023-03-14 08:54:36 -07:00
kubelet_server_journal_test.go unittests: Fixes server journal unit test on Windows 2023-04-06 08:50:10 +00:00
kubelet_server_journal_windows.go kubelet: Expose simple journald and Get-WinEvent shims on the logs endpoint 2023-03-14 08:54:36 -07:00
kubelet_server_journal.go kubelet: Expose simple journald and Get-WinEvent shims on the logs endpoint 2023-03-14 08:54:36 -07:00
kubelet_test.go Merge pull request #118568 from qiutongs/node-startup-latency 2023-09-15 13:00:12 -07:00
kubelet_volumes_linux_test.go
kubelet_volumes_test.go kubelet: pass context to VolumeManager.WaitFor* 2023-04-17 11:53:28 -05:00
kubelet_volumes.go Add metric for failed orphan pod cleanup 2023-02-22 18:43:38 +01:00
kubelet.go Merge pull request #118568 from qiutongs/node-startup-latency 2023-09-15 13:00:12 -07:00
OWNERS
pod_container_deletor_test.go
pod_container_deletor.go
pod_workers_test.go kubelet: Mark new terminal pods as non-finished in pod worker 2023-04-11 01:39:05 -07:00
pod_workers.go Merge pull request #118976 from ctripcloud/fix-typo 2023-07-01 06:06:48 -07:00
reason_cache_test.go
reason_cache.go
runonce_test.go kubelet: Separate the MirrorClient from the PodManager 2023-05-12 12:57:26 -04:00
runonce.go Fix some typo in kubelet component source code 2023-08-03 23:56:50 -07:00
runtime.go
volume_host.go remove helper function for unused storage feature in pkg/proxy/util 2023-06-13 09:22:59 +08:00