Mamduh Alassi
09190bce3e
Fix entrypoint fail to read capabilities in non chain plugin config
...
entrypoint script fails with error when try reading capabilities in
non chain plugin config file when using "--multus-conf-file=auto"
Signed-off-by: Mamduh Alassi <mamduhala@mellanox.com >
2020-12-14 12:58:35 +02:00
dougbtv
476c738c13
Allows specifying "global namespaces" when using namespace isolation
2020-12-10 23:40:18 +09:00
Shane Utt
8cc60f7dd8
Add ARM64 to images
...
This PR takes the existing ARM64v8 build
and creates Daemonsets in the install images
to deploy it for ARM based K8s clusters.
Fixes #554
Signed-off-by: Shane Utt <shaneutt@linux.com >
2020-09-14 12:47:34 +09:00
Tomofumi Hayashi
95cc1902c0
Specify image repo URL explicitly
...
This fix supplies domain for container image repo because
in some runtime configuration, 'docker.io' is not specified as
default container repository url.
2020-08-31 14:58:10 +09:00
Mamduh Alassi
36f2fd64e0
Use latest image version 3.6 in daemonset files
2020-08-20 22:35:19 +09:00
Clément Nussbaumer
4c271a57d5
Pull underlying capabilities up to 00-multus.conf
...
Using Python, we analyze the content of the master plugin configuration,
and we integrate any capabilities from the underlying chained plugins
declaration. We only pull enabled capabilties from the underlying
(chained) plugin definitions.
Fixes intel#544
Signed-off-by: <Clement.Nussbaumer@Swisscom.com >
2020-08-05 10:29:05 +02:00
Tomofumi Hayashi
78669323d2
Fix CRD yaml file for right explan information
2020-07-28 11:56:08 +09:00
dougbtv
ec5fd6c923
Move pre-1.16 Kubernetes assets to a deprecated folder (to later remove)
2020-05-08 09:50:33 +09:00
Doug Smith
b8540e190d
Merge pull request #455 from cucosion/feature/gkeexample
...
Daemonset for Google Kubernetes Engine for kubernetes cluster version…
2020-04-30 09:44:45 -04:00
dougbtv
3ddc6250de
Fix pre 1.16 api version for CRDs
2020-04-17 17:10:20 +09:00
dougbtv
8fff5aac60
Add description fields to NetworkAttachmentDefinition CRD
2020-04-16 02:01:40 +09:00
Mamduh Alassi
14fb6be109
Use latest image version 3.4.1 in daemonset file
2020-03-27 00:21:21 +09:00
ICucos
b6bfb75af0
Daemonset for Google Kubernetes Engine for kubernetes cluster version pre 1.16. To be able to start cluster with version 1.15 i used "gcloud container clusters create cl-name --zone europe-west1-b --num-nodes=2 --machine-type=n1-standard-8 --image-type ubuntu --enable-network-policy --cluster-version=1.15.9-gke.24". !!!!important to start the cluster with --enable-network-policy that will enable CNI in kublet
2020-03-25 13:03:44 +02:00
Tomofumi Hayashi
079c853eba
Add Kubernetes event log when the pod is launched
2020-03-16 22:08:03 +09:00
ICucos
1bc8064a5b
Daemonset for Google Kubernetes Engine for kubernetes cluster version 1.16 +. To be able to start cluster with version 1.16 i used rapid channel "gcloud beta container clusters create cluster --zone europe-west1-b --num-nodes=1 --machine-type=n1-standard-8 --image-type ubuntu --enable-network-policy --release-channel=rapid --enable-autorepair"
2020-03-16 13:19:36 +02:00
Tomofumi Hayashi
bdece11192
Removes configuration invalidation
2020-02-28 12:43:49 +09:00
dougbtv
1042a5e25f
Changes wait.ExponentialBackoff to wait.PollImmediate and exposes readinessindicatorfile via entrypoint parameter
2020-02-19 10:03:43 +09:00
Doug Smith
c534b7d364
Uses atomic operation for writing config file ( #430 )
2020-01-17 16:10:46 -05:00
Shravan Vallala
cb3f59e7e7
Server URL in multus kubeconfig at /etc/cni/net.d/multus.d/multus.kubeconfig
...
is not properly setup for IPv6 installs
Fix:
If the API server host is IPv6 address then the server url should
include square braces to separate the IP address and port correctly
2019-12-10 09:09:37 +09:00
Shravan Vallala
a3712815fd
Server URL in multus kubeconfig at
...
/etc/cni/net.d/multus.d/multus.kubeconfig is not properly setup for IPv6
installs
Fix:
If the API server host is IPv6 address then the server url should
include square braces to separate the IP address and port correctly
2019-12-10 09:09:37 +09:00
Doug Smith
230f314877
Bump daemonset tag to v3.4 ( #417 )
2019-12-03 12:38:10 -08:00
dougbtv
ecc474a264
Skips binary copy in entrypoint with new parameter
2019-11-07 23:24:04 +08:00
Tomofumi Hayashi
f4431cd010
Update CRD's version to v1
2019-10-10 08:58:27 -04:00
Tomofumi Hayashi
731eeb3a78
Change API version (RBAC to v1, CRD to v1) and add crio-pre1.16.yml
2019-10-10 08:58:27 -04:00
dougbtv
ec3348c155
Updates daemonset for Kube 1.16, also docs and adds pre-1.16 daemonset
2019-10-10 08:58:27 -04:00
dougbtv
31ae5a77c0
[entrypoint] Adds --additional-bin-dir option to entrypoint to generate binDir configuration option
2019-09-19 22:38:07 +09:00
dougbtv
e2f75d4ee5
[entrypoint] Adds script parameter to optionally rename source CNI config file to .old
2019-08-31 11:23:34 +09:00
dougbtv
59a267363d
[entrypoint] Adds one-shot CRIO restart, plus renames source CNI config to .old when not using the watch loop
2019-08-29 10:33:30 -04:00
dougbtv
b2e1098ab5
[entrypoint] Adds CRIO restart
...
Co-authored-by: s1061123 <tohayash@redhat.com >
2019-08-21 15:09:44 +09:00
dougbtv
b38ab9771c
[entrypoint] Adds --cleanup-config-on-exit to the entrypoint
2019-08-21 15:09:44 +09:00
Tomofumi Hayashi
6e8fac54a0
Increase memory resource in ppc64le case.
2019-07-31 22:03:15 +09:00
Tomofumi Hayashi
587bd8df32
Multi architecture image and CI job
...
Fix #305
2019-07-30 07:59:30 +09:00
Tomofumi Hayashi
074bd27c18
Add daemonset for crio again
...
This change introduces multus-daemonset-crio again to support crio.
The change also introduce '--override-network-name' to use previous
master name in CNI json for multus CNI json.
2019-07-01 16:36:43 +09:00
Tomofumi Hayashi
df58b74329
Add help text for '--cni-version'
2019-06-21 11:29:11 -04:00
Tomofumi Hayashi
7a531b5f74
CNIVersion fix for conflist
...
This change introduces two fix about CNIVersion. One is to add CNIVersion into
delegated CNI conflist in case of DEL if CNIVersion is missing. ParseVersion() in libcni
checks cniVersion as mandatory field and sometimes user/daemonset miss it.
The latest flannel daemonset yaml (of flannel github) does not have CNIVersion, for example.
This change adds CNIVersion from multus config if cniVersion is missing (empty) in delegated
CNI config.
In addition, this fix also adds '--cni-version' in entrypoint.sh to add cniVersion in multus
config in case of '--multus-conf-file=auto'.
2019-05-30 10:01:58 -04:00
dougbtv
1a32c636ff
[entrypoint][docs] Adds --multus-autoconfig-dir and entrypoint documentation
2019-05-16 10:04:26 -04:00
Doug Smith
9b587c6089
[delete] removes flannel and crio daemonset
2019-05-16 10:02:47 -04:00
Doug Smith
ce11203f5c
Remove Flannel from default installation method in favor of auto-configuration
2019-05-16 10:02:47 -04:00
Dan Williams
d863864323
entrypoint.sh: add timestamps to log messages; log autogenerated config file
...
Example:
2019-05-09T15:41:20-05:00 Generating Multus configuration file ...
2019-05-09T15:41:20-05:00 Attemping to find master plugin configuration, attempt 0
2019-05-09T15:41:20-05:00 Attemping to find master plugin configuration, attempt 1
2019-05-09T15:41:20-05:00 Attemping to find master plugin configuration, attempt 10
2019-05-09T15:41:20-05:00 Attemping to find master plugin configuration, attempt 15
2019-05-09T15:41:20-05:00 Attemping to find master plugin configuration, attempt 20
2019-05-09T15:41:20-05:00 Config file created @ /host/etc/cni/net.d/00-multus.conf
{ "name": "multus-cni-network", "type": "multus", "namespaceIsolation": true, "logLevel": "verbose", "kubeconfig": "/etc/kubernetes/cni/net.d/multus.d/multus.kubeconfig", "delegates": [ { "cniVersion": "0.3.1", "name": "openshift-sdn", "type": "openshift-sdn" } ] }
2019-05-09T15:41:20-05:00 Entering sleep... (success)
2019-05-10 09:32:48 -04:00
Casares, Francisco M
7656080a53
Enable Rolling Update on defined DaemonSets
...
With RollingUpdate update strategy, after you update a DaemonSet template, old DaemonSet pods will be killed, and new DaemonSet pods will be created automatically, in a controlled fashion.
2019-03-26 18:51:22 +00:00
dougbtv
c319f6b52c
[travis] Updates Travis to tag master builds as :latest, and adds version tagged images to daemonsets
2019-03-22 12:13:54 +09:00
Doug Smith
5e27b3cafb
[entrypoint] Add options to specify logfile & loglevel in entrypoint ( #280 )
2019-03-07 11:01:03 -05:00
Tomofumi Hayashi
102cfc349d
Fix multus-daemonset to use configmap to change config in yaml
...
This fix utilizes ConfigMap for multus.conf to change config from
yaml file. This change allows users to change multus config file
without container image change.
This change removes images/70-multus.conf because it is no longer
used.
2019-03-08 00:04:35 +09:00
Doug Smith
f0a43ca0a5
Adds wait loop to entrypoint when --multus-conf-file=auto ( #234 )
...
* [entrypoint] Adds wait loop when using --multus-conf-file=auto waits for presence of any conf file
* [entrypoint] fixes incorrect logical comparison
* [entrypoint] add log every 5 tries, fix tries increment, fix logical comparison
* [entrypoint] fix attempt output
2019-02-28 13:56:08 -05:00
Peng Liu
93db092895
Generate Multus config file regardless
2019-02-27 17:47:47 +08:00
Aneesh Puttur
f229cbe47f
moved crio details out of the README.md and into the ./docs/quickstart.md
2019-01-30 09:22:46 -05:00
Aneesh Puttur
747d31bb30
Fix Bin directory is different when using CRI-O
...
Added new configuration file for crio runtime multus-crio-daemonset.yml
Added instructions to readme for crio users.
Fixes #224
Signed-off-by : Aneesh Puttur <aputtur@redhat.com >
2019-01-29 10:56:35 -05:00
dougbtv
d7e8809cf8
[entrypoint] Updates entrypoint for atomic move of binary (for cleaner upgrade)
2019-01-22 10:38:02 -05:00
dougbtv
66ca933a2f
[entrypoint] Adds option for namespaceIsolation in entrypoint
2019-01-15 11:21:18 -05:00
Michael Wyraz
344e74f971
Remove unused config in flannel-daemonset.yaml
2019-01-10 23:54:00 +09:00