aboutsummaryrefslogtreecommitdiffstats
path: root/kud
AgeCommit message (Collapse)AuthorFilesLines
2021-10-22Merge "Allow KuD installer to specify Kubespray 2.14.1 or 2.16.0"Ritu Sood25-83/+83
2021-10-12Allow KuD installer to specify Kubespray 2.14.1 or 2.16.00.9.2Todd Malsbary25-83/+83
The default is 2.14.1 (the existing value). Setting KUBESPRAY_VERSION=2.16.0 in the installer environment uses the newer Kubespray version. The newer Kubespray version installs Kubernetes 1.20.7. Kubernetes 1.20.7 comes with following caveats: - The Virtlet addon is disabled; it does not work with 1.20.7. This requires removing the plugin_fw test as well. - Kubernetes 1.20.7 removed support for basic auth. Issue-ID: MULTICLOUD-1251 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Ic8b9fb1f3effc31da58de5bb3768ed9e509d50de
2021-10-04Merge "Fix iavf driver build failure"Ritu Sood3-0/+21
2021-10-01Fix iavf driver build failureTodd Malsbary3-0/+21
With kernel 4.15.0-159, Ubuntu added the skb_frag_off functions to the kernel headers. Issue-ID: MULTICLOUD-1396 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I283d6ea394ac4685be842339acd2a89548295b4f
2021-09-15Fix KubeVirt and SR-IOV addon interactionTodd Malsbary9-222/+142
SR-IOV wants to drain the nodes during reconciliation of SriovNetwork resources, while KubeVirt wants to keep at least one instance running at all times via a PodDisruptionBudget. KubeVirt's behavior is not customizable, so split the addons into different composite apps that allow finer control of the instantiation order. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I15c5cec3ef524b0b1d60dc201e04157272cbe376
2021-08-25Merge "Add resources field to all addon charts"Ritu Sood7-1/+13
2021-08-25Merge "Replace virtlet with kubevirt in plugin_fw_v2"Ritu Sood9-132/+196
2021-08-17Use EMCO logical cloud with addonsTodd Malsbary3-5/+51
The moves the addons from the default namespace into their own, "kud" namespace. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I5476c7634af7affe1b6bbd7d2bf9b5cd7a8206e5
2021-08-17Replace virtlet with kubevirt in plugin_fw_v2Todd Malsbary9-132/+196
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Ifd8ae34b8f04da52acc4c3a6a8259d1bcd05616c
2021-08-16Add resources field to all addon chartsTodd Malsbary7-1/+13
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I3193fb5983394c6ac9a95dffaaa36074f07cacf6
2021-08-16Merge "Update ovn4nfv chart version to support kubevirt"Ritu Sood2-2/+2
2021-08-16Merge "Select vfio-pci deviceType in SR-IOV network"Ritu Sood1-1/+7
2021-08-16Merge "Enable CPUManager feature gate in kubevirt"Ritu Sood1-1/+2
2021-07-29Merge "Update EMCO playbook to 21.03.06"Ritu Sood3-3/+10
2021-07-28Select vfio-pci deviceType in SR-IOV networkTodd Malsbary1-1/+7
This enables the sriov interface type in kubevirt VMs. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I03ab6a4d374b6abdcad9264ac8a959bb40ca9870
2021-07-28Enable CPUManager feature gate in kubevirtTodd Malsbary1-1/+2
This allows for CPU pinning in VirtualMachine specs with the dedicatedCpuPlacement and isolateEmulatorThread keys. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Icba3eb07b80367d5bdda8708658f50486fc0780d
2021-07-28Update ovn4nfv chart version to support kubevirtTodd Malsbary2-2/+2
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I38a8dab6b57847f9f7b4f6a816772783fa981079
2021-07-28Add kubevirt to list of EMCO deployed addonsTodd Malsbary2-0/+10
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I5e2c2ebe5af7ee86cc213f0861516664cf4399a7
2021-07-28Update EMCO playbook to 21.03.06Todd Malsbary3-3/+10
Issue-ID: MULTICLOUD-1376 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I91422116714e16f520ed37bd00185383b01d41aa
2021-07-16Update KUD to python3Todd Malsbary9-28/+33
Issue-ID: MULTICLOUD-1375 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I0433a55ef2ac9caba976a267fa9e1f41d5353248
2021-06-30Fix error when attempting to remove missing webhookTodd Malsbary1-1/+1
Issue-ID: MULTICLOUD-1370 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: If3b71f64b5994bbe6bd68e2b620452f4081cd705
2021-06-30Merge "Add ovn4nfv-network addon"Ritu Sood10-1/+65
2021-06-28Update python version used in KUD installers to python3Todd Malsbary2-28/+22
A dependency of kubespray-2.14 now requires python3. Specifically, ruamel.yaml now fetches ruamel.yaml.clib-0.2.4 whereas it used to fetch ruamel.yaml.clib-0.2.2. The 0.2.4 requires python 3.5 or greater. Issue-ID: MULTICLOUD-1369 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Ia362d5adfbe6e08750b493dbceea17df640f26ed
2021-06-24Add ovn4nfv-network addonTodd Malsbary10-1/+65
This chart contains the ovn-networkobj NetworkAttachmentDefinition required by EMCO. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Iaf10bacaf7ff263b165ca18a427958f7e75c3628
2021-06-24Add kubevirt testTodd Malsbary4-21/+175
Some minor refactoring of _functions.sh was done to allow setup and related functions to use the "vmi" resource type in addition to the "deployment" type. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I42b5ef1c48412675a095f2aab68a0efdfdbe0df9
2021-06-24Merge "Move topology-manager configuration to kubespray"Eric Multanen8-84/+135
2021-06-24Merge "Remove warning displayed from ssh commands in baremetal test"Eric Multanen1-1/+1
2021-06-24Merge "Fix jq null error in tests"Eric Multanen4-5/+5
2021-06-24Merge "Replace curl in plugin_fw_v2.sh with emcoctl"Eric Multanen2-951/+505
2021-06-24Merge "Refactor EMCO deploy of addons"Eric Multanen14-314/+426
2021-06-24Merge "Add kubevirt and cdi addon helm charts"Eric Multanen42-2/+6057
2021-06-24Merge "The sink app needs the CAP_NET_RAW capability"Eric Multanen5-0/+53
2021-06-24Merge "Let kubespray choose installed docker version"Eric Multanen3-42/+0
2021-06-21Remove warning displayed from ssh commands in baremetal testTodd Malsbary1-1/+1
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: If2845857cd72768b0a1c6cf3831e64f3dc412ebf
2021-06-21Move topology-manager configuration to kubesprayTodd Malsbary8-84/+135
The steps performed by the existing ansible playbook can be performed directly by kubespray. In addtion, fix and enable the topology-manager.sh test. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Iee2197c1fc3e35288796399cccff0d3ae0925a6c
2021-06-17Fix jq null error in testsTodd Malsbary4-5/+5
The specific error is: jq: error (at <stdin>:1232): null (null) cannot be parsed as a number Issue-ID: MULTICLOUD-1361 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I1821e5002260cd65ac467756753e2a2ffa01a4ce
2021-06-16Replace curl in plugin_fw_v2.sh with emcoctlTodd Malsbary2-951/+505
Issue-ID: MULTICLOUD-1360 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Iac32b8a1551253302134ad34b829ea9aa578ff8e
2021-06-16SDEWAN CNF helm chartYao Le6-0/+351
Create SDEWAN CNF helm chart and configure it with default value Issue-ID: MULTICLOUD-1092 Signed-off-by: Yao Le <le.yao@intel.com> Change-Id: Ib80e6b734c599a91f90d2fa4c32b098d6d279c0b Signed-off-by: Ruoyu <ruoyu.ying@intel.com>
2021-06-15Add kubevirt and cdi addon helm chartsTodd Malsbary42-2/+6057
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I6ba134140f0aca6717c656ffa35c6576426a8b98
2021-06-09Refactor EMCO deploy of addonsTodd Malsbary14-314/+426
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I90b33cd99c42017b50f3174b6f9033a861e11dd3
2021-06-07Let kubespray choose installed docker versionTodd Malsbary3-42/+0
Specifying 'latest' as the docker_version without specifying a compatible version of containerd can lead to package dependency errors. Let kubespray select the versions to ensure consistency. Also, installing docker from vagrant installer instead of letting kubespray install it can lead to the same issues. Issue-ID: MULTICLOUD-1359 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Iff41682fa0897fae8200e0f179137af844e314c0
2021-06-04The sink app needs the CAP_NET_RAW capabilityTodd Malsbary5-0/+53
The CAP_NET_RAW capability is not available with the default PodSecurityPolicy. Create a service account and role binding to the privileged policy and specify the sink to use it. Issue-ID: MULTICLOUD-1310 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Ib00ee1e8797d497d024a167fc9a0336d4c2a7ae1
2021-06-04Expose installer ENV vars through DockerfileTodd Malsbary3-1/+9
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Ie913d3f26d039fae0bff98149ebe0a6e6dea2ebd
2021-05-21Merge "Exit cmk test script on error"Ritu Sood1-13/+19
2021-05-21Merge "Mount /var/run as shared"Ritu Sood1-0/+1
2021-05-20Added initial kata files and containerd support as well as adding the Kata ↵Eric Adams12-28/+430
webhook Issue-ID: MULTICLOUD-1320 Signed-off-by: Eric Adams <eric.adams@intel.com> Change-Id: I9ef0bcde7c2ef22a04c32311d4571abc3b688ffe
2021-05-19Mount /var/run as sharedTodd Malsbary1-0/+1
This fixes the "unknown FS magic" error reported by nfn-agent: E0518 22:05:58.596460 20593 cni.go:150] Failed to configure interface in pod: failed to open netns "/var/run/netns/cni-c24e4d8e-819c-6a0c-9ae5-6b4e5cf8f68d": unknown FS magic on "/var/run/netns/cni-c24e4d8e-819c-6a0c-9ae5-6b4e5cf8f68d": 1021994 It can be observed as a failure of the ovn4nfv.sh test when CONTAINER_RUNTIME is "containerd". Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: If979110d125511827a65a5de5101a2832d5efeb5
2021-05-10Merge "EMCO deploy of addons"Ritu Sood29-17/+549
2021-05-07Update go_version from 1.12 to 1.14.Todd Malsbary1-1/+1
Go reports a missing crypto/ed25519 module when running the vagrant installer with KUD_PLUGIN_ENABLED. The package was introduced in go 1.13 (https://golang.org/doc/go1.13#crypto/ed25519). Issue-ID: MULTICLOUD-1343 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I2fdd06b67122506308038be0fe6b00a2e737f0f0
2021-05-07EMCO deploy of addonsTodd Malsbary29-17/+549
An example is provided with instructions on how to install the addons with emcoctl. Addtionally, the containerized installer will populate /opt/kud/addons and /opt/kud/multi-cluster/$CLUSTER_NAME/artifacts with the files and instructions necessary as well. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I74de1c9d18a0aaec4a96e38684ec80f00ab0b940