Eric Dobbs 45dbb893d1 Simplest wiki command that could possibly work
Now that we've figured out how to mount local directories into the k8s
cluster, we have moved all the configuration into ~/.wiki-k8s/config.json
2020-01-19 15:11:12 -07:00
..

Wiki Farm in Kubernetes

There are easier ways to get started with federated wiki. Here we are using wiki to drive some learning about kubernetes.

We're using MacOS, Docker Desktop, and k3d

brew cask install docker
brew install k3d

mkdir -p ~/.wiki-k8s ~/workspace/fedwiki
k3d create \
  --publish 80:80 \
  -v "$HOME/.wiki-k8s:/macos/.wiki-k8s" \
  -v "$HOME/workspace/fedwiki:/macos/fedwiki" \
  --name wiki

Deploy Wiki

kubectl apply -f wiki.yaml

Play with the wiki

open http://simple.localtest.me