Skip to content
Merged
Show file tree
Hide file tree
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
46 changes: 46 additions & 0 deletions packs/piraeus-operator-2.7.1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Piraeus-Operator-Addon

The Piraeus Operator manages
[LINSTOR](https://github.com/LINBIT/linstor-server) clusters in Kubernetes.

All components of the LINSTOR software stack can be managed by the operator:
* DRBD
* LINSTOR
* LINSTOR CSI driver
* LINSTOR High-Availability Controller

# Kubernetes versions supported:
Above 1.21

# Constraints:
The kernel headers need to be installed on the OS prior to installing Piraeus

# Documentation

## [Tutorials](https://piraeus.io/docs/stable/tutorial/)

Tutorials help you get started with Piraeus Operator.

## [How-To Guides](https://piraeus.io/docs/stable/how-to/)

How-To Guides show you how to configure a specific aspect or achieve a specific task with Piraeus Operator.

## [API Reference](https://piraeus.io/docs/stable/reference/)

The API Reference for the Piraeus Operator. Contains documentation of the LINSTOR related resources that the user can
modify or observe.

## [Understanding Piraeus Datastore](https://piraeus.io/docs/stable/explanation/)

These documents explain how Piraeus Datastore works, and why it works the way it does.

## [Upgrades](https://piraeus.io/docs/stable/upgrade/)

Details on the upgrade procedure for Piraeus Datastore.

# Cloud types supported:
Edge Native in Appliance Mode or Agent Mode

# References:
- https://piraeus.io/
- https://github.com/piraeusdatastore/piraeus-operator/
Binary file added packs/piraeus-operator-2.7.1/charts/.DS_Store
Binary file not shown.
Binary file not shown.
23 changes: 23 additions & 0 deletions packs/piraeus-operator-2.7.1/charts/linstor-gui/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
16 changes: 16 additions & 0 deletions packs/piraeus-operator-2.7.1/charts/linstor-gui/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: v2
name: linstor-gui
description: |
The LINSTOR GUI provides a dashboard for Piraeus.
type: application
version: 1.8.2
appVersion: "v1.8.2"
maintainers:
- name: Spectro Cloud
url: https://www.spectrocloud.com
home: https://github.com/LINBIT/linstor-gui
icon: https://raw.githubusercontent.com/piraeusdatastore/piraeus/master/artwork/sandbox-artwork/icon/color.svg
keywords:
- storage
sources:
- https://github.com/LINBIT/linstor-gui
52 changes: 52 additions & 0 deletions packs/piraeus-operator-2.7.1/charts/linstor-gui/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# LINSTOR GUI

[![Open Source](https://img.shields.io/badge/Open-Source-brightgreen)](https://opensource.org/) [![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-brightgreen.svg)](https://opensource.org/licenses/) [![Active](http://img.shields.io/badge/Status-Active-green.svg)](https://linbit.com/linstor) [![GitHub Release](https://img.shields.io/github/release/linbit/linstor-gui.svg?style=flat)](https://github.com/LINBIT/linstor-gui) [![GitHub Commit](https://img.shields.io/github/commit-activity/y/linbit/linstor-gui)](https://github.com/LINBIT/linstor-gui) [![Support](https://img.shields.io/badge/-Enterprise%20Support-f78f22)](https://www.linbit.com/support/) [![Community Forum](https://img.shields.io/badge/-Community%20Forum-1d2a3a)](https://forums.linbit.com/c/linstor/6)

A web-based graphical user interface for LINBIT SDS (LINSTOR®, DRBD®, and related software).

## Description

`linstor-gui` is a web-based graphical user interface (GUI) for LINBIT SDS.
It provides a user-friendly way to create, manage, and monitor LINSTOR storage objects, such as storage pools, resource groups, resources, volumes, and snapshots.
`linstor-gui` communicates with the LINSTOR API to perform various operations, such as creating and deleting storage pools.
The GUI also provides a dashboard that displays information about the LINSTOR cluster, such as the status of nodes and volumes.

## Getting Started

### Running in a Docker container

```
docker build -t linstor-gui .

docker run \
-p 8000:8000 \
-e LB_LINSTOR_API_HOST=http://192.168.123.105:3370 \
-e LB_GATEWAY_API_HOST=http://192.168.123.105:8080 \
linstor-gui

```

LB_LINSTOR_API_HOST is required, LB_GATEWAY_API_HOST is optional, default is `http://localhost:8080`.

## Help

To report a problem with this software or to make a feature request, open an issue within this project.
For help developing or contributing to this software, contact the author.
For support using the software, you can seek help within the [LINBIT Community Forums](https://forums.linbit.com/).
Or as a LINBIT support customer, you can open a support ticket from your LINBIT customer account.

## Authors

- [Liang Li](mailto:[email protected])

## Contributions

Contributions are welcome! Either raise and Github issue if you find a bug or create a pull request if you have a fix or new feature.

## License

This project is licensed under the GPL-3.0 License - see the COPYING file for details

## Acknowledgments

LINSTOR GUI is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{{- if .Values.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: linstor-gui
namespace: piraeus-system
labels:
app: linstor-gui
spec:
replicas: {{ .Values.replicas }}
selector:
matchLabels:
app: linstor-gui
template:
metadata:
labels:
app: linstor-gui
spec:
containers:
- name: linstor-gui
image: {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: 8000
env:
- name: LB_LINSTOR_API_HOST
value: {{ .Values.apiHost }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{- if .Values.enabled }}
apiVersion: v1
kind: Service
metadata:
name: linstor-gui-service
namespace: piraeus-system
spec:
type: {{ .Values.service.type }}
selector:
app: linstor-gui
ports:
- protocol: TCP
port: {{ .Values.service.port | default 8000 }}
targetPort: 8000
{{- if .Values.service.nodePort }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
{{- end }}
13 changes: 13 additions & 0 deletions packs/piraeus-operator-2.7.1/charts/linstor-gui/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
enabled: true
image:
repository: us-docker.pkg.dev/palette-images/packs/csi-piraeus-operator/2.7.1/linstor-gui:v1.8.2
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
replicas: 1
service:
type: NodePort
nodePort: 30337
# type: LoadBalancer
# port: 8000
apiHost: "http://linstor-controller.piraeus-system.svc.cluster.local:3370"
Binary file not shown.
Binary file not shown.
23 changes: 23 additions & 0 deletions packs/piraeus-operator-2.7.1/charts/piraeus-cluster/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
18 changes: 18 additions & 0 deletions packs/piraeus-operator-2.7.1/charts/piraeus-cluster/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: v2
name: piraeus-cluster
description: |
This chart creates the custom resources to form the Piraeus Cluster.
type: application
version: 1.0.0
appVersion: "v1.0.0"
maintainers:
- name: Spectro Cloud
url: https://spectrocloud.com
home: https://spectrocloud.com
icon: https://raw.githubusercontent.com/piraeusdatastore/piraeus/master/artwork/sandbox-artwork/icon/color.svg
keywords:
- storage
sources:
- https://github.com/piraeusdatastore/piraeus-operator
- https://github.com/piraeusdatastore/linstor-csi
- https://github.com/LINBIT/linstor-server
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: piraeus.io/v1
kind: LinstorCluster
metadata:
name: linstorcluster
namespace: piraeus-system
spec:
{{ .Values.cluster.spec | toYaml | indent 2 }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{{- range .Values.linstorNodeConnections }}
---
apiVersion: piraeus.io/v1
kind: LinstorNodeConnection
metadata:
name: {{ .name }}
namespace: piraeus-system
spec:
{{ .spec | toYaml | indent 2 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{{- range .Values.linstorSatelliteConfigurations }}
---
apiVersion: piraeus.io/v1
kind: LinstorSatelliteConfiguration
metadata:
name: {{ .name }}
namespace: piraeus-system
spec:
{{ .spec | toYaml | indent 2 }}
{{- end }}
Loading
Loading