Vagrant file also sets a default container engine and runs
setup_system.sh. This was currently setting runner=containerd if RUNNER
environment variable was not set, I changed default to crio
Closes issue #216
Signed-off-by: Craig Sterrett <craig.sterrett@intel.com>
Vagrant file blows up if http_proxy is set but no_proxy is not set. This
was discovered during the testing of the initial patch which was to add
the default CIDR for Vagrant to the no_proxy settings.
Closes issue #136
Signed-off-by: craigsterrett <craig.sterrett@intel.com>
This change adds the env variable for the support for
virtualbox to support kubernetes communication between
master and worker nodes. Since KVM gives default ip
address to the spinned up VM's, whereas virtualbox uses
same ip address for all, the kubelet was not functioning
, this change fixes it and assigns the ip address to env
variable.
Removed hardcoded vagrant box version. This change will now
allow the override of the version, or if no override is passed in
it will take the version on the system, or download the latest version.
Signed-off-by: craigsterrett <craig.sterrett@intel.com>
proxy_ip_list variable had scope issues, used as global variable
initially then as a local variable. Changed all to global.
Signed-off-by: root <root@csterret-desk1.amr.corp.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>
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>
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>
Avoid creating unique names for disks as vagrant-libvirt today does not
delete those images when VMs are deleted. Once that is fixed we can move
back to using unique names. Until then this should suffice.
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Instead of mounting at /vagrant it will now be at /home/vagrant/clr-k8s-examples
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
Keep `setup_firecracker.sh` separate and mark it experimental in README.
Fix modules load, needed to run k8s without reboot. Fix runtimeclass to
add fire.
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
Simple set of scripts and slightly modified upstream configurations
of various kubernetes services to setup a kubernetes cluster on
Clearlinux.
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>