Skip to content

Commit

Permalink
Migrate charts directory (vendors starting with Q-Z) (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkpickering authored Jul 8, 2024
1 parent 91a6f4f commit d5c00e2
Show file tree
Hide file tree
Showing 15,846 changed files with 2,021,659 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
File renamed without changes.
File renamed without changes.
File renamed without changes.
19 changes: 19 additions & 0 deletions charts/quobyte/quobyte-cluster/0.1.8/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
annotations:
catalog.cattle.io/certified: partner
catalog.cattle.io/display-name: Quobyte Cluster Deployment
catalog.cattle.io/kube-version: 1.20-0 - 1.25-0
catalog.cattle.io/release-name: quobyte-cluster
apiVersion: v2
appVersion: "3"
description: Quobyte Cluster Helm Chart Deployment
home: https://www.quobyte.com
icon: https://quobyte.github.io/quobyte-k8s-resources/images/quobyte.png
keywords:
- quobyte
- storage
kubeVersion: 1.20-0 - 1.25-0
name: quobyte-cluster
sources:
- https://github.com/quobyte/quobyte-k8s-resources
type: application
version: 0.1.8
33 changes: 33 additions & 0 deletions charts/quobyte/quobyte-cluster/0.1.8/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Quobyte Cluster Helm Chart

This Helm Chart will install a Quobyte storage cluster.

## Preparation

You need to specify the infrastructure provider to provision
storage devices. A sample "values.yaml" looks like this:

```
quobyte:
# Name depends on the cloud environment, e.g. pd-ssd for Google Kubernetes Engine
# flashStorage: "gp2" # AWS general purpose SSD
# flashStorage: "Standard_LRS" # Azure "Standard Locally Redundant Storage"
flashStorage: "pd-ssd"
# Storage provider depending to the cloud environment
# storageProvisioner: "kubernetes.io/aws-ebs"
# storageProvisioner: "kubernetes.io/azure-disk"
storageProvisioner: "kubernetes.io/gce-pd"
```

You can inspect the values.yaml for other values to modify, but default should work.

This Helm Chart can be installed as usual:

```
helm repo add quobyte https://quobyte.github.io/quobyte-k8s-resources/helm-charts
helm repo update
helm install my-storage-cluster quobyte/quobyte-cluster
```


26 changes: 26 additions & 0 deletions charts/quobyte/quobyte-cluster/0.1.8/app-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Quobyte Storage Cluster

This Helm Chart will install a Quobyte storage cluster:
https://www.quobyte.com

Quobyte is a software defined, distributed storage system.

It allows parallel access from thousands of clients.

From a Kubernetes point of view it supports dynamic volume
provisioning with

* Multi Tenancy
* Encryption at Rest
* ReadWriteMany

To read about the full feature set have a look at the Quobyte documentation:

https://docs.quobyte.com/

or the more generic product overview:

https://www.quobyte.com/product/

For a detailed description of possbile configuration options comments and defaults in
values.yaml.
24 changes: 24 additions & 0 deletions charts/quobyte/quobyte-cluster/0.1.8/questions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
questions:
- variable: quobyte.storageProvisioner
default: kubernetes.io/gce-pd
required: true
type: string
label: Storage Provisioner
description: >
The provisioner Quobyte uses to provision storage devices.
For example "kubernetes.io/gce-pd" on Google GKE, "kubernetes.io/aws-ebs" on AWS.
- variable: quobyte.flashStorage
default: pd-ssd
required: true
type: string
label: Storage Class
description: >
The cloud provider storage class Quobyte uses when provisioning fast storage devices.
For example "pd-ssd" on Google GKE, "gp2" on AWS.
- variable: quobyte.replicas
default: 3
required: false
label: Service Replicas
description: >
The number of service replicas for each Quobyte service (registry, metadata, data).
Must not be greater than number of available nodes.
10 changes: 10 additions & 0 deletions charts/quobyte/quobyte-cluster/0.1.8/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Welcome to Quobyte :)

You just installed a truly scalable storage cluster.

You can now log in to the quobyte web console. To get the
webconsole address you can get the k8s service like this:

$ kubectl get svc/quobyte-webui


