Skip to content

Commit

Permalink
Update Vagrantfile
Browse files Browse the repository at this point in the history
  • Loading branch information
minikin committed Sep 6, 2024
1 parent 8fc0e42 commit f54f593
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions utilities/local-cluster/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,20 +87,24 @@ cert_manager_install_script = <<-SHELL
kubectl apply -f /vagrant_shared/k3s/cert-manager/self-signed-issuer.yaml
SHELL

longhorn_install_script = <<-SHELL
sudo -i
longhorn_install_script = <<-SHELL
# See: https://docs.k3s.io/storage
# https://longhorn.io/docs/1.6.2/deploy/install/install-with-kubectl
# https://longhorn.io/docs/1.6.2/deploy/install/install-with-helm/
sudo -i
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
helm repo add longhorn https://charts.longhorn.io
helm repo update
helm install longhorn longhorn/longhorn --namespace longhorn-system --create-namespace --version 1.6.2
kubectl apply -f /vagrant_shared/k3s/longhorn/storage-classes.yaml
kubectl apply -f /vagrant_shared/k3s/longhorn/ingress.yaml
kubectl apply -f /vagrant_shared/k3s/longhorn/ingress.yaml
SHELL

local_path_provisioner_script = <<-SHELL
# See: https://github.com/rancher/local-path-provisioner/blob/master/README.md
sudo -i
kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/v0.0.26/deploy/local-path-storage.yaml
SHELL

registry_script = <<-SHELL
sudo -i
Expand Down

0 comments on commit f54f593

Please sign in to comment.