visit
At their 2018 annual Re:Invent conference, AWS announced an exciting new product called "Firecracker" that is quickly setting the cloud-native ecosystem on fire. Firecracker is (VMM) exclusively designed for running transient and short-lived processes. In other words, it is optimized for running functions and serverless workloads that require faster cold start and higher density.
Using the same technology that Amazon uses for AWS Lambda and AWS Fargate, Firecracker delivers the speed of containers with the security of VMs and has the potential to disrupt the current container and serverless technologies.
While Firecracker has a ton of potential, it's still in its early stages so getting it up and running can be a bit tedious. The goal of Ignite is to solve this issue by adopting its developer experience from containers.
With Ignite, you just pick a container image that you want to run as a VM and then execute
ignite run
instead of docker run
..vdi
, .vmdk
, or .qcow2
images, just do a docker build
from any base image you want (e.g. ubuntu:18.04
from Docker Hub), and add your preferred content.pack
command.Prerequisites: Docker, Git, .
1. Fork this repository.2. Clone your fork and
cd
into it. Use the SSH
git URL as the script will push an initial commit to your fork:export user="" # Your GitHub handle or org
git clone [email protected]:$user/wks-quickstart-firekube.git
cd wks-quickstart-firekube
./setup.sh
export KUBECONFIG=/home/damien/.wks/weavek8sops/example/kubeconfig
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
67bb6c4812b19ce4 Ready master 3m42s v1.14.1
a5cf619fa058882d Ready <none> 75s v1.14.1
kubectl apply --dry-run -k github.com/stefanprodan/podinfo//kustomize -o yaml > podinfo.yaml
git add podinfo.yaml
git commit -a -m 'Add podinfo Deployment'
git push
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
podinfo-677768c755-z76xk 1/1 Running 0 30s
1. Expose
podinfo
locally:kubectl port-forward deploy/podinfo 9898:9898
2. Point your browser to
//127.0.0.1:9898
:./cleanup.sh
To use a private git repository instead of a fork of
wks-quickstart-firekube
:1. Create a private repository and push the
wks-quickstart-firekube
master
branch there. Use the SSH git URL when cloning the private repository:git clone [email protected]:$user/$repository.git
cd $repository
git remote add quickstart [email protected]:weaveworks/wks-quickstart-firekube.git
git fetch quickstart
git merge quickstart/master
git push
ssh-keygen -t rsa -b 4096 -C "[email protected]" -f deploy-firekube -N ""
./setup.sh --git-deploy-key ./deploy-firekube
About the author - Sudip is a Solution Architect with more than 15 years of working experience, and is the founder of . He likes sharing his knowledge by regularly writing for Hackernoon, , and many more. And while he is not doing that, he must be fishing or playing chess.
Previously posted at .