76 changes: 76 additions & 0 deletions charts/quobyte/quobyte-cluster/0.1.8/templates/api-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: quobyte-api
spec:
selector:
matchLabels:
app: quobyte-api # has to match .spec.template.metadata.labels
replicas: {{ .Values.quobyte.replicas }} # by default is 4
template:
metadata:
labels:
app: quobyte-api # has to match .spec.selector.matchLabels
annotations:
timestamp: "{{ now }}"
spec:
terminationGracePeriodSeconds: 10
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: quobyte-api
image: {{ .Values.quobyte.image }}
imagePullPolicy: Always
env:
- name: NODENAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: MY_POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: HOST_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: QUOBYTE_DATA_PORT
value: "7863"
- name: QUOBYTE_META_PORT
value: "7862"
- name: QUOBYTE_REG_PORT
value: "7861"
- name: QUOBYTE_API_PORT
value: "7860"
- name: QUOBYTE_S3_PORT
value: "8484"
- name: CLOUD_INSTALL
value: "1"
- name: QUOBYTE_SERVICE
value: api
- name: QUOBYTE_REGISTRY
value: _quobyte._tcp.quobyte.{{ .Release.Namespace }}.svc.cluster.local
- name: CLUSTER_NS
value: {{ .Release.Namespace }}
- name: LIMIT_OPEN_FILES
value: "{{ .Values.quobyte.maxopenfiles }}"
- name: LIMIT_MAX_PROCESSES
value: "{{ .Values.quobyte.maxprocs }}"
ports:
- containerPort: 7860
name: quobyteapi
{{- if .Values.nodepoolname }}
nodeSelector:
storage-node-pool: {{ .Values.nodepoolname }}
{{- end }}
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- quobyte
topologyKey: "kubernetes.io/hostname"
17 changes: 17 additions & 0 deletions charts/quobyte/quobyte-cluster/0.1.8/templates/api-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
# This is a headless service in order to get svc entries in kube-dns
apiVersion: v1
kind: Service
metadata:
name: quobyte-api
labels:
app: quobyte-api
spec:
ports:
- port: 7860
name: "quobyte"
protocol: "TCP"
targetPort: 7860
selector:
app: quobyte-api

Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: quobyte-data
spec:
selector:
matchLabels:
app: quobyte-data # has to match .spec.template.metadata.labels
serviceName: "quobyte-data"
replicas: {{ .Values.quobyte.replicas }} # by default is 4
template:
metadata:
labels:
app: quobyte-data # has to match .spec.selector.matchLabels
annotations:
timestamp: "{{ now }}"
spec:
terminationGracePeriodSeconds: 10
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
initContainers:
- name: quobyte-data-pre
image: {{ .Values.quobyte.image }}
env:
- name: NODENAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: MY_POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: HOST_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: QUOBYTE_DATA_PORT
value: "7863"
- name: QUOBYTE_META_PORT
value: "7862"
- name: QUOBYTE_REG_PORT
value: "7861"
- name: QUOBYTE_API_PORT
value: "7860"
- name: QUOBYTE_S3_PORT
value: "8484"
- name: QUOBYTE_SERVICE
value: data
- name: CLOUD_INSTALL
value: "1"
- name: CLUSTER_NS
value: {{ .Release.Namespace }}
- name: LIMIT_OPEN_FILES
value: "{{ .Values.quobyte.maxopenfiles }}"
- name: LIMIT_MAX_PROCESSES
value: "{{ .Values.quobyte.maxprocs }}"
volumeMounts:
- name: config
mountPath: /etc/quobyte
{{- range .Values.quobyte.datadisks }}
- name: {{ .name }}
mountPath: {{ .mountpoint }}
{{- end }}
command:
- /bin/sh
- -xc
- |
touch /etc/quobyte/$QUOBYTE_SERVICE.cfg
echo test.device_dir=/var/lib/quobyte/devices >> /etc/quobyte/data.cfg
echo rpc.bind.address=${MY_POD_IP} >> /etc/quobyte/data.cfg
echo hostname=${HOSTNAME} >> /etc/quobyte/data.cfg
for j in $(ls -d /var/lib/quobyte/devices/data*)
do
i=$(basename $j)
if [ ! -e /var/lib/quobyte/devices/${i}/QUOBYTE_DEV_SETUP ];then
/usr/bin/qmkdev -d -t DATA /var/lib/quobyte/devices/${i}
fi
done
containers:
- name: quobyte-data
image: {{ .Values.quobyte.image }}
imagePullPolicy: Always
env:
- name: NODENAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: MY_POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: HOST_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: QUOBYTE_DATA_PORT
value: "7863"
- name: QUOBYTE_META_PORT
value: "7862"
- name: QUOBYTE_REG_PORT
value: "7861"
- name: QUOBYTE_API_PORT
value: "7860"
- name: QUOBYTE_S3_PORT
value: "8484"
- name: QUOBYTE_SERVICE
value: data
- name: CLOUD_INSTALL
value: "1"
- name: CLUSTER_NS
value: {{ .Release.Namespace }}
- name: QUOBYTE_REGISTRY
value: _quobyte._tcp.quobyte.{{ .Release.Namespace }}.svc.cluster.local
- name: LIMIT_OPEN_FILES
value: "{{ .Values.quobyte.maxopenfiles }}"
- name: LIMIT_MAX_PROCESSES
value: "{{ .Values.quobyte.maxprocs }}"
ports:
- containerPort: 7863
name: quobyte-data
volumeMounts:
- name: config
mountPath: /etc/quobyte
{{- range .Values.quobyte.datadisks }}
- name: {{ .name }}
mountPath: {{ .mountpoint }}
{{- end }}
{{- if .Values.nodepoolname }}
nodeSelector:
storage-node-pool: {{ .Values.nodepoolname }}
{{- end }}
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- quobyte
topologyKey: "kubernetes.io/hostname"
volumeClaimTemplates:
- metadata:
name: config
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 10Gi
{{- range .Values.quobyte.datadisks }}
- metadata:
name: {{ .name }}
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: "faster"
resources:
requests:
storage: {{ .size }}
{{- end }}

Loading

0 comments on commit d5c00e2

Please sign in to comment.