efs-provisioner-operator

module
v0.0.0-...-2396437 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0

README

efs-provisioner-operator

Operator for the EFS provisioner

Usage

OLM

TODO

YAML
  1. Create CRD, namespace, RBAC rules, service account, & operator
$ oc apply -f ./deploy/
  1. Edit the CR and create it
$ oc create -f ./deploy/crds/efs_v1alpha1_efsprovisioner_cr.yaml -n=openshift-efs-provisioner-operator
  1. Describe the CR to get the status as the operator reconciles the CR
  2. Edit the CR to make configuration changes as needed

Conventional (non-operator) deployment

The operator automatically creates and manages the assets in assets/. It is possible also to create and manage them yourself.

See also: https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs

  1. Create storage class and cluster RBAC rules
$ oc create -f assets/class.yaml -f assets/clusterrole.yaml -f assets/clusterrolebinding.yaml
  1. Create a namespace
$ oc create ns efs-provisioner
  1. Create namespace RBAC rules
$ oc create -f assets/role.yaml -f assets/rolebinding.yaml -f assets/serviceaccount.yaml -n efs-provisioner
  1. Edit the deployment and create it
$ oc create -f assets/deployment.yaml -n efs-provisioner
  1. Describe the deployment to get its status
  2. Edit the deployment or edit/recreate the storage class to make configuration changes as needed

Directories

Path Synopsis
cmd
pkg
apis/efs/v1alpha1
Package v1alpha1 contains API Schema definitions for the efs v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=efs.storage.openshift.io Package v1alpha1 contains API Schema definitions for the efs v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=efs.storage.openshift.io
Package v1alpha1 contains API Schema definitions for the efs v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=efs.storage.openshift.io Package v1alpha1 contains API Schema definitions for the efs v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=efs.storage.openshift.io

Jump to

Keyboard shortcuts

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