Skip to content

Commit 4664442

Browse files
committed
updated piraeus operator and piraeus operator addon
1 parent da9d25d commit 4664442

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+6031
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Piraeus-Operator-Addon
2+
3+
The Piraeus Operator manages
4+
[LINSTOR](https://github.com/LINBIT/linstor-server) clusters in Kubernetes.
5+
6+
All components of the LINSTOR software stack can be managed by the operator:
7+
* DRBD
8+
* LINSTOR
9+
* LINSTOR CSI driver
10+
* LINSTOR High-Availability Controller
11+
12+
# Kubernetes versions supported:
13+
Above 1.21
14+
15+
# Constraints:
16+
The kernel headers need to be installed on the OS prior to installing Piraeus
17+
18+
# Documentation
19+
20+
## [Tutorials](https://piraeus.io/docs/stable/tutorial/)
21+
22+
Tutorials help you get started with Piraeus Operator.
23+
24+
## [How-To Guides](https://piraeus.io/docs/stable/how-to/)
25+
26+
How-To Guides show you how to configure a specific aspect or achieve a specific task with Piraeus Operator.
27+
28+
## [API Reference](https://piraeus.io/docs/stable/reference/)
29+
30+
The API Reference for the Piraeus Operator. Contains documentation of the LINSTOR related resources that the user can
31+
modify or observe.
32+
33+
## [Understanding Piraeus Datastore](https://piraeus.io/docs/stable/explanation/)
34+
35+
These documents explain how Piraeus Datastore works, and why it works the way it does.
36+
37+
## [Upgrades](https://piraeus.io/docs/stable/upgrade/)
38+
39+
Details on the upgrade procedure for Piraeus Datastore.
40+
41+
# Cloud types supported:
42+
Edge Native in Appliance Mode or Agent Mode
43+
44+
# References:
45+
- https://piraeus.io/
46+
- https://github.com/piraeusdatastore/piraeus-operator/
6 KB
Binary file not shown.
2.56 KB
Binary file not shown.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: v2
2+
name: linstor-gui
3+
description: |
4+
The LINSTOR GUI provides a dashboard for Piraeus.
5+
type: application
6+
version: 1.8.2
7+
appVersion: "v1.8.2"
8+
maintainers:
9+
- name: Spectro Cloud
10+
url: https://www.spectrocloud.com
11+
home: https://github.com/LINBIT/linstor-gui
12+
icon: https://raw.githubusercontent.com/piraeusdatastore/piraeus/master/artwork/sandbox-artwork/icon/color.svg
13+
keywords:
14+
- storage
15+
sources:
16+
- https://github.com/LINBIT/linstor-gui
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# LINSTOR GUI
2+
3+
[![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)
4+
5+
A web-based graphical user interface for LINBIT SDS (LINSTOR®, DRBD®, and related software).
6+
7+
## Description
8+
9+
`linstor-gui` is a web-based graphical user interface (GUI) for LINBIT SDS.
10+
It provides a user-friendly way to create, manage, and monitor LINSTOR storage objects, such as storage pools, resource groups, resources, volumes, and snapshots.
11+
`linstor-gui` communicates with the LINSTOR API to perform various operations, such as creating and deleting storage pools.
12+
The GUI also provides a dashboard that displays information about the LINSTOR cluster, such as the status of nodes and volumes.
13+
14+
## Getting Started
15+
16+
### Running in a Docker container
17+
18+
```
19+
docker build -t linstor-gui .
20+
21+
docker run \
22+
-p 8000:8000 \
23+
-e LB_LINSTOR_API_HOST=http://192.168.123.105:3370 \
24+
-e LB_GATEWAY_API_HOST=http://192.168.123.105:8080 \
25+
linstor-gui
26+
27+
```
28+
29+
LB_LINSTOR_API_HOST is required, LB_GATEWAY_API_HOST is optional, default is `http://localhost:8080`.
30+
31+
## Help
32+
33+
To report a problem with this software or to make a feature request, open an issue within this project.
34+
For help developing or contributing to this software, contact the author.
35+
For support using the software, you can seek help within the [LINBIT Community Forums](https://forums.linbit.com/).
36+
Or as a LINBIT support customer, you can open a support ticket from your LINBIT customer account.
37+
38+
## Authors
39+
40+
- [Liang Li](mailto:[email protected])
41+
42+
## Contributions
43+
44+
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.
45+
46+
## License
47+
48+
This project is licensed under the GPL-3.0 License - see the COPYING file for details
49+
50+
## Acknowledgments
51+
52+
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.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{{- if .Values.enabled }}
2+
apiVersion: apps/v1
3+
kind: Deployment
4+
metadata:
5+
name: linstor-gui
6+
namespace: piraeus-system
7+
labels:
8+
app: linstor-gui
9+
spec:
10+
replicas: {{ .Values.replicas }}
11+
selector:
12+
matchLabels:
13+
app: linstor-gui
14+
template:
15+
metadata:
16+
labels:
17+
app: linstor-gui
18+
spec:
19+
containers:
20+
- name: linstor-gui
21+
image: {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}
22+
imagePullPolicy: {{ .Values.image.pullPolicy }}
23+
ports:
24+
- containerPort: 8000
25+
env:
26+
- name: LB_LINSTOR_API_HOST
27+
value: {{ .Values.apiHost }}
28+
{{- end }}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{{- if .Values.enabled }}
2+
apiVersion: v1
3+
kind: Service
4+
metadata:
5+
name: linstor-gui-service
6+
namespace: piraeus-system
7+
spec:
8+
type: {{ .Values.service.type }}
9+
selector:
10+
app: linstor-gui
11+
ports:
12+
- protocol: TCP
13+
port: {{ .Values.service.port | default 8000 }}
14+
targetPort: 8000
15+
{{- if .Values.service.nodePort }}
16+
nodePort: {{ .Values.service.nodePort }}
17+
{{- end }}
18+
{{- end }}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
enabled: true
2+
image:
3+
repository: us-docker.pkg.dev/palette-images/packs/csi-piraeus-operator/2.7.1/linstor-gui:v1.8.2
4+
pullPolicy: IfNotPresent
5+
# Overrides the image tag whose default is the chart appVersion.
6+
tag: ""
7+
replicas: 1
8+
service:
9+
type: NodePort
10+
nodePort: 30337
11+
# type: LoadBalancer
12+
# port: 8000
13+
apiHost: "http://linstor-controller.piraeus-system.svc.cluster.local:3370"
13.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)