Skip to content

Instantly share code, notes, and snippets.

View avthart's full-sized avatar

Albert van 't Hart avthart

View GitHub Profile
@avthart
avthart / Vagrantfile
Last active December 24, 2019 10:18
Vagrantfile for running Harbor. https://goharbor.io/
# -*- mode: ruby -*-
# vi: set ft=ruby :
# This script to install Kubernetes will get executed after we have provisioned the box
$script = <<-SCRIPT
apt-get update
apt-get install -y docker.io docker-compose python
curl -s https://storage.googleapis.com/harbor-releases/release-1.7.0/harbor-online-installer-v1.7.1.tgz | tar zxv
cd harbor
@avthart
avthart / Vagrantfile
Last active December 27, 2018 11:48
Vagrant and Kubeadmin for setting up a single-node Kubernetes Cluster for local development and training. Read more here: https://www.avthart.com/posts/create-your-own-minikube-using-vagrant-and-kubeadm/
# -*- mode: ruby -*-
# vi: set ft=ruby :
# This script to install Kubernetes will get executed after we have provisioned the box
$script = <<-SCRIPT
# Install Kubernetes
apt-get update && apt-get install -y apt-transport-https
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
cat <<EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main