Michael Taufen
24bab4c20f
move KubeletConfiguration out of componentconfig API group
2017-08-15 08:12:42 -07:00
ymqytw
3dfc8bf7f3
update import
2017-07-20 11:03:49 -07: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
Casey Callendrello
e4eaad3d24
kubelet/networking: add support for cni ConfigLists, pass hostport parameters
...
** reason for this change **
CNI has recently introduced a new configuration list feature. This
allows for plugin chaining. It also supports varied plugin versions.
2017-04-18 14:23:57 +02:00
Minhan Xia
947e0e1bf5
pass pod annotation to SetUpPod
2017-02-27 10:09:45 -08:00
Minhan Xia
bd05e1af2b
add portmapping getter into network host
2017-02-08 09:35:04 -08:00
deads2k
5a8f075197
move authoritative client-go utils out of pkg
2017-01-24 08:59:18 -05:00
deads2k
ee6752ef20
find and replace
2017-01-20 08:04:53 -05:00
NickrenREN
a12dea14e0
fix redundant alias clientset
2017-01-12 10:21:05 +08:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Chao Xu
5e1adf91df
cmd/kubelet
2016-11-23 15:53:09 -08:00
bprashanth
11638e9ee1
Unittests
2016-10-31 13:05:20 -07:00
Bryan Boreham
db5fa5297d
Fix unit tests and known flags list
2016-09-13 20:42:52 +00:00
Justin Santa Barbara
902ba4e249
Add network-plugin-mtu option for MTU selection
...
MTU selection is difficult, and if there is a transport such as IPSEC in
use may be impossible. So we allow specification of the MTU with the
network-plugin-mtu flag, and we pass this down into the network
provider.
Currently implemented by kubenet.
2016-08-23 01:50:58 -04:00
Minhan Xia
85b2f9047a
update godep to pull from containernetworking/cni
2016-08-19 13:31:50 -07:00
Euan Kemp
6aed2a0b1d
network/cni: Search vendorDir
for lo plugin too
...
Though frankly the vendor dir thing should probably be removed in a
followup PR.
2016-07-22 14:40:44 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Dan Williams
9865ac325c
kubelet/cni: make cni plugin runtime agnostic
...
Use the generic runtime method to get the netns path. Also
move reading the container IP address into cni (based off kubenet)
instead of having it in the Docker manager code. Both old and new
methods use nsenter and /sbin/ip and should be functionally
equivalent.
2016-06-22 11:36:10 -05:00
Minhan Xia
1276a91638
kubenet masqurade for outbound traffic
2016-06-09 18:43:34 -07:00
Yifan Gu
9d5bcf4251
rkt: Add tests for GarbageCollect().
2016-05-13 15:13:52 -07:00
Dan Williams
b749902b42
kubenet: set bridge promiscuous mode based on hairpinMode
...
Closes: https://github.com/kubernetes/kubernetes/issues/23657
Closes: https://github.com/kubernetes/kubernetes/issues/20475
2016-05-12 10:02:33 -05:00
goltermann
3fa6c6f6d9
Enable vet
2016-04-20 09:48:24 -07:00
k8s-merge-robot
8990897ce6
Merge pull request #23940 from freehan/netinterface
...
Automatic merge from submit-queue
switch to use ContainerID instead of DockerID in network plugin interface
fix : #15663
2016-04-17 01:12:51 -07:00
Random-Liu
da07fa9dd5
Refactor InspectContainer.
2016-04-14 17:05:46 -07:00
Minhan Xia
3c58d1ffd3
switch to use ContainerID instead of DockerID in network plugin interface
2016-04-06 16:04:52 -07:00
Lucas Käldström
c6172e58cf
Make kubelet use an arch-specific pause image depending on GOARCH
2016-03-25 23:45:59 +02:00
Tim St. Clair
7b6d843309
Move test-only files to test-only packages
2016-03-01 09:11:32 -08:00
Chao Xu
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
Chao Xu
cddd7b56a4
replace client with clientset in kubelet and other places
2016-02-02 20:28:45 -08:00
Fabio Yeon
7205a160ac
Remove all instances of "/tmp" from unit tests and replace with a common
...
tmp directory creator. Exception is documented.
2016-01-27 16:11:22 -08:00
Clayton Coleman
791d160b42
Split the Kubelet flag options and struct
...
Reduces the size of the app/server.go file and ensures that the flags
and their defaults are clearly separated.
2016-01-06 21:23:06 -05:00
Lantao Liu
90ac508524
Cleanup fake_docker_client.go and manager_test.go
2015-11-19 19:03:35 -08:00
k8s-merge-robot
f5da178738
Merge pull request #15275 from timstclair/liveness-workers
...
Auto commit by PR queue bot
2015-10-20 06:39:40 -07:00
k8s-merge-robot
c4779fbc4f
Merge pull request #15475 from jijun2/fix-cni_test
...
Auto commit by PR queue bot
2015-10-20 01:30:24 -07:00
Tim St. Clair
a263c77b65
Refactor liveness probing
...
This commit builds on previous work and creates an independent
worker for every liveness probe. Liveness probes behave largely the same
as readiness probes, so much of the code is shared by introducing a
probeType paramater to distinguish the type when it matters. The
circular dependency between the runtime and the prober is broken by
exposing a shared liveness ResultsManager, owned by the
kubelet. Finally, an Updates channel is introduced to the ResultsManager
so the kubelet can react to unhealthy containers immediately.
2015-10-19 15:15:59 -07:00
k8s-merge-robot
09a3871506
Merge pull request #15755 from zhengguoyong/del_capatical_packagename_for_cadvisorApi2
...
Auto commit by PR queue bot
2015-10-18 04:04:11 -07:00
k8s-merge-robot
668cb5de48
Merge pull request #14983 from dcbw/cni-fixes
...
Auto commit by PR queue bot
2015-10-16 05:28:12 -07:00
eulerzgy
31c09bdcb8
Del capatical local packagename for cadvisorApi
2015-10-16 11:03:50 +08:00
jijun2
bf6e8cbff7
test: using ioutil.TempDir in unit tests per #15176
...
update
update mode
delete /tmp
update
use ioutil.TempDir instead of static tmp dir
use ioutil.TempDir instead of static tmp dir
2015-10-16 09:21:46 +08:00
Dan Williams
823242d9a8
Add some more debugging to the CNI testcase
...
Let's attempt to find out why it's failing some small percentage of the time.
2015-10-07 17:24:44 -05:00
Sam Abed
fdf712cd84
back-off image pull on failure
...
Signed-off-by: Sam Abed <samabed@gmail.com>
2015-10-07 21:12:42 +11:00
Tim St. Clair
52ece0c34e
Refactor readiness probing
...
Each container with a readiness has an individual go-routine which
handles periodic probing for that container. The results are cached, and
written to the status.Manager in the pod sync path.
2015-10-02 15:37:10 -07:00
Rajat Chopra
01dd813ce3
CNI network plugin
...
Add an experimental network plugin implementation named "cni" that
uses the Container Networking Interface (CNI) specification for
configuring networking for pods.
https://github.com/appc/cni/blob/master/SPEC.md
2015-09-25 22:30:37 -05:00
Brian Grant
bd3a3f1443
Revert "cni network plugin"
2015-09-24 23:24:21 -07:00
Rajat Chopra
4dc7485d94
cni network plugin
2015-09-22 11:16:41 -07:00