dougbtv
38d03eb816
Bumps net-attach-def client library to v1.7.2
...
This fixes the default:true for multiple interface returns from CNI for cluster default network, where all interfaces in that return were marked as default:true in the network-status
2024-09-12 11:25:26 -04:00
Doug Smith
b554c96160
Merge pull request #1334 from dougbtv/disable-dra-e2e-temporarily
...
Disabled DRA test temporarily
2024-09-12 10:55:16 -04:00
dougbtv
92ff1b1ee8
Disabled DRA test temporarily
2024-09-12 10:06:17 -04:00
Doug Smith
31e77aafab
Merge pull request #1321 from ah8ad3/update-install-readme
...
Doc: change install from file to url in readme, how-to-use
2024-08-29 09:41:23 -04:00
Ahmad Zolfaghari
dec0607a94
doc: change install from file to url in readme, how-to-use
...
Signed-off-by: Ahmad Zolfaghari <ah8ad3@gmail.com>
2024-08-09 16:32:07 +03:30
Doug Smith
3c33f6f028
Merge pull request #1314 from dougbtv/client-lib-multiple-if-cni-result
...
Updates to use CreateNetworkStauses from net-attach-def client, bump to v1.7.1
2024-08-05 07:59:36 -04:00
dougbtv
a28d1e4693
[bump] Bumps net-attach-def client lib to v1.7.1
2024-08-01 13:35:34 -04:00
Doug Smith
b9019016d7
Merge pull request #1317 from adrianchiris/pr-1302-update
...
create multus kubeconfig for in case of non auto flag.
2024-08-01 13:29:00 -04:00
abasitt
ca21ef66d1
create multus kubeconfig for incase of non auto flag.
2024-08-01 18:25:28 +03:00
Doug Smith
b11ea828e9
Merge pull request #1299 from adrianchiris/cleanup-multus-conf
...
Cleanup multus conf on exit
2024-08-01 09:37:25 -04:00
Doug Smith
fd9736b527
Merge pull request #1297 from sfackler/thick-arm
...
Build multiarch thick images
2024-08-01 09:35:58 -04:00
adrianc
6ade0ce262
update how-to-use doc
...
Signed-off-by: adrianc <adrianc@nvidia.com>
2024-08-01 16:18:55 +03:00
Doug Smith
f54693f501
Merge pull request #1313 from vasrem/chore/update-dra-e2e
...
Update DRA integration info and fix e2e test
2024-07-25 16:28:32 -04:00
dougbtv
bc6c8d5c76
Updates to use CreateNetworkStauses from net-attach-def client for multiple interfaces in CNI results
2024-07-25 16:15:50 -04:00
Vasilis Remmas
04fb8190fe
Update DRA integration info and e2e test
...
Signed-off-by: Vasilis Remmas <vremmas@nvidia.com>
2024-07-24 09:34:53 +02:00
adrianc
004f1e6a12
delete multus conf file generated by thin_entrypoint
...
- if cleanup-config-on-exit is set delete generated multus
config file on exit.
- add an option to skip watch for master cni config and kubeconfig
as cleanup-config-on-exit with multus-conf-file=auto also triggered
the watch for cases when deletion of multus config is desired but watch isnt
- setup signal handling to allow config file cleanup on exit
Signed-off-by: adrianc <adrianc@nvidia.com>
2024-07-18 18:09:23 +03:00
adrianc
334fdce751
Add signals package
...
this provides a simple way to handle incoming
os signas using context
Signed-off-by: adrianc <adrianc@nvidia.com>
2024-07-18 18:09:22 +03:00
Doug Smith
8587734174
Merge pull request #1305 from alrokayan/patch-1
...
Update how-to-use.md
2024-07-18 10:15:49 -04:00
Mohammed Alrokayan
9b4a0ce9a6
Update how-to-use.md
...
typo KUBERNETES_SERVICE_PROTOCOL
2024-06-30 15:20:10 +03:00
Steven Fackler
cd81346c1a
Add a note about multi-arch support
2024-06-25 11:39:21 -04:00
Doug Smith
41013e7580
Merge pull request #1300 from adrianchiris/fix-mount-prop-var-lib-kubelet
...
Add mountPropagation to host-var-lib-kubelet
2024-06-20 09:50:47 -04:00
adrianc
849a3cd453
Add mountPropagation to host-var-lib-kubelet
...
This is needed to avoid issues with volume unmounts
when (other) pods exit as by default kubernetes mounts
as private.
Signed-off-by: adrianc <adrianc@nvidia.com>
2024-06-18 16:25:18 +03:00
Steven Fackler
572e4e05e3
Build multiarch thick images
2024-06-12 12:46:29 -04:00
Doug Smith
aff99fccc5
Merge pull request #1284 from ader1990/patch-1
...
arm64: build image for arm v8
2024-06-06 09:57:43 -04:00
Doug Smith
4757be12ac
Merge pull request #1286 from s1061123/fix-type-scope-comment
...
Not exposed APIReadyCheckFunc to outside of package
2024-06-06 09:55:42 -04:00
Tomofumi Hayashi
d23856b784
Not exposed APIReadyCheckFunc to outside of package
...
APIReadyCheckFunc is used only in api, hence it can be decapitalize
to make its scope only in this package. This fix changes its scope.
In addition, api.APIReadyCheckFunc seems to be redundant so the name
is changed. Change the comment to fit to golang style, too.
2024-05-25 01:40:12 +09:00
Doug Smith
9f5c0239a8
Merge pull request #1078 from moshe010/dra
...
add support for Dynamic Resource Allocation
2024-05-23 11:06:17 -04:00
Doug Smith
d9f1c7c6e7
Merge pull request #1243 from adrianchiris/allow_undersocre_in_ifname
...
Change Validation of interface name
2024-05-23 09:43:12 -04:00
Adrian Vladu
bb47b55999
arm64: build image for arm v8
...
Fixes: https://github.com/k8snetworkplumbingwg/multus-cni/issues/1281
Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
2024-05-17 16:59:50 +03:00
Tomofumi Hayashi
75c0245020
Merge pull request #1279 from dougbtv/skip-api-ready-on-cni-del
...
Thick plugin should not wait for API readiness on CNI DEL
2024-05-15 22:50:50 +09:00
dougbtv
181f56f026
Thick plugin should not wait for API readiness on CNI DEL
...
This modifies the behavior on CNI DEL for the thick plugin to just check once for API readiness, as opposed to waiting.
2024-05-14 11:23:47 -04:00
Vasilis Remmas
c9d411c2c2
Add warning in docs that DRA is alpha and in preview
...
Signed-off-by: Vasilis Remmas <vremmas@nvidia.com>
2024-05-13 13:49:59 +02:00
Tomofumi Hayashi
5a2597b329
Merge pull request #1270 from ordovicia/thin-master-cni-file-flag
...
thin plugin: Handle `--multus-master-cni-file-name` flag
2024-05-10 01:12:15 +09:00
Doug Smith
c6a371b6bc
Merge pull request #1274 from s1061123/fix/gateway-nil
...
Fix CNI cache update function to prevent nil access
2024-05-09 23:22:23 +09:00
Tomofumi Hayashi
5fe124932a
Fix CNI cache update function to prevent nil access
...
deleteDefaultGWResult() may create 'routes:null' in CNI cache file
and it causes nil pointer access at addDefaultGWCacheBytes().
This code change prevents deleteDefaultGWResult() to generate
'routes:null' in cache file.
2024-05-09 04:03:00 +09:00
Tomofumi Hayashi
4457289d1d
Merge pull request #1272 from s1061123/fix-readiness
...
Fix defaultnetworkfile in unit test
2024-05-02 02:39:17 +09:00
Tomofumi Hayashi
541a8032c3
Fix defaultnetworkfile in unit test
...
rename conf param, 'defaultnetworkfile' to 'readinessindicatorfile'
2024-05-02 02:30:26 +09:00
Tomofumi Hayashi
89188023ef
Merge pull request #1266 from k8snetworkplumbingwg/dependabot/go_modules/golang.org/x/net-0.23.0
...
Bump golang.org/x/net from 0.17.0 to 0.23.0
2024-05-01 15:29:20 +09:00
Hidehito Yabuuchi
633985d82f
thin plugin: Handle --multus-master-cni-file-name flag
...
Multus v3.9.3 has `--multus-master-cni-file-name` flag to specify the
name of a primary CNI config file.
https://github.com/k8snetworkplumbingwg/multus-cni/blob/v3.9.3/images/entrypoint.sh#L22
In Multus v4.0.2, the thin plugin has the flag defined, but it is not
read and so does not have effect.
This pull request fixes the problem by making the thin plugin correctly
handles `--multus-master-cni-file-name` flag.
Fixes #1226
Signed-off-by: Hidehito Yabuuchi <hyab@preferred.jp>
2024-04-25 18:31:54 +09:00
dependabot[bot]
5a407e1a21
Bump golang.org/x/net from 0.17.0 to 0.23.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.17.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 12:20:28 +00:00
Doug Smith
9c2771b842
Merge pull request #1250 from SchSeba/support_mtu
...
Bump cni and network-attachment-definition-client to support MTU
2024-04-17 10:17:13 -04:00
Tomofumi Hayashi
897cb1a759
Merge pull request #1261 from dougbtv/deads_upstreampick_fallback
...
Enforce termination message policy on all platform pods
2024-04-17 03:37:44 +09:00
David Eads
e214154f5f
OCPBUGS-28230: enforce termination message policy on all platform pods
2024-04-16 14:08:55 -04:00
Vasilis Remmas
2c796b5956
Add DRA Integration E2E test
...
Signed-off-by: Vasilis Remmas <vremmas@nvidia.com>
2024-04-11 19:53:00 +02:00
Moshe Levi
202533cf1d
support for Dynamic Resource Allocation doc update
...
Signed-off-by: Moshe Levi <moshele@nvidia.com>
2024-04-11 19:16:46 +02:00
Moshe Levi
40378cabd3
add support for Dynamic Resource Allocation
...
Signed-off-by: Moshe Levi <moshele@nvidia.com>
2024-04-11 19:16:46 +02:00
Sebastian Sch
30d6aa06e5
Bump cni and network-attachment-definition-client
...
This is to support the new MTU field in cni network results
Signed-off-by: Sebastian Sch <sebassch@gmail.com>
2024-04-11 17:28:29 +03:00
Tomofumi Hayashi
b6206a0dbf
Merge pull request #1242 from k8snetworkplumbingwg/dependabot/go_modules/google.golang.org/protobuf-1.33.0
...
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0
2024-04-02 15:01:08 +09:00
adrianc
d625d48231
Change Validation of interface name
...
interface name should not be limited to DNS-1123 label format.
instead validate interface name if provided in pod network annotation
in a similar manner as iproute2[1].
this will allow to request interface names such as: "uplink_p0"
[1]11740815bf/lib/utils.c (L832)
Signed-off-by: adrianc <adrianc@nvidia.com>
2024-03-14 18:05:57 +02:00
Tomofumi Hayashi
0fd3fa7919
Fix typo
2024-03-14 23:16:06 +09:00