3 navsection: installguide
4 title: Arvados on Minikube
7 Copyright (C) The Arvados Authors. All rights reserved.
9 SPDX-License-Identifier: CC-BY-SA-3.0
12 This page documents setting up and running the "Arvados on Kubernetes":/install/arvados-on-kubernetes.html @Helm@ chart on @Minikube@.
14 {% include 'notebox_begin_warning' %}
15 This Helm chart does not retain any state after it is deleted. An Arvados cluster created with this Helm chart is entirely ephemeral, and all data stored on the cluster will be deleted when it is shut down. This will be fixed in a future version.
16 {% include 'notebox_end' %}
24 * Follow the instructions at "https://kubernetes.io/docs/tasks/tools/install-kubectl/":https://kubernetes.io/docs/tasks/tools/install-kubectl/
28 * Follow the instructions at "https://docs.helm.sh/using_helm/#installing-helm":https://docs.helm.sh/using_helm/#installing-helm
32 Follow the instructions at "https://kubernetes.io/docs/setup/minikube/":https://kubernetes.io/docs/setup/minikube/
40 Test @helm@ by running
46 There should be no errors. The command will return nothing.
48 h2(#git). Clone the repository
50 Clone the repository and nagivate to the @arvados-k8s/charts/arvados@ directory:
53 $ git clone https://github.com/arvados/arvados-k8s.git
54 $ cd arvados-k8s/charts/arvados
57 h2(#Start). Start the Arvados cluster
59 All Arvados services will be accessible on Minikube's IP address. This will be a local IP address, you can see what it is by running
66 Generate self-signed SSL certificates for the Arvados services:
69 $ ./cert-gen.sh `minikube ip`
72 The @values.yaml@ file contains a number of variables that can be modified. At a minimum, review and/or modify the values for
81 Now start the Arvados cluster:
84 $ helm install arvados . --set externalIP=`minikube ip`
87 And update the Kubernetes services to have the Minikube IP as their 'external' IP:
90 $ ./minikube-external-ip.sh
93 At this point, you can use kubectl to see the Arvados cluster boot:
100 After a few minutes, you can access Arvados Workbench at the Minikube IP address:
102 * https://<MINIKUBE IP>
104 with the username and password specified in the @values.yaml@ file.
106 Alternatively, use the Arvados cli tools or SDKs. First set the environment variables:
109 $ export ARVADOS_API_TOKEN=<superUserSecret from values.yaml>
110 $ export ARVADOS_API_HOST=<MINIKUBE IP>:444
111 $ export ARVADOS_API_HOST_INSECURE=true
122 If you make changes to the Helm chart (e.g. to @values.yaml@), you can reload Arvados with
125 $ helm upgrade arvados .
130 {% include 'notebox_begin_warning' %}
131 This Helm chart does not retain any state after it is deleted. An Arvados cluster created with this Helm chart is entirely ephemeral, and <strong>all data stored on the Arvados cluster will be deleted</strong> when it is shut down. This will be fixed in a future version.
132 {% include 'notebox_end' %}