Doug Smith
68a9593f84
Merge pull request #897 from s1061123/fix/add-disclaimers
...
Update deployment yaml
2022-08-22 13:35:21 -04:00
Tomofumi Hayashi
95c4d0c1c5
Update deployment yaml
...
This change adds note section in deployment yaml to explicitly
mention the scope of this yaml.
2022-08-23 01:19:24 +09:00
Doug Smith
5498080119
Merge pull request #893 from k8snetworkplumbingwg/feature/multus-4.0
...
Feature/multus 4.0
2022-08-18 16:48:02 -04:00
Tomofumi Hayashi
3d9cec4ec9
Merge remote-tracking branch 'origin/master' into feature/multus-4.0
2022-08-19 00:07:30 +09:00
Tomofumi Hayashi
505ab4567c
Add delegate API in multus-daemon ( #890 )
...
This changes introduce delegate API function in multus-daemon.
This API will be consumed from other programs for hot-plug
interface into running pod. This change also cleanups server
code to split into client code and server code to easy to import
from other golang code.
2022-08-10 00:45:23 +09:00
Doug Smith
8dee74d7b9
Merge pull request #870 from s1061123/dev/doc-modified
...
Add 4.0 document
2022-08-01 11:19:02 -04:00
Doug Smith
fba6d66720
Merge pull request #886 from s1061123/update-libcni
...
Bump libcni to fetch the bugfix
2022-07-29 11:06:14 -04:00
Tomofumi Hayashi
7f7bb354c5
Bump libcni to fetch the bugfix
...
This change introduces https://github.com/containernetworking/cni/pull/904
to fix the issue.
2022-07-29 20:31:57 +09:00
Doug Smith
f4c0adf54c
Merge pull request #881 from chrisplo/detect-python3
...
Detect python3
2022-07-22 09:48:40 -04:00
Chris Plock
ac6757b9cc
Detect python3
...
fixes https://github.com/k8snetworkplumbingwg/multus-cni/issues/880
2022-07-15 15:13:27 -07:00
Doug Smith
70c970cd6e
Merge pull request #878 from tomkukral/print-kubeconfig
...
write output file for generated kubeconfig
2022-07-12 08:39:17 -04:00
Doug Smith
3deb079546
Merge pull request #876 from s1061123/dev/update-golang
...
Update golang version to 1.18.x
2022-07-11 16:11:44 -04:00
Doug Smith
9cb6fb57bf
Merge pull request #877 from s1061123/dev/refine-build
...
Refine build-go.sh and update 'version' output
2022-07-11 16:10:31 -04:00
Tomáš Kukrál
95adff55b0
write output file for generated kubeconfig
...
This change will make debugging easier in cases when non-default
location is used and user forgot to mount new directory.
2022-07-08 14:02:51 +02:00
Tomofumi Hayashi
99dd6678d5
Refine build-go.sh and update 'version' output
2022-07-07 01:44:13 +09:00
Tomofumi Hayashi
6f5fdf64c7
Update golang version to 1.18.x
2022-07-07 00:31:25 +09:00
Tomofumi Hayashi
9d67fbd520
Add 4.0 document
2022-06-27 22:12:23 +09:00
Doug Smith
ca8c9c5791
Merge pull request #864 from s1061123/default-route-pointer
...
Use *[]net.IP for 'default-route' network selection element.
2022-06-21 15:47:09 -04:00
Doug Smith
18a660ebc7
Merge pull request #867 from mmirecki/downwardapi
...
Fix missing device-info in networks-status annotation for chained plugins
2022-06-21 14:38:29 -04:00
mmirecki
358f09bfe2
Merge remote-tracking branch 'upstream/master' into downwardapi
2022-06-21 20:14:34 +02:00
Tomofumi Hayashi
107624ccff
Use *[]net.IP for 'default-route' network selection element.
2022-06-22 02:12:08 +09:00
Doug Smith
13eb83a01c
Merge pull request #868 from s1061123/fix/revive-err
...
Fix revive error
2022-06-21 11:26:44 -04:00
Tomofumi Hayashi
dc57189cf9
Fix revive error
2022-06-21 23:39:18 +09:00
Doug Smith
3cda380ad1
Merge pull request #865 from s1061123/fix/m40-revive-err
...
Fix revive's error
2022-06-21 10:24:15 -04:00
mmirecki
2bf8dae9a8
Fix missing device-info in networks-status annotation for chained plugins
2022-06-21 14:47:04 +02:00
Tomofumi Hayashi
2993671acd
Fix revive's error
2022-06-21 00:58:24 +09:00
Tomofumi Hayashi
a735987501
Merge remote-tracking branch 'origin/master' into feature/multus-4.0
2022-06-14 18:04:33 +09:00
Doug Smith
8bbb594dad
Merge pull request #862 from s1061123/fix/cmddel-nostatus-update
...
Skip status update in CmdDel if getPod is failed
2022-06-13 13:22:17 -04:00
Tomofumi Hayashi
fcc8e44f14
Skip status update in CmdDel if getPod is failed
...
This change skips to update pod's network-status annotation
when getPod is failed at the beginning of CmdDel. If getPod is
failed, K8s api gets stucked in many cases, hence pod update
might be failed in most cases.
2022-06-14 02:14:43 +09:00
Doug Smith
3572647e5b
Merge pull request #860 from s1061123/dev/add-ut
...
Add unit-test to increase test coverage
2022-06-10 10:39:20 -04:00
Doug Smith
2eb5d2f653
Merge pull request #857 from s1061123/dev/metrics
...
Add metrics support
2022-06-10 10:38:34 -04:00
疯狂的小企鹅
be56f8dc30
Fixed that in.Delegates may remain in the CmdDel ( #859 )
...
Co-authored-by: jinda.ljd <jinda.ljd@alibaba-inc.com>
2022-06-08 21:03:14 +09:00
Tomofumi Hayashi
580b72a5b2
Add unit-test to increase test coverage
2022-06-08 13:49:17 +09:00
Tomofumi Hayashi
a77d3cbedb
Merge remote-tracking branch 'origin/master' into feature/multus-4.0
2022-06-06 23:37:59 +09:00
Miguel Duarte Barroso
d2a4b832f2
config, logging: correct the logging parameters ( #856 )
...
The logging parameters were listing using uppercase, which is wrong.
According to multus configuration, they should be in camelCase - [0] and [1].
[0] - 779170a48e/pkg/types/types.go (L45)
[1] - 779170a48e/pkg/types/types.go (L46)
2022-06-06 22:33:05 +09:00
Tomofumi Hayashi
9f3e6b0da0
Add metrics support
...
This change introduces prometheus metric exporter support for
multus-daemon, thick plugin.
2022-06-04 00:45:37 +09:00
Tomofumi Hayashi
df903a757e
Merge remote-tracking branch 'origin/master' into feature/multus-4.0
2022-06-02 18:04:49 +09:00
Nikhil Simha
779170a48e
Added hyperlink for logging ( #851 )
...
* Added hyperlink for logging
This may make it easier for users to find info on logging parameters since there isn't a dedicated docs page for it.
* Fixed hyperlink
Linked to proper section
2022-05-26 09:33:22 -04:00
Doug Smith
5ee0274b5b
Bumps net-attach-def client library to v1.1.1 ( #846 )
...
This accounts for CNI v1.0 formatted IP address information (no longer requires version field)
2022-05-12 22:58:23 +09:00
Doug Smith
42a2642852
Merge pull request #844 from danielmellado/fix-images-docs
...
Fix wrong location for daemonset in readme
2022-05-10 11:42:14 -04:00
Daniel Mellado
b5323e4144
Fix wrong location for daemonset in readme
...
This PR fixes an outdated reference in the docs where
multus-daemonset.yml was expected to be found under the images folder.
2022-05-10 17:06:47 +02:00
Tomofumi Hayashi
485642c18f
Merge remote-tracking branch 'origin/master' into feature/multus-4.0
2022-05-07 00:36:30 +09:00
Doug Smith
dcbc215b93
The cachefile name should be the delegate configuration name ( #841 )
...
It was previously using the net-attach-def name, which doesn't align with the cache file. Causing default-route selection to not succeed.
2022-05-07 00:06:37 +09:00
Doug Smith
5ede36fb43
Merge pull request #839 from s1061123/dev/refine-k8s-lib
...
Refine Kubernetes APIs
2022-05-04 13:27:00 -04:00
Tomofumi Hayashi
16bd359bc0
Update k8s api to v1.22.8
2022-04-28 22:55:55 +09:00
Tomofumi Hayashi
c6fa047212
Remove k8s.io/kubernetes dependency from multus
...
Fix #675
2022-04-26 18:22:36 +09:00
Tomofumi Hayashi
59415ad0d6
Merge remote-tracking branch 'origin/master' into feature/multus-4.0
2022-04-26 16:46:16 +09:00
Dan Williams
ecc1482d50
types: fix usage of strings.Split() for parsing CNI_ARGS ( #836 )
...
* types: fix usage of strings.Split() for parsing CNI_ARGS
strings.Split() returns a slice, in this case with two elements of
the key and value. As such we shouldn't range over the slice when
the code is expecting a 2-element slice of key/value.
Otherwise we get errors for valid CNI_ARGS like:
2022-04-22T11:53:54Z [error] CreateCNIRuntimeConf: CNI_ARGS K8S_POD_NAMESPACE=openshift-etcd K8S_POD_NAMESPACE 17 is not recognized as CNI arg, skipped
2022-04-22T11:53:54Z [error] CreateCNIRuntimeConf: CNI_ARGS K8S_POD_NAMESPACE=openshift-etcd openshift-etcd 14 is not recognized as CNI arg, skipped
Fixes: d7d2a99ab5
("Replace setenv with runtimeConfig set")
Signed-off-by: Dan Williams <dcbw@redhat.com>
* types/conf: fix handling of CNI_ARGS additions to rt.Args
We want to set the CNI_ARGS value in rt.Args if the existing value
is empty, not if the key doesn't exist yet. Since the rt.Args array
is pre-created with the K8S args keys, empty values of those keys
couldn't be overwritten with the previous scheme that just checked
if the key existed.
If the CNI_ARGS key wasn't found in rt.Args then add it; previously
a typo ("isExists != false") prevented that with inverted logic.
Signed-off-by: Dan Williams <dcbw@redhat.com>
2022-04-26 00:13:09 +09:00
Doug Smith
b34486308c
Merge pull request #834 from s1061123/fix/sriov
...
Fix sr-iov support
2022-04-25 09:51:23 -04:00
Nikhil Simha
dd15abc9b1
Added a static pod e2e test. ( #835 )
...
* Added bash e2e test for static pods. Checks for net1 interface on pod.
Signed-off-by: nicklesimba <simha.nikhil@gmail.com>
* Enable static pod test in CI
Signed-off-by: nicklesimba <simha.nikhil@gmail.com>
* Addressed review comments
Signed-off-by: nicklesimba <simha.nikhil@gmail.com>
2022-04-22 00:35:39 +09:00