Kubernetes deployment support
Related tasks
[cloudsim] Modify Cloudsim to work with EKS cluster
Context
Cloudsim contains some scripts and logic to work with AWS Elastic Beanstalk. This MR contains changes required to switch to a pure Kubernetes deployment.
Changes
- Updated the simulation worker image. This image is a specially configured Amazon Linux EKS image. Changes include:
- Modified the X server config script to work with g3 EC2 instances.
- Added and enabled a
systemd
service for theXorg
X server. The service starts an X server on instance launch.
- Launched instances now join the Kubernetes cluster without requiring an explicit
kubeadm join
command, using a script included in the Amazon Linux EKS image. Instance UserData has been updated to reflect this. - Removed Elastic Beanstalk .ebextensions scripts.
Env vars
- Removed
KUBEADM_JOIN
. - Removed
KUBE_MASTER_IP
. - Removed
IGN_CLOUDSIM_K8_CONFIG_FILENAME
. - Added
AWS_CLUSTER_NAME
.
Other information
Additional documentation
Edited by Alejo Carballude