Skip to content

Experimental deployment of applications in fog environments.

Notifications You must be signed in to change notification settings

paguos/fog-rollouts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Experimental deployment of applications in fog environments.

Resources

Stars

Watchers

Forks

Packages

No packages published