This section describes how to deploy an Edge Cloud minimum viable product (MVP) based on the Kubernetes with Calico architecture together with Virtlet and the CNI Genie plugin that enables the Flannel CNI plugin support.
For demonstration purposes, you can also download a virtual appliance of MCP Edge. For details, see: MCP Edge.
Warning
Edge Cloud MVP is available as technical preview. Use such configurations for testing and evaluation purposes only.
To deploy Edge Cloud:
Provision three KVM nodes and three compute nodes based on Ubuntu Xenial.
Caution
During provisioning, disable swap on the target nodes, since this feature is not supported for Edge Cloud MVP.
Create bridges on the first KVM node as described in the step 3 of the Prerequisites for MCP DriveTrain deployment procedure.
Set an IP for br-mgm
.
Enable DHCP on the first interface of the br-mgm
network.
Create a deployment metadata model:
${_param:kubernetes_proxy_address}
.kvm01, kvm02, kvm03
due to a limitation
in the Jenkins pipeline jobs.3
.Log in to the KVM node where the Salt Master node is deployed.
Download the ISO configuration drive obtained after completing the step 5 of this procedure.
Create and configure the Salt Master VM. For details, see: Deploy the Salt Master node.
Once the Salt Master node is up and running, set the salt-minion
configurations on each kvm
and cmp
node.
Warning
Due to a limitation in the Jenkins deployment pipeline job,
the kvm
nodes must have the minion IDs kvm01.domain
,
kvm02.domain
, kvm03.domain
with a proper domain.
Verify that all nodes are connected to the Salt Master node using the salt-key state.
Verify that all nodes are up and running:
salt '*' test.ping
In a web browser, open http://<ip address>:8081
to access the
Jenkins web UI.
Note
The IP address is defined in the
classes/cluster/<cluster_name>/cicd/init.yml
file
of the Reclass model under the cicd_control_address
parameter variable.
Log in to the Jenkins web UI as an admin.
Note
To obtain the password for the admin user, run the
salt "cid*" pillar.data _param:jenkins_admin_password
command
from the Salt Master node.
In the Deploy - OpenStack Jenkins pipeline job, define the STACK_INSTALL: core,kvm,k8s parameters.
Click Build.
See also