Add the first basic report generator code, utilising R, Rmarkdown
and pandoc to do the data processing and pdf report generation.
Fixes: #121
Signed-off-by: Graham Whaley <graham.whaley@intel.com>
This setup scripts have been using cri-o all this while as the pod
controller/manager system. Recent past cri-o has had some issues with
kata-deploy (A restart of the service will not be able to re-connect
with the existing pods and restart all of them including kata-deploy,
which will hit an endless loop). Moving to containerd as default for
now.
Firecracker cannot be used with a released version of containerd as
there is no default block based snapshotter available today. If you wish
to use cri-o make sure you set `RUNNER=crio` in your environment prior
to using the script.
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Modifying rp_filter setting on host seems to be causing a routing issue
when connecting to a pod from remote node. Until we figure out the best
way to solve the issue, we are configuring canal to ignore default
setting of 2
Fixes: #102
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
ClearLinux now has cri-o version 1.14.1 which allows multiple plugin
locations and also creates /opt/cni/bin by default. We no longer need
the hacks for them
Fixes: #82
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Currently net.ipv4.conf.all.rp_filter is set to 2 in Clear and
calico-node fails to come up unless that value is either 0 or 1.
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
- If stop CRI service if is running
- Restart the CRI service only if enabled
- Do not enable crio on reset_stack.sh this should be only part of the
setup.
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
kubeadm autodetects the socket path based on defaults from well known
CRI servers.
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
Add more subcommands to to increase granularity
init: start cluster
cni: setup network
This functionality already existed, we only handle
subcommands in a more dynamic way.
Fixes: #92
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
Calico requires the default reverse path forwarding to be either 0 (no
validation) or 1 (strict validation). The default value of 2 (loose
validation) prevents calico from completing the setup and the pod is
always stuck getting ready.
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
CRD was removed as part of 1.14 update. Missed update to create_stack
Fixes: #84
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
RuntimeClass moved from alpha to beta. Remove the feature gates, remove
the runtimeClass CRD since it is a built in type, and take the new data
structure into account.
Fixes: #77
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
This is finally supported in Kata 1.6
Update memory limit for kata to run in guaranteed test case
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
In case of containerd there is no need to restart. Restart for crio is needed
when it manages the networks ns lifecycle. Removed the kubelet stop step which
was a leftover from earlier device plugin install.
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
We only support kubernetes versions with support for runtimeClass.
Remove the legacy annotations to reduce confusion.
Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
The admission controller is now able to access full context.
Hence explicit tagging of pod manifests to exclude them from
kata is no longer required.
Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
Disable proxy setup if the host does not have proxy setup in
the enviornment variables
Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
* Remove duplicate lifecycle entry in crio.conf
* Remove fc config.toml as that is provided by the distro.
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Disable devicemapper udev sync. Without this the storage device
will not be discovered post system reboot
Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
The parent box is already downloading the OVMF firmware.
Just use the firmware that is already downloaded.
Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
With kubelet service file fixed and correct args set in
metrics-server-deployment.yaml, autoscale seems to be working reliably.
Fixes: #5
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
Currently cpumanagerpolicy:static is partially broken.
Hope these files catch future regressions
Added a script to generate yamls for different runtimeclass from
a template with different resource constraints on the pod
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
Addressing comments -
1a. added flag to `sriov.sh` to indicate bind to vfio-pci
1b. systemd unit sets up two pools 1 per mode
2a. updated `sriov-conf.yaml` to use the two pools
3a. included network examples for both resource pools
3b. included pod examples for both resource pools
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>