-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kubemq/kubemq-cluster: - 2.4.0 linkerd/linkerd-control-plane: - 2024.9.1 linkerd/linkerd-crds: - 2024.9.1 speedscale/speedscale-operator: - 2.2.372
- Loading branch information
1 parent
a22223b
commit 2f77170
Showing
121 changed files
with
19,391 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# 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 | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dependencies: | ||
- name: kubemq-crds | ||
repository: https://kubemq-io.github.io/charts | ||
version: 2.3.7 | ||
- name: kubemq-controller | ||
repository: https://kubemq-io.github.io/charts | ||
version: 1.9.3 | ||
digest: sha256:c9b644d18249502f1f7ceb749b408da3844e9a5005da89ed03079cbed68de63b | ||
generated: "2023-03-18T13:35:49.5815949+02:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
annotations: | ||
catalog.cattle.io/certified: partner | ||
catalog.cattle.io/display-name: KubeMQ Cluster | ||
catalog.cattle.io/kube-version: '>=1.21-0' | ||
catalog.cattle.io/release-name: kubemq-cluster | ||
apiVersion: v2 | ||
appVersion: 2.9.3 | ||
description: A Helm chart for KubeMQ Cluster, Kubernetes Message Queue Broker | ||
icon: file://assets/icons/kubemq-cluster.svg | ||
kubeVersion: '>=1.21-0' | ||
maintainers: | ||
- email: info@kubemq.io | ||
name: KubeMQ | ||
url: https://kubemq.io | ||
name: kubemq-cluster | ||
type: application | ||
version: 2.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# kubemq-cluster | ||
|
||
`kubemq-cluster` is the Helm chart that installs the KubeMQ Cluster. | ||
|
||
## Installing | ||
|
||
For example: | ||
```console | ||
$ helm repo add kubemq-charts https://kubemq-io.github.io/charts | ||
$ helm install --create-namespace -n kubemq kubemq-cluster kubemq-charts/kubemq-cluster | ||
``` | ||
## Upgrading the charts | ||
|
||
Please refer to the release notes of each version of the helm charts. | ||
These can be found [here](https://github.com/kubemq/helm-charts/releases). | ||
|
||
## Uninstalling the charts | ||
|
||
To uninstall/delete kubemq-cluster use the following command: | ||
|
||
```console | ||
$ helm uninstall -n kubemq kubemq-cluster | ||
``` | ||
The commands remove all the Kubernetes components associated with the chart. | ||
|
||
If you want to keep the history use `--keep-history` flag. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# KubeMQ Charts | ||
KubeMQ is a Cloud Native, enterprise grade message queue broker for distributed services architecture. | ||
|
||
KubeMQ is delivered as a small, lightweight Docker container, designed for any type of workload and architecture running in Kubernetes or any other containers orchestration system which support Docker. | ||
|
||
## HELM | ||
KubeMQ Helm charts required Helm v3. Please download/upgrade from [https://github.com/helm/helm](https://github.com/helm/helm) | ||
|
||
## Add KubeMQ Helm Repository | ||
|
||
``` | ||
$ helm repo add kubemq-charts https://kubemq-io.github.io/charts | ||
``` | ||
|
||
Verify KubeMQ helm repository charts is properly configured by: | ||
|
||
## Update KubeMQ Helm Repository | ||
``` | ||
$ helm repo update | ||
``` | ||
|
||
## Install KubeMQ Cluster Chart | ||
|
||
``` console | ||
$ helm install kubemq-crds kubemq-charts/kubemq-crds | ||
$ helm install --wait --create-namespace -n kubemq kubemq-controller kubemq-charts/kubemq-controller | ||
$ helm install --wait -n kubemq kubemq-cluster --set key={your-license-key} kubemq-charts/kubemq-cluster | ||
``` | ||
|
||
## Uninstall KubeMQ Cluster Chart | ||
|
||
To uninstall/delete the kubemq-release deployment: | ||
|
||
``` console | ||
$ helm uninstall -n kubemq kubemq-cluster | ||
$ helm uninstall -n kubemq kubemq-controller | ||
$ helm uninstall kubemq-crds | ||
``` | ||
|
||
``` | ||
## Documentation | ||
Please visit [https://docs.kubemq.io](https://docs.kubemq.io) for more information about KubeMQ. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
questions: | ||
- variable: key | ||
default: "" | ||
required: true | ||
label: KubeMQ Key | ||
type: string | ||
description: "KubeMQ Key - Register at https://kubemq.io" | ||
group: "General Settings" | ||
- variable: replicas | ||
default: 3 | ||
required: true | ||
label: replicas | ||
type: int | ||
description: "Number of replicas of KubeMQ Nodes" | ||
group: "General Settings" | ||
- variable: image.image | ||
default: "kubemq/kubemq:latest" | ||
required: false | ||
label: Image Repository | ||
type: string | ||
description: "KubeMQ Image Repository" | ||
group: "General Settings" | ||
- variable: volume.size | ||
default: "" | ||
required: false | ||
label: Persistent Volume Size | ||
type: string | ||
description: "You can set this to a specific size, e.g. 10Gi, or leave it blank for not using persistent storage" | ||
group: "General Settings" | ||
- variable: volume.storageClass | ||
default: "" | ||
required: false | ||
label: Persistent Volume Storage Class | ||
type: string | ||
description: "You can set this to a specific storage class, e.g. local-path, or leave it blank for using the default storage class" | ||
group: "General Settings" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
|
||
|
||
{{/*{{- define "kubemq.name" -}}*/}} | ||
{{/*{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}*/}} | ||
{{/*{{- end -}}*/}} | ||
|
||
{{- define "kubemq.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "kubemq.fullname" -}} | ||
{{- if .Values.fullnameOverride -}} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.nameOverride -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Generate chart secret name | ||
*/}} | ||
{{- define "kubemq.secretName" -}} | ||
{{ default (include "kubemq.fullname" .) .Values.existingSecret }} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create the name of the service account to use | ||
*/}} | ||
{{- define "mychart.serviceAccountName" -}} | ||
{{- if .Values.serviceAccount.create -}} | ||
{{ default (include "mychart.fullname" .) .Values.serviceAccount.name }} | ||
{{- else -}} | ||
{{ default "default" .Values.serviceAccount.name }} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{- define "kubemq.crbName" -}} | ||
{{- printf "kubemq-operator-%s-crb" .Release.Namespace -}} | ||
{{- end -}} |
21 changes: 21 additions & 0 deletions
21
charts/kubemq/kubemq-cluster/2.4.0/templates/kubemqcluster.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: core.k8s.kubemq.io/v1beta1 | ||
kind: KubemqCluster | ||
metadata: | ||
name: {{ include "kubemq.fullname" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app: {{ include "kubemq.fullname" . }} | ||
chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
heritage: {{ .Release.Service }} | ||
release: {{ .Release.Name }} | ||
spec: | ||
{{- if or .Values.key .Values.license }} | ||
{{- if .Values.key }} | ||
key: {{ .Values.key }} | ||
{{- else if .Values.license }} | ||
license: {{ .Values.license }} | ||
{{- end }} | ||
{{- else }} | ||
{{- fail "Either .Values.key or .Values.license must be provided" }} | ||
{{- end }} | ||
{{ toYaml .Values | indent 2 }} |
12 changes: 12 additions & 0 deletions
12
charts/kubemq/kubemq-cluster/2.4.0/templates/role_binding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
kind: RoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: kubemq-cluster-rb | ||
subjects: | ||
- kind: ServiceAccount | ||
name: kubemq-cluster | ||
namespace: {{ .Release.Namespace }} | ||
roleRef: | ||
kind: Role | ||
name: kubemq-cluster-role | ||
apiGroup: rbac.authorization.k8s.io |
5 changes: 5 additions & 0 deletions
5
charts/kubemq/kubemq-cluster/2.4.0/templates/service_account.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: kubemq-cluster | ||
namespace: {{ .Release.Namespace }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
key: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
# Number of replicas of KubeMQ Nodes - https://docs.kubemq.io/configuration/cluster/default-template | ||
replicas: 3 | ||
|
||
# KubeMQ license key | ||
key: kubemq license key | ||
|
||
# KubeMQ license data - https://docs.kubemq.io/configuration/cluster/set-license | ||
license: kubemq license data | ||
|
||
# KubeMQ Volume Configuration - https://docs.kubemq.io/configuration/cluster/set-persistence-volume | ||
volume: | ||
size: 10Gi | ||
storageClass: default | ||
|
||
# KubeMQ docker image - https://docs.kubemq.io/configuration/cluster/set-cluster-image | ||
image: | ||
image: kubemq/kubemq:latest | ||
pullPolicy: Always | ||
|
||
|
||
# KubeMQ Api interface - https://docs.kubemq.io/configuration/cluster/set-api-interface | ||
api: | ||
disabled: false | ||
expose: NodePort | ||
nodePort: 32080 | ||
port: 8080 | ||
|
||
# KubeMQ gRPC interface - https://docs.kubemq.io/configuration/cluster/set-grpc-interface | ||
grpc: | ||
disabled: false | ||
expose: NodePort | ||
nodePort: 32000 | ||
port: 50000 | ||
bodyLimit: 10000000 | ||
# KubeMQ REST interface - https://docs.kubemq.io/configuration/cluster/set-rest-interface | ||
rest: | ||
bodyLimit: 1000000 | ||
disabled: true | ||
expose: NodePort | ||
nodePort: 32090 | ||
port: 9090 | ||
|
||
# KubeMQ Authentication Configuration - https://docs.kubemq.io/configuration/cluster/set-authentication | ||
authentication: | ||
key: jwt | ||
type: jwt token type | ||
|
||
# KubeMQ Authorization Configuration - https://docs.kubemq.io/configuration/cluster/set-authorization | ||
authorization: | ||
autoReload: 300000 | ||
policy: policy type | ||
url: remote url | ||
|
||
# KubeMQ Health Configuration - https://docs.kubemq.io/configuration/cluster/set-health-probe | ||
health: | ||
failureThreshold: 3 | ||
initialDelaySeconds: 3 | ||
periodSeconds: 4 | ||
successThreshold: 1 | ||
timeoutSeconds: 10 | ||
|
||
# KubeMQ Logging Configuration - https://docs.kubemq.io/configuration/cluster/set-logs | ||
log: | ||
file: path to log file | ||
level: 1 | ||
|
||
# KubeMQ NodeSelectors Configuration - https://docs.kubemq.io/configuration/cluster/set-node-selectors | ||
nodeSelectors: | ||
keys: | ||
key: value | ||
|
||
# KubeMQ Queue Configuration - https://docs.kubemq.io/configuration/cluster/set-queues-settings | ||
queue: | ||
defaultVisibilitySeconds: 0 | ||
defaultWaitTimeoutSeconds: 0 | ||
maxDelaySeconds: 0 | ||
maxExpirationSeconds: 0 | ||
maxReQueues: 0 | ||
maxReceiveMessagesRequest: 0 | ||
maxVisibilitySeconds: 0 | ||
maxWaitTimeoutSeconds: 0 | ||
|
||
# KubeMQ Resources Configuration - https://docs.kubemq.io/configuration/cluster/set-resources-limits | ||
resources: | ||
limitsCpu: "3" | ||
limitsEphemeralStorage: 100Gi | ||
limitsMemory: 2Gi | ||
requestsCpu: "3" | ||
requestsEphemeralStorage: 200Gi | ||
requestsMemory: 4Gi | ||
|
||
# KubeMQ Routing Configuration - https://docs.kubemq.io/configuration/cluster/set-routing | ||
routing: | ||
autoReload: 300000 | ||
data: routing data | ||
url: routing url | ||
|
||
# KubeMQ Cluster Configuration - when standalone is true, KubeMQ will run as a single node | ||
standalone: false | ||
|
||
# KubeMQ Store Configuration - https://docs.kubemq.io/configuration/cluster/set-store-settings | ||
store: | ||
clean: true | ||
maxChannelSize: 0 | ||
maxChannels: 0 | ||
maxMessages: 0 | ||
maxSubscribers: 0 | ||
messagesRetentionMinutes: 0 | ||
path: path to store | ||
purgeInactiveMinutes: 0 | ||
|
||
# KubeMQ TLS Configuration - https://docs.kubemq.io/configuration/cluster/set-tls | ||
tls: | ||
ca: ca data | ||
cert: cert data | ||
key: key data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.