OpenShift Merge Robot
e13c535019
Merge pull request #13 from dougbtv/release-v3-may03-02
...
[bugfix] Skip clearing the network status annotation if the pod sandbox is not found
2019-05-07 14:30:52 +02:00
dougbtv
5b6d4320a0
[bugfix] Skipped clearing the network status annotation if the pod sandbox is not found
2019-05-03 10:13:39 -04:00
OpenShift Merge Robot
dd8e7c3abd
Merge pull request #12 from openshift/fix-cgo
...
add CGO_ENABLED=0 to build
2019-04-17 11:49:42 -07:00
Doug Smith
0390c1720c
adds -tags no_openssl
2019-04-17 12:23:11 -04:00
Doug Smith
e691b1fa46
add CGO_ENABLED=0 to build
2019-04-17 11:44:49 -04:00
OpenShift Merge Robot
a805f63a04
Merge pull request #10 from dougbtv/release-v3-mar26
...
fix missing deviceID in NetConfList
2019-03-27 06:12:01 -07:00
Abdul Halim
b6c8dfbffb
fix missing deviceID in NetConfList
...
This patch fixes the issue described in #289 where deviceID for
delegate plugin was not adding properly if the plugin conf inside
NetConfList.
Change-Id: I1d221f6b0e60a5b888b8e823611dfe12635e6897
Signed-off-by: Abdul Halim <abdul.halim@intel.com>
2019-03-26 15:04:54 -04:00
OpenShift Merge Robot
93fe981913
Merge pull request #9 from zshi-redhat/kubelet-client
...
add kubelet client for Pod resource info
2019-03-26 06:39:19 -07:00
Abdul Halim
d2a02a6e5d
add kubelet client for Pod resource info
...
This change introduces kubelet client to get allocated device
information of a Pod from newly added Kubelet grpc service.
For more information please see:
[kubernetes/kubernetes#70508 ](https://github.com/kubernetes/kubernetes/pull/70508 )
Change-Id: I11e58ccdd52662601f445fa24c7d55c225441efc
Signed-off-by: Abdul Halim <abdul.halim@intel.com>
(cherry picked from commit d3c92b4aa2
)
2019-03-24 12:33:04 +08:00
Abdul Halim
877f00be30
update vendor dependencies for kubelet client
...
adding new imported package dependencies in vendor which is required
for Kubelet Pod Resource api client.
Change-Id: If6c74598e12af5f8659df69371e72dd064823f49
(cherry picked from commit 8ee7eb335e
)
2019-03-24 12:32:30 +08:00
OpenShift Merge Robot
02913fb96f
Merge pull request #8 from dougbtv/release-v3-mar-20
...
Release v3 updates - includes caching PR
2019-03-20 19:40:31 -07:00
maximshd
aff54bb1f7
Properly initialize kubeClient in SetNetworkStatus method ( #283 )
...
* Properly initialize kubeClient in SetNetworkStatus method
* Fix typo
* Update error message
* Extend logging for setNetworkStatus function
2019-03-20 16:20:46 -04:00
Tomofumi Hayashi
57f1d7afc7
Caches all pod delegates json for pods deletion without k8s info
...
This fixes #243 with following changes:
+ Optimize to fetch Pod from k8s client
+ Change to use cache always in DEL.
+ If failed to fetch the pod info from k8s clinet in deletion,
use cached delegates as emergency bailout
+ Add test cases for cache
fixed conflicts in multus/multus.go & multus/multus_test.go
2019-03-20 16:20:10 -04:00
knight
363b7fbc06
refactor k8sclient: rename some val
2019-03-20 16:11:38 -04:00
OpenShift Merge Robot
7094c9675f
Merge pull request #7 from dougbtv/release-v3-mar7
...
Release v3 updates
2019-03-11 08:33:13 -07:00
Doug Smith
4aecbd2133
[entrypoint] Add options to specify logfile & loglevel in entrypoint ( #280 )
2019-03-07 11:08:20 -05:00
Tomofumi Hayashi
1e4fe4f837
Add 'verbose' option to logging minimum information ( #275 )
...
This change address #274 to add 'verbose option which outputs
minimum information (for usual runs with a bit information than
'error').
2019-03-07 11:06:49 -05:00
Peng Liu
11fe266139
Generate Multus config file regardless
2019-03-07 11:06:18 -05:00
Tomofumi Hayashi
68c5d0dd70
Change ClusterNetwork/DefaultNetwork namespace to MultusNamespace
...
Fix #261 .
2019-03-07 11:06:13 -05:00
OpenShift Merge Robot
f47677d637
Merge pull request #5 from openshift/release-v3
...
Release v3
2019-02-28 09:23:05 -08:00
OpenShift Merge Robot
8b806df35c
Merge pull request #6 from dougbtv/owners-file
...
Add OWNERS file
2019-02-28 00:39:35 +01:00
dougbtv
faae208bd7
Add OWNERS file
2019-02-27 14:02:25 -05:00
dougbtv
61f9e08863
Allows cmdDel to finish if netns doesn't exist, omits deferred netns.Close() in such a case
2019-02-22 09:07:35 -05:00
Doug Smith
3a489263ea
Changes configuration for kube api to use gRPC
2019-02-22 09:07:16 -05:00
Dan Williams
3a9cf4a9a2
multus: simplify teardown on add error and clarify error message
...
Signed-off-by: Dan Williams <dcbw@redhat.com>
2019-02-22 09:07:03 -05:00
Doug Smith
b622593956
Merge pull request #4 from openshift/noop
...
[noop]
2019-02-19 09:57:08 -05:00
dougbtv
2ecb1a01a5
[noop]
2019-02-19 09:55:52 -05:00
Tomofumi Hayashi
73e10fb999
Add multusNamespace/systemNamespaces config
...
This change provides new configuration parameters, multusNamespace
and systemNamespaces for flexible namespace management.
The change addresses issue #252 and issue #253 .
2019-02-19 09:53:17 -05:00
dougbtv
972a7d18c6
[entrypoint] Updates entrypoint for atomic move of binary (for cleaner upgrade)
2019-01-22 10:46:24 -05:00
dougbtv
f276c023f8
[entrypoint] Adds option for namespaceIsolation in entrypoint
2019-01-15 13:48:17 -05:00
dougbtv
7174b9ac47
[dockerfile] Updates Dockerfile for OpenShift-style build
2019-01-07 11:39:34 -05:00
Mathieu Rohon
a51309c532
[dependency] Add portmap capability support (Other changes were dependent on changes made in this commit)
...
Signed-off-by: Mathieu Rohon <mathieu.rohon@orange.com>
2018-12-20 13:07:32 -05:00
dougbtv
8d2445bb4c
[feature] Adds a namespace isolation security feature
2018-12-20 10:50:15 -05:00
Michal Rostecki
0a59253609
k8sclient: Add missing error check
...
Before this change, error returned by `libcni.ConfFiles` was
silently ignored.
Signed-off-by: Michal Rostecki <mrostecki@suse.de>
2018-12-19 16:04:54 -05:00
dougbtv
570a81d641
[dockerfile] Adds Dockerfile.rhel for OpenShift build
2018-12-19 16:04:54 -05:00
Tomofumi Hayashi
4ad64094b3
Fix go vet issue.
2018-12-19 16:04:54 -05:00
Tomofumi Hayashi
3e2c4b1528
Change the namespace to 'kube-system'
2018-12-19 16:04:54 -05:00
Tomofumi Hayashi
2e070bd4a5
clusterNetwork/defaultNetworks and namespace spec fixed
...
This fix is to add declaration about clusterNetwork/defaultNetwork
net-attach-def is in 'default' namesspace. In addition, this code
changes to skip defaultNetwork in case of 'kube-system' namespace
as well (#202 ).
2018-12-19 16:04:54 -05:00
Tomofumi Hayashi
dd8492c44c
Fix Docker build issue around golang.
2018-12-19 16:04:53 -05:00
Michal Rostecki
09503c3dd3
Add .gitignore file
...
Prevent tracking of binary outputs, GOPATH and test outputs.
Signed-off-by: Michal Rostecki <mrostecki@suse.de>
2018-12-19 16:04:53 -05:00
dougbtv
1ee63551fa
[bugfix] Delete all delegates instead of breaking out during deletion loop
2018-12-19 16:04:53 -05:00
Peng Liu
0e6cc2292a
Change pod annotation name to 'v1.multus-cni.io/default-network'
2018-12-19 16:04:53 -05:00
Peng Liu
8c021bd46f
Add more debug message
2018-12-19 16:04:53 -05:00
Peng Liu
50dfdb7036
Specify Pod default network in Annotations
...
Signed-off-by: Peng Liu <pliu@redhat.com>
2018-12-19 16:04:53 -05:00
Tomofumi Hayashi
5b5e5e5386
Add description how to use CRD in non-default namespaces
2018-12-19 16:04:53 -05:00
dougbtv
510c803d2c
[docs] Updates to fix typos and extend information about CNI configurations generally per review
2018-12-19 16:04:53 -05:00
dougbtv
99dbdd9f57
[docs] Adds additional quickstart.md specific guide, some updates to usage guide
2018-12-19 16:04:53 -05:00
Tomofumi Hayashi
61801e07d4
Add comments in case of daemonset.
2018-12-19 16:04:53 -05:00
Tomofumi Hayashi
52f6892ba1
Add more paragraph.
2018-12-19 16:04:53 -05:00
Tomofumi Hayashi
62b9dc51c1
Add "NOTE:" and change "NOTE" from "Note"
2018-12-19 16:04:53 -05:00