Commit 7b8d32e8 authored by Prout, Ryan's avatar Prout, Ryan
Browse files

update readme

parent d35d0ed5
Loading
Loading
Loading
Loading
+54 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ This Chart provides an example that deploys a standalone MinIO application. It i

This example is a derivative of the [MinIO provided example](https://github.com/minio/minio/blob/master/docs/orchestration/kubernetes/k8s-yaml.md) to target Slate specifically.

We will look at the individual [template files](https://code.ornl.gov/ryu/slate_helm_examples/-/tree/prout-dev/charts%2Fminio-standalone%2Ftemplates) in this minio-standalone chart, the deploy the application in your project space at the end.
We will look at the individual [template files](https://code.ornl.gov/ryu/slate_helm_examples/-/tree/prout-dev/charts%2Fminio-standalone%2Ftemplates) in this minio-standalone chart, to gain basic familiarity with the application/chart building blocks, then deploy the application in your Slate namespace.

**NOTE:** The main objective of this example is to show how the smaller, individual core, components come together to create a simple application deployment. This example can be used to build off of, for a variety of data applications, but it is not meant to be a production deployment. A production deployment may require more thought and robust configurations. 

@@ -235,3 +235,56 @@ minio:
      cpu: 2
      memory: 1Gi
```

**NOTE**: Please make sure you rename your ```minio.host``` value. This needs to be unique.

### Install the Chart

First, clone the repo to your local system. Then, 'cd' into 'slate_helm_examples/charts'.
```
cd slate_helm_examples/charts
```

Log into Slate's Marble cluster with the OC CLI Tool.
```
oc login https://api.marble.ccs.ornl.gov
```

You should see a response similar to this, seeing your available project namespace(s):
```
Login successful.

You have one project on this server: "stf007"

Using project "stf007".
```

Run simple Helm command to make sure it works properly (assuming the use of helm3):
```
helm ls
```

Output will be similar, depending on if you have any existing applications (may be empty):
```
NAME                              NAMESPACE REVISION  UPDATED                               STATUS    CHART                   APP VERSION
gitlab-runner-for-slate-examples  stf007    9         2020-05-18 11:31:08.3245 -0400 EDT    deployed  gitlab-runner-0.16.1    12.10.2    
minio-standalone                  stf007    4         2020-05-19 13:00:38.165911 -0400 EDT  deployed  minio-standalone-1.0.0
```

Use helm to install the application into your namespace/project:
```
helm install minio-standalone minio-standalone/ --namespace <your_namespace>
```

**NOTE:** ```<your_namespace>``` is available above, from the login output, or you can run ```oc get projects``` to list your projects/namespaces.

Check your deployment:

```
helm ls
```

Log into the Marble GUI to see all the pieces there too: https://console-openshift-console.apps.marble.ccs.ornl.gov/

MinIO will take several minutes to spin up, but after a few minutes you will be able to access your MinIO applicaiton at: 
```https://<your_UID>-minio-standalone.apps.marble.ccs.ornl.gov/minio/```