Commit e8f030d8 authored by Prout, Ryan's avatar Prout, Ryan
Browse files

update readme

parent 1abf61fb
Loading
Loading
Loading
Loading
+14 −5
Original line number Diff line number Diff line
# Standalone MinIO example application

This Chart provides and example that deploys a standalone MinIO application. It is a single MinIO server running in a pod, as a "deployment", with a small persistent volume claim to persist data (allocated on a block device in this example - could potentially be an NCCS filesystem instead).
This Chart provides an example that deploys a standalone MinIO application. It is a single MinIO server running in a pod, as a "deployment", with a small persistent volume claim to persist data.

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.

## Prerequisites

NOTE: This example will be done on Slate's Marble Cluster. Marble resides in OLCF's Moderate enclave, a peripheral system to Summit.
@@ -26,11 +28,11 @@ This example uses these core components of Kubernetes:
- [Deployments](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/)
- [Persistent Volume Claims](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims)

In the following we will create the pieces of our Minio Standalone application, that use the above core components.
In the following we will look at the files of our Minio Standalone application/chart, that use the above core components.

### Create the Persistent Volume Claim
### The Persistent Volume Claim

Minio needs persistent storage to store objects. Without persistent storage, the data stored in an application instance will be stored in the container file system, which will be destroyed as soon as the container restarts. This is true for any application needing to persist data on Slate. So, to persist data in your application, use a persistent volume claim, or "PVC".
Minio needs persistent storage to store objects. Without persistent storage, the data stored in an application instance will be stored in the container file system, which will be destroyed as soon as the container restarts. This is true for any application needing to persist data on Slate. So, to persist data in your application use a persistent volume claim, or "PVC".

The file we use to do this is [minio-standalone-pvc.yaml](https://code.ornl.gov/ryu/slate_helm_examples/-/blob/prout-dev/charts/minio-standalone/templates/minio-standalone-pvc.yaml): 

@@ -50,3 +52,10 @@ spec:
    requests:
      storage: 10Gi
```
### The Deployment

### The Service

### The Network Policy

### The Route
 No newline at end of file