Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Add deployment documentation #38

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/deployment-guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Deploying Container Object Storage Interface (COSI) Controller On Kubernetes

This document describes steps for Kubernetes administrators to setup Container Object Storage Interface Controller (COSI) Controller onto a Kubernetes cluster.

COSI controller can be setup using the [kustomization file](https://github.com/kubernetes-sigs/container-object-storage-interface-controller/blob/master/kustomization.yaml) from the [container-object-storage-interface-controller](https://github.com/kubernetes-sigs/container-object-storage-interface-controller) repository with following command:

```sh
kubectl create -k github.com/kubernetes-sigs/container-object-storage-interface-controller
```
The output should look like the following:
```sh
serviceaccount/objectstorage-controller-sa created
role.rbac.authorization.k8s.io/objectstorage-controller created
clusterrole.rbac.authorization.k8s.io/objectstorage-controller-role created
rolebinding.rbac.authorization.k8s.io/objectstorage-controller created
clusterrolebinding.rbac.authorization.k8s.io/objectstorage-controller created
deployment.apps/objectstorage-controller created
```

The controller will be deployed in the `default` namespace.