Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.08 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.08 KB

Fog Rollouts

Experimental deployment of applications in fog environments.

Requirements

  • docker - container platform
  • helm - kubernetes package manager
  • kubectl - kubernetes management tool
  • k3d - containerized k3s kubernetes distribution
  • pipenv - python dependency manager

Setup

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

Example

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