Date: Fri, 29 Mar 2024 09:34:16 +0000 (UTC) Message-ID: <686601258.35497.1711704856834@aws-us-west-2-lfedge-confluence-1.web.codeaurora.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_35496_126319015.1711704856832" ------=_Part_35496_126319015.1711704856832 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Eve & Controller (Either open-source Eden or comm= ercial one - ZedCloud ) are enough for Dev= Ops to deploy applications. For Eve an application is either a Docker conta= iner or a Virtual Machine.
Currently, the following applications were tested on Eve:
eden pod deploy -p 8028:80 docker://n= ginx
Deploys Nginx= web server. Exposes web-service on port 8028. Doesn't allow uploading webs= ite files anywhere or change the config.
Ubuntu 20.10 - VM i= mage
eden pod deploy=
-p 8027:22 https://cloud-images.ubuntu.com/releases/groovy/release-2021010=
8/ubuntu-20.10-server-cloudimg-amd64.img
-v debug --metadata=3D'#cloud-config\npassword: passw0rd\nchpasswd: { expir=
e: False }\nssh_pwauth: True\n'
Deploys a VM with l= ogin ubuntu and password passw0rd. Exposes ssh on port 8027
eden pod deploy docker://rancher/k3s= --metadata=3D'K3S_URL=3Dhttps://<MASTER_K3S_IP>:6443\nK3S_TOKEN= =3D<K3S_TOKEN>' --volume-type=3Dnone
Deploys K3S node without exposing any por= ts.
eden pod deploy docker://mongo -p 8028:27017 --metad= ata=3D'MONGO_INITDB_ROOT_USERNAME=3Dadmin\n MONGO_INITDB_ROOT_PASSWORD=3Dpa= ssword'
Deploys MongoDB. Exposes the port 8= 028 for the control interface.
Connect from the other machine usin= g standard mongo client: mongo --host 127.0.0.1 --port 8028 --username = admin --password --authenticationDatabase admin
eden= network create 10.11.12.0/24 -n indirect
eden network create --type switch --u= plink none -n direct
eden pod deploy -v debug -n eclient&n= bsp;docker://itmo= eve/eclient:0.7 -p 8027:22 --networks=3Dindirect --networks=3Ddirect
eden pod deploy -n openwrt file:///openwrt-19.07.7-x86-64= -combined-squashfs.img --format=3Draw --networks=3Ddirect --networks=3D= indirect --disk-size=3D1G
ssh -o ConnectTimeout=3D10 -o StrictH= ostKeyChecking=3Dno -o PasswordAuthentication=3Dno -i tests/eclient/image/c= ert/id_rsa -p 8027 root@127.0.0.1
ssh 192.168.1.1
The default =
span>IP of the =
LAN port=
s of an OpenWrt device is 192.168.1.1. We creating a switch(available only =
for apps, without internet) and deploy a standard eclient container t=
o make the first ssh connection to OpenWrt. After connection, you can=
config the network according to this documentation https://openwrt.org/docs/guide-user/base-system/ba=
sic-networking.