Experimental deployment of applications in fog environments.
- docker - container platform
- helm - kubernetes package manager
- kubectl - kubernetes management tool
- k3d - containerized k3s kubernetes distribution
- pipenv - python dependency manager
Init a k8s
cluster using k3d
:
k3d create --image rancher/k3s:v1.18.2-k3s1
Set the config for your local kubectl
:
export KUBECONFIG="$(k3d get-kubeconfig --name='k3s-default')"
Setup an environment with this three namespaces cloud
, fog
and edge
:
make run
Note: This guide was designed for Linux and macOS
Deploy the example rollout:
kubeclt apply -f examples/nginx-rollout.yml -n cloud
After one or of two minutes run the following commands to verify the deployments:
kubectl get fog-rollouts --all-namespaces
kubectl get pods --all-namespaces