Commit Graph

7172 Commits (28bcd419c8f9b36b3fb5e77ae5de7be8a817ec38)

Author SHA1 Message Date
Darren Shepherd 8fa96ae064 Update vendor 2019-04-08 00:22:48 -07:00
Darren Shepherd c0527c94b9 Update FindCgroupMountpointAndRoot to be compatible with newer runc 2019-04-08 00:14:02 -07:00
Darren Shepherd a1ccb1a7c3 Alleviate race between scheduler and kubelet
If the scheduler learns of a node change and schedules based on it
before the kubelet learns of the node change, the pod will fail.
2019-04-08 00:14:02 -07:00
Darren Shepherd 30e2f9f481 Don't check for cpuset cgroup, not always required? 2019-04-08 00:14:02 -07:00
Darren Shepherd 224f2ec006 Make kubelet.sock path changable 2019-04-08 00:14:02 -07:00
Darren Shepherd c884756d35 only use the resolved name if port was zero 2019-04-08 00:14:02 -07:00
Darren Shepherd e68c8ca61c Delete systemd cgroup support 2019-04-08 00:13:18 -07:00
Darren Shepherd bcd6a4883f Delete cloud provider 2019-04-08 00:01:29 -07:00
Darren Shepherd 262ec56b81 Remove SupportNodePidsLimit 2019-04-08 00:01:29 -07:00
Darren Shepherd 7e53bae897 Remove KubeletPodResources 2019-04-08 00:01:29 -07:00
Darren Shepherd a030f5448a Remove VolumeSubpathEnvExpansion 2019-04-08 00:01:29 -07:00
Darren Shepherd ecf3180328 Remove HyperVContainer 2019-04-08 00:01:29 -07:00
Darren Shepherd f93bacce05 Remove MountContainers 2019-04-08 00:01:29 -07:00
Darren Shepherd 77494ed6c2 Remove CPUCFSQuotaPeriod 2019-04-08 00:01:29 -07:00
Darren Shepherd 5c10a12952 Remove ExpandInUsePersistentVolumes 2019-04-08 00:01:29 -07:00
Darren Shepherd 92e588de08 Remove QOSReserved 2019-04-08 00:01:29 -07:00
Darren Shepherd 5b42051c32 Remove DebugContainers 2019-04-08 00:01:29 -07:00
Darren Shepherd 75777a3e79 Remove ExperimentalCriticalPodAnnotation 2019-04-08 00:01:29 -07:00
Akihiro Suda 0e179414c5 kubelet/cm: ignore cgroups error when running in userns
This is a hacky POC; we need to implement rootless PCM in the proper way.
Especially, pcm.Exists(existingPodName) needs to be implemented to return true
even when cgroups is not available.

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-04-07 09:42:53 -07:00
Akihiro Suda bcd9f81b0d dockershim: ignore GetCheckpoint error when running in userns
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-04-07 09:37:47 -07:00
Akihiro Suda 3b9b6bae8f kubelet/cm: ignore sysctl error when running in userns
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-04-07 09:37:47 -07:00
Kubernetes Prow Robot 1a24040447
Merge pull request #74781 from liggitt/http2-watch
kubelet watch-manager test, restore watch-based manager default
2019-03-16 12:52:56 -07:00
Kubernetes Prow Robot 3512757882
Merge pull request #75416 from tallclair/local-redirects
Don't follow non-local redirects from HTTP probes
2019-03-16 09:14:57 -07:00
Kubernetes Prow Robot 0f6196878d
Merge pull request #75367 from feiskyer/fix-dockershim-panic
Fix panic when removing docker images
2019-03-16 01:08:56 -07:00
Tim Allclair e6ea4f0538 Don't follow non-local redirects for http probes 2019-03-15 11:04:30 -07:00
Kubernetes Prow Robot b3ec6c17f1
Merge pull request #75144 from Huang-Wei/followup-74222
kubelet: updated logic of verifying a static critical pod
2019-03-14 14:41:00 -07:00
Pengfei Ni a304297c99 Fix panic when removing docker images 2019-03-14 18:53:02 +08:00
Jordan Liggitt f2a0c0342c Revert "Revert kubelet to default to ttl cache secret/configmap behavior"
This reverts commit cd1c9f9018.
2019-03-13 15:12:26 -07:00
Wei Huang d67e7fd47f
kubelet: updated logic of verifying a static critical pod
- check if a pod is static by its static pod info
- meanwhile, check if a pod is critical by its corresponding mirror pod info
2019-03-12 23:40:20 -07:00
Kubernetes Prow Robot 243e740885
Merge pull request #74809 from oxddr/secrets-and-maps
Fix secret/configmap management for terminated pods
2019-03-11 16:42:36 -07:00
Lantao Liu 0ac651bfc3 Include pod logs in the pod ephemeral storage.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-08 16:42:14 -08:00
Lantao Liu f14c6c95d6 New pod log directory /var/log/pods/NAMESPACE_NAME_UID.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-08 16:42:14 -08:00
Hemant Kumar 89d1de9eb9 Rename ExandFS to NodeExpand
Handle resize error in online resizing
Use NodeExpandable plugin to mark volumes that require node expansion
2019-03-08 09:21:44 -05:00
Kubernetes Prow Robot 535064773a
Merge pull request #73946 from dashpole/prometheus_core_metrics
Add kubelet resource metrics v1alpha1 endpoint
2019-03-07 22:43:28 -08:00
Kubernetes Prow Robot 183e6cc190
Merge pull request #74433 from tallclair/runtimeclass-internal
Migrate RuntimeClass from a CRD to an internal API
2019-03-07 21:19:30 -08:00
Kubernetes Prow Robot ad27abde62
Merge pull request #74835 from davidz627/feature/adcFallback
Add logic for initializing CSINode on Node startup for CSI Migration [Replaces #70909]
2019-03-07 18:39:25 -08:00
David Zhu 41b3579345 Address review comments 2019-03-07 17:17:09 -08:00
Kubernetes Prow Robot a6d8dbcaef
Merge pull request #74913 from yastij/explicit-restart-policy
explicit the restartPolicy on the dockershim
2019-03-07 16:12:39 -08:00
Kubernetes Prow Robot fbc5150c7d
Merge pull request #74788 from feiskyer/windows-network-stats
Add network stats for Windows nodes and containers
2019-03-07 16:12:24 -08:00
David Ashpole 6051664c0f add kubelet prometheus resource metrics endpoint 2019-03-07 15:39:37 -08:00
David Zhu 34d9ee5b9b Add CSINode initialization for CSIMigration on node startup before pod ready 2019-03-07 14:47:38 -08:00
Tim Allclair 428e9fa329 generated files 2019-03-07 11:57:12 -08:00
Tim Allclair 222988bdda Migrate to internal node.k8s.io client 2019-03-07 11:57:12 -08:00
Wei Huang c5a96b63f4
Revert "kubelet: return mirror pod in GetActivePods()"
This reverts commit c0c93f4a52.
2019-03-07 11:22:27 -08:00
Janek Łukaszewicz 52913c59d1 Test with 2 pods, to make it more reliable. 2019-03-07 17:02:51 +01:00
Kubernetes Prow Robot 8dd60281ff
Merge pull request #74653 from cofyc/fix74650-CheckVolumeExistenceOperation
Distinguish between volume path and mount path
2019-03-06 20:35:40 -08:00
Kubernetes Prow Robot 752d18d2b0
Merge pull request #74510 from SataQiu/fix-golint-2019022502
Fix some golint failures for pkg/kubelet/apis/...
2019-03-06 17:59:25 -08:00
Pengfei Ni d690037571 Run hack/update-bazel.sh 2019-03-07 09:55:58 +08:00
Pengfei Ni 1220025e86 Add network stats for node interfaces 2019-03-07 09:55:39 +08:00
Pengfei Ni 84a7f48cf7 Add network stats for Windows containers 2019-03-07 09:54:50 +08:00