Jordan Liggitt
2498ca7606
drop VerifyFeatureGatesUnchanged
2018-11-21 11:51:33 -05:00
Jordan Liggitt
733dd9dfd7
Add tests to ensure feature gate changes don't escape kubelet/scheduler packages
2018-11-16 10:52: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
Benjamin Elder
f828c6f662
hack/update-bazel.sh
2018-09-24 12:03:24 -07:00
Tim Allclair
63f3bc1b7e
Implement RuntimeClass support for the Kubelet & CRI
2018-09-04 13:45:11 -07:00
Sandor Szücs
588d2808b7
fix #51135 make CFS quota period configurable, adds a cli flag and config option to kubelet to be able to set cpu.cfs_period and defaults to 100ms as before.
...
It requires to enable feature gate CustomCPUCFSQuotaPeriod.
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
2018-09-01 20:19:59 +02:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
Jeff Grafton
a725660640
Update to gazelle 0.12.0 and run hack/update-bazel.sh
2018-06-22 16:22:18 -07:00
Jan Chaloupka
3cc15363bc
Run make update
2018-06-06 00:12:40 +02:00
Pengfei Ni
b0a49e1970
Update unit tests and bazel files
2018-02-28 09:56:46 +08:00
Kubernetes Submit Queue
30a7bad884
Merge pull request #59125 from verb/pid-annotation
...
Automatic merge from submit-queue (batch tested with PRs 60148, 60022, 59125, 60068, 60154). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Adding support for per-pod process namespace sharing in kubelet
**What this PR does / why we need it**: This enables process namespace sharing between containers in a pod as described in the [Shared PID Namespace](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node/pod-pid-namespace.md#container-runtime-interface-changes ) proposal but leaves it disconnected pending merge of #58716 .
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
WIP #1615
**Special notes for your reviewer**:
**Release note**:
```release-note
NONE
```
2018-02-21 18:09:43 -08:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
Lee Verberne
8835f54480
kubelet: add support for pod PID namespace sharing
...
This adds the logic for sending a NamespaceMode_POD to the runtime, but
leaves it disconnected pending https://issues.k8s.io/58716 .
2018-02-08 16:58:07 +01:00
Lee Verberne
e10042d22f
Increment CRI version from v1alpha1 to v1alpha2
...
This also incorporates the version string into the package name so
that incompatibile versions will fail to connect.
Arbitrary choices:
- The proto3 package name is runtime.v1alpha2. The proto compiler
normally translates this to a go package of "runtime_v1alpha2", but
I renamed it to "v1alpha2" for consistency with existing packages.
- kubelet/apis/cri is used as "internalapi". I left it alone and put the
public "runtimeapi" in kubelet/apis/cri/runtime.
2018-02-07 09:06:26 +01:00
Lee Verberne
ba6f31a6c6
Add a container type to the runtime labels
...
This is part of the "Debug Containers" feature and is hidden behind
a feature gate. Debug containers have no stored spec, so this new
runtime label allows the kubelet to treat containers differently
without relying on spec.
2018-01-23 13:16:36 +01:00
Clayton Coleman
5210e6fefd
Remove dependency on v1 API in base credential provider
...
Credential provider is useful without the v1 API, move the only
dependency out so that we can more easily move credential provider to a
utility library in the future (other callers besides Kubelet may need to
load pull secrets like Docker).
2018-01-05 17:52:06 -05: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
Pengfei Ni
760465eef8
Run hack/update-bazel.sh
2017-11-07 10:07:33 +08:00
Dr. Stefan Schimanski
cad0364e73
Update bazel
2017-10-18 17:24:04 +02:00
Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00
Connor Doyle
ec706216e6
Un-revert "CPU manager wiring and `none` policy"
...
This reverts commit 8d2832021a
.
2017-09-04 07:24:59 -07:00
Shyam JVS
8d2832021a
Revert "CPU manager wiring and `none` policy"
2017-09-01 18:17:36 +02:00
Connor Doyle
7c6e31617d
CPU Manager initialization and lifecycle calls.
2017-08-30 08:50:41 -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
dhilipkumars
25bc76dae4
Do not try run preStop hook when the gracePeriod is 0
...
Add UT for lifeCycle hooks
2017-08-03 07:57:21 +05:30
Dr. Stefan Schimanski
5925a0a1df
Move pkg/api/v1/ref -> client-go/tools/reference
2017-07-18 22:45:43 +02:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Derek Carr
36619fa217
surface rpc error desc only in events
2017-06-13 23:42:15 -04:00
Pengfei Ni
22e99504d7
Update CRI references
2017-06-09 10:16:40 +08:00
enxebre
14be65c74b
Improving test coverage for kubelet/kuberuntime.
2017-06-01 09:43:15 +02:00
Pengfei Ni
8bc6e59278
kuberuntime: set sysctls for sandbox config
2017-05-15 12:52:38 +08:00
Michael Taufen
cbad320205
Reorganize kubelet tree so apis can be independently versioned
2017-05-12 10:02:33 -07:00
Yu-Ju Hong
fccf34ccb6
Remove various references of dockertools
...
Also update the bazel files.
2017-05-11 10:01:41 -07:00
Yu-Ju Hong
cf3635c876
Update bazel BUID files
2017-05-05 11:48:08 -07:00
Yu-Ju Hong
78b2c3b4c2
kuberuntime: remove the unused network plugin
...
Network plugin is completely handled by the container runtimes. Remove
this unused field in the kuberuntime manager.
2017-05-03 16:21:46 -07:00
Pengfei Ni
ac76766a92
CRI: move apparmor annotations to container security context
2017-05-01 20:55:16 +08:00
Chao Xu
4f9591b1de
move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod
2017-04-17 11:38:11 -07:00
Mike Danese
a05c3c0efd
autogenerated
2017-04-14 10:40:57 -07:00
Random-Liu
0deec63d1a
Unify fake runtime helper in kuberuntime, rkt and dockertools.
2017-02-27 01:43:37 -08:00
Random-Liu
8380148d48
Remove extra operations when generating pod sandbox configuration.
2017-02-24 15:06:03 -08:00
deads2k
8a12000402
move client/record
2017-01-31 19:14:13 -05:00
deads2k
c9a008dff3
move util/intstr to apimachinery
2017-01-30 12:46:59 -05:00
deads2k
5a8f075197
move authoritative client-go utils out of pkg
2017-01-24 08:59:18 -05:00
Clayton Coleman
2bb2604f0b
Limit the size of the termination log and allow log input
...
Enforce the following limits:
12kb for total message length in container status
4kb for the termination message path file
2kb or 80 lines (whichever is shorter) from the log on error
Fallback to log output if the user requests it.
2017-01-23 12:26:38 -05:00
deads2k
c47717134b
move utils used in restclient to client-go
2017-01-19 07:55:14 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00