cosi-powerscale

command module
v0.0.0-...-af9f1ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

COSI driver for Dell Powerscale (Isilon/OneFS)

Dell Powerscale is ahardware solution specialized in shared filesystem (NFS/CIFS). However, since recent versions, they do support basic S3-like bucket functionalities.

This is a COSI driver (Container Object Storage Interface) in order to automate the creation of buckets in Powerscale.

Installation

You will need an installation of the cosi objectstorage controller:

kubectl create -k github.com/kubernetes-sigs/container-object-storage-interface-api
kubectl create -k github.com/kubernetes-sigs/container-object-storage-interface-controller

(see official documentation for more details)

Then, you can install the cosi-powerscale driver:

helm install nas1 oci://ghcr.io/japannext/helm-charts/cosi-powerscale --version 1.1.0 --values values.yaml

values.yaml example:

---
config:
  name: nas1
  apiEndpoint: https://isilon1.example.comL8080
  # A basicauth secret
  apiSecret: nas1-api-credentials
  basePath: /ifs/kubernetes/production
  zone: examplezone001
  s3Endpoint: https://data.nas1.example.com:9021
  region: ""
  # A ConfigMap with a "ca.crt" key
  tlsCacertConfigMap: ca-bundle

Don't forget to populate the secret for isilon API:

kubectl create secret generic nas1-api-credentials --from-field=username=root --from-field=password=password123

Install the example bucket to test if it's working:

kubectl apply -f examples/

Verify it creates a Bucket object and a Secret:

kubectl get bucket,bucketclaim,bucketaccess

Check the secret for accessing the bucket:

kubectl get secret example-bucket-secret -o jsonpath="{.data.BucketInfo}" | base64 -d

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL