├── CNAME ├── .github ├── FUNDING.yml ├── dependabot.yml └── workflows │ └── release.yml ├── chart-releaser.yaml ├── .editorconfig ├── charts ├── soketi │ ├── templates │ │ ├── serviceaccount.yaml │ │ ├── tests │ │ │ └── test-connection.yaml │ │ ├── service-metrics.yaml │ │ ├── bullmq-serviceaccount.yaml │ │ ├── bullmq-service-metrics.yaml │ │ ├── servicemonitor.yaml │ │ ├── pdb.yaml │ │ ├── bullmq-pdb.yaml │ │ ├── bullmq-servicemonitor.yaml │ │ ├── service-cluster.yaml │ │ ├── service.yaml │ │ ├── serviceaccount-role.yaml │ │ ├── bullmq-service.yaml │ │ ├── ingress.yaml │ │ ├── hpa.yaml │ │ ├── NOTES.txt │ │ ├── _helpers.tpl │ │ ├── bullmq-deployment.yaml │ │ └── deployment.yaml │ ├── .helmignore │ ├── Chart.yaml │ ├── README.md │ └── values.yaml └── k8soketi │ ├── templates │ ├── serviceaccount.yaml │ ├── tests │ │ └── test-connection.yaml │ ├── service-metrics.yaml │ ├── pdb.yaml │ ├── servicemonitor.yaml │ ├── service-ws-peer.yaml │ ├── service.yaml │ ├── serviceaccount-role.yaml │ ├── ingress.yaml │ ├── hpa.yaml │ ├── _helpers.tpl │ ├── NOTES.txt │ └── deployment.yaml │ ├── .helmignore │ ├── Chart.yaml │ ├── README.md │ └── values.yaml ├── README.md ├── CONTRIBUTING.md ├── LICENSE └── index.yaml /CNAME: -------------------------------------------------------------------------------- 1 | helm.soketi.app 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: rennokki 2 | -------------------------------------------------------------------------------- /chart-releaser.yaml: -------------------------------------------------------------------------------- 1 | pages-branch: master 2 | charts_repo_url: https://helm.soketi.app/charts 3 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: github-actions 4 | directory: "/" 5 | schedule: 6 | interval: weekly 7 | open-pull-requests-limit: 10 8 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = space 8 | indent_size = 4 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | 14 | [*.{yml,yaml,json}] 15 | indent_size = 2 16 | -------------------------------------------------------------------------------- /charts/soketi/templates/serviceaccount.yaml: -------------------------------------------------------------------------------- 1 | {{- if .Values.serviceAccount.create -}} 2 | apiVersion: v1 3 | kind: ServiceAccount 4 | metadata: 5 | name: {{ include "soketi.serviceAccountName" . }} 6 | labels: 7 | {{- include "soketi.labels" . | nindent 4 }} 8 | {{- with .Values.serviceAccount.annotations }} 9 | annotations: 10 | {{- toYaml . | nindent 4 }} 11 | {{- end }} 12 | {{- end }} 13 | -------------------------------------------------------------------------------- /charts/k8soketi/templates/serviceaccount.yaml: -------------------------------------------------------------------------------- 1 | {{- if .Values.serviceAccount.create -}} 2 | apiVersion: v1 3 | kind: ServiceAccount 4 | metadata: 5 | name: {{ include "soketi.serviceAccountName" . }} 6 | labels: 7 | {{- include "soketi.labels" . | nindent 4 }} 8 | {{- with .Values.serviceAccount.annotations }} 9 | annotations: 10 | {{- toYaml . | nindent 4 }} 11 | {{- end }} 12 | {{- end }} 13 | -------------------------------------------------------------------------------- /charts/k8soketi/.helmignore: -------------------------------------------------------------------------------- 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/ 24 | -------------------------------------------------------------------------------- /charts/soketi/.helmignore: -------------------------------------------------------------------------------- 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/ 24 | -------------------------------------------------------------------------------- /charts/soketi/templates/tests/test-connection.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: "{{ include "soketi.fullname" . }}-test-connection" 5 | labels: 6 | {{- include "soketi.labels" . | nindent 4 }} 7 | annotations: 8 | "helm.sh/hook": test 9 | spec: 10 | containers: 11 | - name: wget 12 | image: busybox 13 | command: ['wget'] 14 | args: ['{{ include "soketi.fullname" . }}:{{ .Values.service.port }}'] 15 | restartPolicy: Never 16 | -------------------------------------------------------------------------------- /charts/k8soketi/templates/tests/test-connection.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: "{{ include "soketi.fullname" . }}-test-connection" 5 | labels: 6 | {{- include "soketi.labels" . | nindent 4 }} 7 | annotations: 8 | "helm.sh/hook": test 9 | spec: 10 | containers: 11 | - name: wget 12 | image: busybox 13 | command: ['wget'] 14 | args: ['{{ include "soketi.fullname" . }}:{{ .Values.service.port }}'] 15 | restartPolicy: Never 16 | -------------------------------------------------------------------------------- /charts/soketi/templates/service-metrics.yaml: -------------------------------------------------------------------------------- 1 | {{- if .Values.serviceMonitor.enabled }} 2 | apiVersion: v1 3 | kind: Service 4 | metadata: 5 | name: {{ include "soketi.fullname" . }}-metrics 6 | labels: 7 | {{- include "soketi.labels" . | nindent 4 }} 8 | spec: 9 | type: ClusterIP 10 | ports: 11 | - port: 9601 12 | targetPort: 9601 13 | protocol: TCP 14 | name: metrics 15 | selector: 16 | {{- include "soketi.selectorLabels" . | nindent 4 }} 17 | {{- end }} 18 | -------------------------------------------------------------------------------- /charts/soketi/templates/bullmq-serviceaccount.yaml: -------------------------------------------------------------------------------- 1 | {{- if and .Values.bullExporter.enabled .Values.bullExporter.serviceAccount.create -}} 2 | apiVersion: v1 3 | kind: ServiceAccount 4 | metadata: 5 | name: {{ include "soketi.serviceAccountName" . }}-bullmq-exporter 6 | labels: 7 | {{- include "soketi.bullExporterLabels" . | nindent 4 }} 8 | {{- with .Values.bullExporter.serviceAccount.annotations }} 9 | annotations: 10 | {{- toYaml . | nindent 4 }} 11 | {{- end }} 12 | {{- end }} 13 | -------------------------------------------------------------------------------- /charts/soketi/templates/bullmq-service-metrics.yaml: -------------------------------------------------------------------------------- 1 | {{- if and .Values.bullExporter.enabled .Values.bullExporter.serviceMonitor.enabled }} 2 | apiVersion: v1 3 | kind: Service 4 | metadata: 5 | name: {{ include "soketi.fullname" . }}-bullmq-exporter-metrics 6 | labels: 7 | {{- include "soketi.bullExporterLabels" . | nindent 4 }} 8 | spec: 9 | type: ClusterIP 10 | ports: 11 | - port: 9538 12 | targetPort: 9538 13 | protocol: TCP 14 | name: bull-metrics 15 | selector: 16 | {{- include "soketi.bullExporterSelectorLabels" . | nindent 4 }} 17 | {{- end }} 18 | -------------------------------------------------------------------------------- /charts/k8soketi/templates/service-metrics.yaml: -------------------------------------------------------------------------------- 1 | {{- if or .Values.metrics.enabled .Values.serviceMonitor.enabled }} 2 | apiVersion: v1 3 | kind: Service 4 | metadata: 5 | name: {{ include "soketi.fullname" . }}-metrics 6 | labels: 7 | {{- include "soketi.labels" . | nindent 4 }} 8 | spec: 9 | type: ClusterIP 10 | ports: 11 | - port: {{ .Values.metrics.service.port }} 12 | targetPort: {{ .Values.metrics.service.port }} 13 | protocol: TCP 14 | name: metrics 15 | selector: 16 | {{- include "soketi.selectorLabels" . | nindent 4 }} 17 | ws.soketi.app/serves-metrics: "yes" 18 | {{- end }} 19 | -------------------------------------------------------------------------------- /charts/soketi/templates/servicemonitor.yaml: -------------------------------------------------------------------------------- 1 | {{- if .Values.serviceMonitor.enabled }} 2 | apiVersion: monitoring.coreos.com/v1 3 | kind: ServiceMonitor 4 | metadata: 5 | name: {{ include "soketi.fullname" . }} 6 | labels: 7 | {{- include "soketi.labels" . | nindent 4 }} 8 | spec: 9 | namespaceSelector: 10 | matchNames: 11 | - {{ .Release.Namespace }} 12 | selector: 13 | matchLabels: 14 | {{- include "soketi.selectorLabels" . | nindent 6 }} 15 | endpoints: 16 | - port: metrics 17 | interval: {{ .Values.serviceMonitor.scrapeInterval }} 18 | scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }} 19 | {{- end }} 20 | -------------------------------------------------------------------------------- /charts/soketi/templates/pdb.yaml: -------------------------------------------------------------------------------- 1 | {{- if or (and .Values.autoscaling.enabled (gt (.Values.autoscaling.minReplicas | int) 1)) (gt (.Values.replicaCount | int) 1) -}} 2 | apiVersion: policy/v1 3 | kind: PodDisruptionBudget 4 | metadata: 5 | labels: 6 | {{- include "soketi.labels" . | nindent 4 }} 7 | name: {{ include "soketi.fullname" . }} 8 | spec: 9 | selector: 10 | matchLabels: 11 | {{- include "soketi.selectorLabels" . | nindent 6 }} 12 | {{- if .Values.pdb.minAvailable }} 13 | minAvailable: {{ .Values.pdb.minAvailable }} 14 | {{- end }} 15 | {{- if .Values.pdb.maxUnavailable }} 16 | maxUnavailable: {{ .Values.pdb.maxUnavailable }} 17 | {{- end }} 18 | {{- end }} 19 | -------------------------------------------------------------------------------- /charts/k8soketi/templates/pdb.yaml: -------------------------------------------------------------------------------- 1 | {{- if or (and .Values.autoscaling.enabled (gt (.Values.autoscaling.minReplicas | int) 1)) (gt (.Values.replicaCount | int) 1) -}} 2 | apiVersion: policy/v1beta1 3 | kind: PodDisruptionBudget 4 | metadata: 5 | labels: 6 | {{- include "soketi.labels" . | nindent 4 }} 7 | name: {{ include "soketi.fullname" . }} 8 | spec: 9 | selector: 10 | matchLabels: 11 | {{- include "soketi.selectorLabels" . | nindent 6 }} 12 | {{- if .Values.pdb.minAvailable }} 13 | minAvailable: {{ .Values.pdb.minAvailable }} 14 | {{- end }} 15 | {{- if .Values.pdb.maxUnavailable }} 16 | maxUnavailable: {{ .Values.pdb.maxUnavailable }} 17 | {{- end }} 18 | {{- end }} 19 | -------------------------------------------------------------------------------- /charts/k8soketi/templates/servicemonitor.yaml: -------------------------------------------------------------------------------- 1 | {{- if .Values.serviceMonitor.enabled }} 2 | apiVersion: monitoring.coreos.com/v1 3 | kind: ServiceMonitor 4 | metadata: 5 | name: {{ include "soketi.fullname" . }} 6 | labels: 7 | {{- include "soketi.labels" . | nindent 4 }} 8 | spec: 9 | namespaceSelector: 10 | matchNames: 11 | - {{ .Release.Namespace }} 12 | selector: 13 | matchLabels: 14 | {{- include "soketi.selectorLabels" . | nindent 6 }} 15 | ws.soketi.app/serves-metrics: "yes" 16 | endpoints: 17 | - port: metrics 18 | interval: {{ .Values.serviceMonitor.scrapeInterval }} 19 | scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }} 20 | {{- end }} 21 | -------------------------------------------------------------------------------- /charts/soketi/templates/bullmq-pdb.yaml: -------------------------------------------------------------------------------- 1 | {{- if and (.Values.bullExporter.enabled) (gt (.Values.bullExporter.replicaCount | int) 1) -}} 2 | apiVersion: policy/v1 3 | kind: PodDisruptionBudget 4 | metadata: 5 | labels: 6 | {{- include "soketi.bullExporterLabels" . | nindent 4 }} 7 | name: {{ include "soketi.fullname" . }}-bullmq-exporter 8 | spec: 9 | selector: 10 | matchLabels: 11 | {{- include "soketi.bullExporterSelectorLabels" . | nindent 6 }} 12 | {{- if .Values.bullExporter.pdb.minAvailable }} 13 | minAvailable: {{ .Values.bullExporter.pdb.minAvailable }} 14 | {{- end }} 15 | {{- if .Values.bullExporter.pdb.maxUnavailable }} 16 | maxUnavailable: {{ .Values.bullExporter.pdb.maxUnavailable }} 17 | {{- end }} 18 | {{- end }} 19 | -------------------------------------------------------------------------------- /charts/soketi/templates/bullmq-servicemonitor.yaml: -------------------------------------------------------------------------------- 1 | {{- if and .Values.bullExporter.enabled .Values.bullExporter.serviceMonitor.enabled }} 2 | apiVersion: monitoring.coreos.com/v1 3 | kind: ServiceMonitor 4 | metadata: 5 | name: {{ include "soketi.fullname" . }}-bullmq-exporter 6 | labels: 7 | {{- include "soketi.bullExporterLabels" . | nindent 4 }} 8 | spec: 9 | namespaceSelector: 10 | matchNames: 11 | - {{ .Release.Namespace }} 12 | selector: 13 | matchLabels: 14 | {{- include "soketi.bullExporterSelectorLabels" . | nindent 6 }} 15 | endpoints: 16 | - port: bull-metrics 17 | interval: {{ .Values.bullExporter.serviceMonitor.scrapeInterval }} 18 | scrapeTimeout: {{ .Values.bullExporter.serviceMonitor.scrapeTimeout }} 19 | {{- end }} 20 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Release Charts 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | 8 | jobs: 9 | release: 10 | runs-on: ubuntu-latest 11 | 12 | name: Release Charts 13 | 14 | steps: 15 | - uses: actions/checkout@v2 16 | with: 17 | fetch-depth: 0 18 | 19 | - name: Configure Git 20 | run: | 21 | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" 22 | git config --local user.name "github-actions[bot]" 23 | 24 | - name: Install Helm 25 | uses: azure/setup-helm@v1.1 26 | with: 27 | version: v3.4.0 28 | 29 | - name: Release Chart 30 | uses: helm/chart-releaser-action@v1.2.1 31 | with: 32 | config: chart-releaser.yaml 33 | env: 34 | CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" 35 | -------------------------------------------------------------------------------- /charts/soketi/templates/service-cluster.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: {{ include "soketi.fullname" . }}-cluster 5 | labels: 6 | {{- include "soketi.labels" . | nindent 4 }} 7 | spec: 8 | type: {{ .Values.service.type }} 9 | ports: 10 | - port: 11002 11 | targetPort: 11002 12 | protocol: UDP 13 | name: cluster 14 | selector: 15 | {{- include "soketi.selectorLabels" . | nindent 4 }} 16 | --- 17 | apiVersion: v1 18 | kind: Service 19 | metadata: 20 | name: {{ include "soketi.fullname" . }}-cluster-headless 21 | labels: 22 | {{- include "soketi.labels" . | nindent 4 }} 23 | spec: 24 | type: ClusterIP 25 | clusterIP: None 26 | ports: 27 | - port: 11002 28 | targetPort: 11002 29 | protocol: UDP 30 | name: cluster 31 | selector: 32 | {{- include "soketi.selectorLabels" . | nindent 4 }} 33 | -------------------------------------------------------------------------------- /charts/k8soketi/templates/service-ws-peer.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: {{ include "soketi.fullname" . }}-peer 5 | labels: 6 | {{- include "soketi.labels" . | nindent 4 }} 7 | spec: 8 | type: ClusterIP 9 | ports: 10 | - port: {{ .Values.peerServer.service.port }} 11 | targetPort: {{ .Values.peerServer.service.port }} 12 | protocol: TCP 13 | name: peer 14 | selector: 15 | {{- include "soketi.selectorLabels" . | nindent 4 }} 16 | --- 17 | apiVersion: v1 18 | kind: Service 19 | metadata: 20 | name: {{ include "soketi.fullname" . }}-peer-headless 21 | labels: 22 | {{- include "soketi.labels" . | nindent 4 }} 23 | spec: 24 | type: ClusterIP 25 | clusterIP: None 26 | ports: 27 | - port: {{ .Values.peerServer.service.port }} 28 | targetPort: {{ .Values.peerServer.service.port }} 29 | protocol: TCP 30 | name: peer 31 | selector: 32 | {{- include "soketi.selectorLabels" . | nindent 4 }} 33 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Soketi Helm Repo 2 | ================ 3 | 4 | Helm Charts provided by Renoki Co. & Soketi. 🚀 5 | 6 | ## 🤝 Supporting 7 | 8 | **If you are using one or more Renoki Co. open-source packages in your production apps, in presentation demos, hobby projects, school projects or so, sponsor our work with [Github Sponsors](https://github.com/sponsors/rennokki). 📦** 9 | 10 | ## 🚀 Installation 11 | 12 | To install the charts repository: 13 | 14 | ```bash 15 | $ helm repo add soketi https://helm.soketi.app 16 | $ helm repo update 17 | ``` 18 | 19 | To install a specific chart: 20 | 21 | ```bash 22 | $ helm install some-release soketi/ 23 | ``` 24 | 25 | ## Search for available repos 26 | 27 | ```bash 28 | $ helm search repo 29 | ``` 30 | 31 | ## 🤝 Contributing 32 | 33 | Please see [CONTRIBUTING](CONTRIBUTING.md) for details. 34 | 35 | ## 🔒 Security 36 | 37 | If you discover any security related issues, please email alex@renoki.org instead of using the issue tracker. 38 | -------------------------------------------------------------------------------- /charts/k8soketi/templates/service.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: {{ include "soketi.fullname" . }} 5 | labels: 6 | {{- include "soketi.labels" . | nindent 4 }} 7 | annotations: 8 | {{- with .Values.service.annotations }} 9 | {{- toYaml . | nindent 4 }} 10 | {{- end }} 11 | spec: 12 | type: {{ .Values.service.type }} 13 | ports: 14 | - port: {{ .Values.service.port }} 15 | targetPort: {{ .Values.service.port }} 16 | protocol: TCP 17 | name: soketi 18 | selector: 19 | {{- include "soketi.selectorLabels" . | nindent 4 }} 20 | k8s.soketi.app/low-memory: "no" 21 | --- 22 | apiVersion: v1 23 | kind: Service 24 | metadata: 25 | name: {{ include "soketi.fullname" . }}-headless 26 | labels: 27 | {{- include "soketi.labels" . | nindent 4 }} 28 | spec: 29 | type: ClusterIP 30 | clusterIP: None 31 | ports: 32 | - port: {{ .Values.service.port }} 33 | targetPort: {{ .Values.service.port }} 34 | protocol: TCP 35 | name: soketi 36 | selector: 37 | {{- include "soketi.selectorLabels" . | nindent 4 }} 38 | -------------------------------------------------------------------------------- /charts/soketi/templates/service.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: {{ include "soketi.fullname" . }} 5 | labels: 6 | {{- include "soketi.labels" . | nindent 4 }} 7 | annotations: 8 | {{- with .Values.service.annotations }} 9 | {{- toYaml . | nindent 4 }} 10 | {{- end }} 11 | spec: 12 | type: {{ .Values.service.type }} 13 | ports: 14 | - port: {{ .Values.service.port }} 15 | targetPort: 6001 16 | protocol: TCP 17 | name: soketi 18 | selector: 19 | {{- include "soketi.selectorLabels" . | nindent 4 }} 20 | {{- if .Values.networkWatcher.enabled }} 21 | ws.soketi.app/accepts-new-connections: "yes" 22 | {{- end }} 23 | --- 24 | apiVersion: v1 25 | kind: Service 26 | metadata: 27 | name: {{ include "soketi.fullname" . }}-headless 28 | labels: 29 | {{- include "soketi.labels" . | nindent 4 }} 30 | spec: 31 | type: ClusterIP 32 | clusterIP: None 33 | ports: 34 | - port: {{ .Values.service.port }} 35 | targetPort: 6001 36 | protocol: TCP 37 | name: soketi 38 | selector: 39 | {{- include "soketi.selectorLabels" . | nindent 4 }} 40 | -------------------------------------------------------------------------------- /charts/soketi/templates/serviceaccount-role.yaml: -------------------------------------------------------------------------------- 1 | {{- if .Values.serviceAccount.create -}} 2 | apiVersion: rbac.authorization.k8s.io/v1 3 | kind: Role 4 | metadata: 5 | name: {{ include "soketi.serviceAccountName" . }}-watcher-role 6 | labels: 7 | app.kubernetes.io/component: controller 8 | {{- include "soketi.labels" . | nindent 4 }} 9 | rules: 10 | - apiGroups: 11 | - "" 12 | resources: 13 | - pods 14 | verbs: 15 | - get 16 | - watch 17 | - update 18 | - patch 19 | - apiGroups: 20 | - "" 21 | resources: 22 | - events 23 | verbs: 24 | - create 25 | --- 26 | apiVersion: rbac.authorization.k8s.io/v1 27 | kind: RoleBinding 28 | metadata: 29 | name: {{ include "soketi.serviceAccountName" . }}-watcher 30 | labels: 31 | app.kubernetes.io/component: controller 32 | {{- include "soketi.labels" . | nindent 4 }} 33 | subjects: 34 | - kind: ServiceAccount 35 | name: {{ include "soketi.serviceAccountName" . }} 36 | roleRef: 37 | kind: Role 38 | name: {{ include "soketi.serviceAccountName" . }}-watcher-role 39 | apiGroup: rbac.authorization.k8s.io 40 | {{- end }} 41 | -------------------------------------------------------------------------------- /charts/soketi/templates/bullmq-service.yaml: -------------------------------------------------------------------------------- 1 | {{- if .Values.bullExporter.enabled -}} 2 | apiVersion: v1 3 | kind: Service 4 | metadata: 5 | name: {{ include "soketi.fullname" . }}-bullmq-exporter 6 | labels: 7 | {{- include "soketi.bullExporterLabels" . | nindent 4 }} 8 | annotations: 9 | {{- with .Values.bullExporter.service.annotations }} 10 | {{- toYaml . | nindent 4 }} 11 | {{- end }} 12 | spec: 13 | type: ClusterIP 14 | ports: 15 | - port: 9538 16 | targetPort: 9538 17 | protocol: TCP 18 | name: bull-metrics 19 | selector: 20 | {{- include "soketi.bullExporterSelectorLabels" . | nindent 4 }} 21 | --- 22 | apiVersion: v1 23 | kind: Service 24 | metadata: 25 | name: {{ include "soketi.fullname" . }}-bullmq-exporter-headless 26 | labels: 27 | {{- include "soketi.bullExporterLabels" . | nindent 4 }} 28 | spec: 29 | type: ClusterIP 30 | clusterIP: None 31 | ports: 32 | - port: {{ .Values.service.port }} 33 | targetPort: 6001 34 | protocol: TCP 35 | name: soketi 36 | selector: 37 | {{- include "soketi.bullExporterSelectorLabels" . | nindent 4 }} 38 | {{- end }} 39 | -------------------------------------------------------------------------------- /charts/k8soketi/templates/serviceaccount-role.yaml: -------------------------------------------------------------------------------- 1 | {{- if .Values.serviceAccount.create -}} 2 | apiVersion: rbac.authorization.k8s.io/v1 3 | kind: Role 4 | metadata: 5 | name: {{ include "soketi.serviceAccountName" . }} 6 | labels: 7 | app.kubernetes.io/component: controller 8 | {{- include "soketi.labels" . | nindent 4 }} 9 | rules: 10 | - apiGroups: [""] 11 | resources: 12 | - pods 13 | verbs: 14 | - get 15 | - patch 16 | - apiGroups: [""] 17 | resources: 18 | - events 19 | verbs: 20 | - create 21 | - apiGroups: 22 | - discovery.k8s.io 23 | resources: 24 | - endpointslices 25 | verbs: 26 | - list 27 | --- 28 | apiVersion: rbac.authorization.k8s.io/v1 29 | kind: RoleBinding 30 | metadata: 31 | name: {{ include "soketi.serviceAccountName" . }} 32 | labels: 33 | app.kubernetes.io/component: controller 34 | {{- include "soketi.labels" . | nindent 4 }} 35 | subjects: 36 | - kind: ServiceAccount 37 | name: {{ include "soketi.serviceAccountName" . }} 38 | roleRef: 39 | kind: Role 40 | name: {{ include "soketi.serviceAccountName" . }} 41 | apiGroup: rbac.authorization.k8s.io 42 | {{- end }} 43 | -------------------------------------------------------------------------------- /charts/soketi/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v2 2 | name: soketi 3 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 4 | 5 | # A chart can be either an 'application' or a 'library' chart. 6 | # 7 | # Application charts are a collection of templates that can be packaged into versioned archives 8 | # to be deployed. 9 | # 10 | # Library charts provide useful utilities or functions for the chart developer. They're included as 11 | # a dependency of application charts to inject those utilities and functions into the rendering 12 | # pipeline. Library charts do not define any templates and therefore cannot be deployed. 13 | type: application 14 | 15 | # This is the chart version. This version number should be incremented each time you make changes 16 | # to the chart and its templates, including the app version. 17 | # Versions are expected to follow Semantic Versioning (https://semver.org/) 18 | version: 2.0.0 19 | 20 | # This is the version number of the application being deployed. This version number should be 21 | # incremented each time you make changes to the application. Versions are not expected to 22 | # follow Semantic Versioning. They should reflect the version the application is using. 23 | appVersion: 1.6.0 24 | -------------------------------------------------------------------------------- /charts/k8soketi/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v2 2 | name: k8soketi 3 | description: Run soketi/k8soketi in your Kubernetes cluster using this Helm chart. 4 | 5 | # A chart can be either an 'application' or a 'library' chart. 6 | # 7 | # Application charts are a collection of templates that can be packaged into versioned archives 8 | # to be deployed. 9 | # 10 | # Library charts provide useful utilities or functions for the chart developer. They're included as 11 | # a dependency of application charts to inject those utilities and functions into the rendering 12 | # pipeline. Library charts do not define any templates and therefore cannot be deployed. 13 | type: application 14 | 15 | # This is the chart version. This version number should be incremented each time you make changes 16 | # to the chart and its templates, including the app version. 17 | # Versions are expected to follow Semantic Versioning (https://semver.org/) 18 | version: 1.0.1 19 | 20 | # This is the version number of the application being deployed. This version number should be 21 | # incremented each time you make changes to the application. Versions are not expected to 22 | # follow Semantic Versioning. They should reflect the version the application is using. 23 | appVersion: 1.0.0 24 | -------------------------------------------------------------------------------- /charts/soketi/README.md: -------------------------------------------------------------------------------- 1 | soketi Server Chart 2 | =================== 3 | 4 | Containerize & Orchestrate your soketi application with this simple Helm chart. 5 | 6 | ## 🤝 Supporting 7 | 8 | **If you are using one or more Renoki Co. open-source packages in your production apps, in presentation demos, hobby projects, school projects or so, sponsor our work with [Github Sponsors](https://github.com/sponsors/rennokki). 📦** 9 | 10 | ## 🛑 Requirements 11 | 12 | - Kubernetes v1.23+ 13 | 14 | ## 🚀 Installation 15 | 16 | Install Helm chart repository: 17 | 18 | ```bash 19 | $ helm repo add soketi https://helm.soketi.app 20 | $ helm repo update 21 | ``` 22 | 23 | Install the soketi chart: 24 | 25 | ```bash 26 | $ helm upgrade soketi \ 27 | --install \ 28 | --version=2.0.0 \ 29 | soketi/soketi 30 | ``` 31 | 32 | Check `values.yaml` for additional available customizations. 33 | 34 | ## 🐛 Testing 35 | 36 | Coming soon. 37 | 38 | ## 🤝 Contributing 39 | 40 | Please see [CONTRIBUTING](../../CONTRIBUTING.md) for details. 41 | 42 | ## 🔒 Security 43 | 44 | If you discover any security related issues, please email alex@renoki.org instead of using the issue tracker. 45 | 46 | ## 🎉 Credits 47 | 48 | - [Alex Renoki](https://github.com/rennokki) 49 | - [All Contributors](../../../../contributors) 50 | -------------------------------------------------------------------------------- /charts/soketi/templates/ingress.yaml: -------------------------------------------------------------------------------- 1 | {{- if .Values.ingress.enabled -}} 2 | {{- $fullName := include "soketi.fullname" . -}} 3 | {{- $svcPort := .Values.service.port -}} 4 | apiVersion: networking.k8s.io/v1 5 | kind: Ingress 6 | metadata: 7 | name: {{ $fullName }} 8 | labels: 9 | {{- include "soketi.labels" . | nindent 4 }} 10 | {{- with .Values.ingress.annotations }} 11 | annotations: 12 | {{- toYaml . | nindent 4 }} 13 | {{- end }} 14 | spec: 15 | {{- if .Values.ingress.tls }} 16 | tls: 17 | {{- range .Values.ingress.tls }} 18 | - hosts: 19 | {{- range .hosts }} 20 | - {{ . | quote }} 21 | {{- end }} 22 | secretName: {{ .secretName }} 23 | {{- end }} 24 | {{- end }} 25 | {{- if .Values.ingress.class }} 26 | ingressClassName: {{ .Values.ingress.class }} 27 | {{- end }} 28 | rules: 29 | {{- range .Values.ingress.hosts }} 30 | - host: {{ .host | quote }} 31 | http: 32 | paths: 33 | {{- range .paths }} 34 | - path: {{ . }} 35 | pathType: ImplementationSpecific 36 | backend: 37 | service: 38 | name: {{ $fullName }} 39 | port: 40 | number: {{ $svcPort }} 41 | {{- end }} 42 | {{- end }} 43 | {{- end }} 44 | -------------------------------------------------------------------------------- /charts/k8soketi/templates/ingress.yaml: -------------------------------------------------------------------------------- 1 | {{- if .Values.ingress.enabled -}} 2 | {{- $fullName := include "soketi.fullname" . -}} 3 | {{- $svcPort := .Values.service.port -}} 4 | apiVersion: networking.k8s.io/v1 5 | kind: Ingress 6 | metadata: 7 | name: {{ $fullName }} 8 | labels: 9 | {{- include "soketi.labels" . | nindent 4 }} 10 | {{- with .Values.ingress.annotations }} 11 | annotations: 12 | {{- toYaml . | nindent 4 }} 13 | {{- end }} 14 | spec: 15 | {{- if .Values.ingress.tls }} 16 | tls: 17 | {{- range .Values.ingress.tls }} 18 | - hosts: 19 | {{- range .hosts }} 20 | - {{ . | quote }} 21 | {{- end }} 22 | secretName: {{ .secretName }} 23 | {{- end }} 24 | {{- end }} 25 | {{- if .Values.ingress.class }} 26 | ingressClassName: {{ .Values.ingress.class }} 27 | {{- end }} 28 | rules: 29 | {{- range .Values.ingress.hosts }} 30 | - host: {{ .host | quote }} 31 | http: 32 | paths: 33 | {{- range .paths }} 34 | - path: {{ . }} 35 | pathType: ImplementationSpecific 36 | backend: 37 | service: 38 | name: {{ $fullName }} 39 | port: 40 | number: {{ $svcPort }} 41 | {{- end }} 42 | {{- end }} 43 | {{- end }} 44 | -------------------------------------------------------------------------------- /charts/k8soketi/README.md: -------------------------------------------------------------------------------- 1 | k8soketi Server Chart 2 | =================== 3 | 4 | Containerize & Orchestrate your k8soketi application with this simple Helm chart. 5 | 6 | ## 🤝 Supporting 7 | 8 | **If you are using one or more Renoki Co. open-source packages in your production apps, in presentation demos, hobby projects, school projects or so, sponsor our work with [Github Sponsors](https://github.com/sponsors/rennokki). 📦** 9 | 10 | ## 🛑 Requirements 11 | 12 | - Kubernetes v1.19+ 13 | 14 | ## 🚀 Installation 15 | 16 | Install Helm chart repository: 17 | 18 | ```bash 19 | $ helm repo add k8soketi https://helm.soketi.app 20 | $ helm repo update 21 | ``` 22 | 23 | Install the k8soketi chart: 24 | 25 | ```bash 26 | $ helm upgrade k8soketi \ 27 | --install \ 28 | --version=1.0.1 \ 29 | soketi/k8soketi 30 | ``` 31 | 32 | Check `values.yaml` for additional available customizations. 33 | 34 | ## 🐛 Testing 35 | 36 | Coming soon. 37 | 38 | ## 🤝 Contributing 39 | 40 | Please see [CONTRIBUTING](../../CONTRIBUTING.md) for details. 41 | 42 | ## 🔒 Security 43 | 44 | If you discover any security related issues, please email alex@renoki.org instead of using the issue tracker. 45 | 46 | ## 🎉 Credits 47 | 48 | - [Alex Renoki](https://github.com/rennokki) 49 | - [All Contributors](../../../../contributors) 50 | -------------------------------------------------------------------------------- /charts/soketi/templates/hpa.yaml: -------------------------------------------------------------------------------- 1 | {{- if .Values.autoscaling.enabled }} 2 | apiVersion: autoscaling/v2 3 | kind: HorizontalPodAutoscaler 4 | metadata: 5 | name: {{ include "soketi.fullname" . }} 6 | labels: 7 | {{- include "soketi.labels" . | nindent 4 }} 8 | spec: 9 | scaleTargetRef: 10 | apiVersion: apps/v1 11 | kind: Deployment 12 | name: {{ include "soketi.fullname" . }} 13 | minReplicas: {{ .Values.autoscaling.minReplicas }} 14 | maxReplicas: {{ .Values.autoscaling.maxReplicas }} 15 | {{- with .Values.autoscaling.behavior }} 16 | behavior: 17 | {{- toYaml . | nindent 4 }} 18 | {{- end }} 19 | metrics: 20 | {{- if .Values.autoscaling.targetCPUUtilizationPercentage }} 21 | - type: Resource 22 | resource: 23 | name: cpu 24 | target: 25 | type: Utilization 26 | averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} 27 | {{- end }} 28 | {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} 29 | - type: Resource 30 | resource: 31 | name: memory 32 | target: 33 | type: Utilization 34 | averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} 35 | {{- end }} 36 | {{- with .Values.autoscaling.customMetrics }} 37 | {{- toYaml . | nindent 4 }} 38 | {{- end }} 39 | {{- end }} 40 | -------------------------------------------------------------------------------- /charts/k8soketi/templates/hpa.yaml: -------------------------------------------------------------------------------- 1 | {{- if .Values.autoscaling.enabled }} 2 | apiVersion: autoscaling/v2beta2 3 | kind: HorizontalPodAutoscaler 4 | metadata: 5 | name: {{ include "soketi.fullname" . }} 6 | labels: 7 | {{- include "soketi.labels" . | nindent 4 }} 8 | spec: 9 | scaleTargetRef: 10 | apiVersion: apps/v1 11 | kind: Deployment 12 | name: {{ include "soketi.fullname" . }} 13 | minReplicas: {{ .Values.autoscaling.minReplicas }} 14 | maxReplicas: {{ .Values.autoscaling.maxReplicas }} 15 | {{- with .Values.autoscaling.behavior }} 16 | behavior: 17 | {{- toYaml . | nindent 4 }} 18 | {{- end }} 19 | metrics: 20 | {{- if .Values.autoscaling.targetCPUUtilizationPercentage }} 21 | - type: Resource 22 | resource: 23 | name: cpu 24 | target: 25 | type: Utilization 26 | averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} 27 | {{- end }} 28 | {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} 29 | - type: Resource 30 | resource: 31 | name: memory 32 | target: 33 | type: Utilization 34 | averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} 35 | {{- end }} 36 | {{- with .Values.autoscaling.customMetrics }} 37 | {{- toYaml . | nindent 4 }} 38 | {{- end }} 39 | {{- end }} 40 | -------------------------------------------------------------------------------- /charts/k8soketi/templates/_helpers.tpl: -------------------------------------------------------------------------------- 1 | {{/* 2 | Expand the name of the chart. 3 | */}} 4 | {{- define "soketi.name" -}} 5 | {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} 6 | {{- end }} 7 | 8 | {{/* 9 | Create a default fully qualified app name. 10 | We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). 11 | If release name contains chart name it will be used as a full name. 12 | */}} 13 | {{- define "soketi.fullname" -}} 14 | {{- if .Values.fullnameOverride }} 15 | {{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} 16 | {{- else }} 17 | {{- $name := default .Chart.Name .Values.nameOverride }} 18 | {{- if contains $name .Release.Name }} 19 | {{- .Release.Name | trunc 63 | trimSuffix "-" }} 20 | {{- else }} 21 | {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} 22 | {{- end }} 23 | {{- end }} 24 | {{- end }} 25 | 26 | {{/* 27 | Create chart name and version as used by the chart label. 28 | */}} 29 | {{- define "soketi.chart" -}} 30 | {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} 31 | {{- end }} 32 | 33 | {{/* 34 | Common labels 35 | */}} 36 | {{- define "soketi.labels" -}} 37 | helm.sh/chart: {{ include "soketi.chart" . }} 38 | {{ include "soketi.selectorLabels" . }} 39 | {{- if .Chart.AppVersion }} 40 | app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} 41 | {{- end }} 42 | app.kubernetes.io/managed-by: {{ .Release.Service }} 43 | {{- end }} 44 | 45 | {{/* 46 | Selector labels 47 | */}} 48 | {{- define "soketi.selectorLabels" -}} 49 | app.kubernetes.io/name: {{ include "soketi.name" . }} 50 | app.kubernetes.io/instance: {{ .Release.Name }} 51 | app: soketi 52 | {{- end }} 53 | 54 | {{/* 55 | Create the name of the service account to use 56 | */}} 57 | {{- define "soketi.serviceAccountName" -}} 58 | {{- if .Values.serviceAccount.create }} 59 | {{- default (include "soketi.fullname" .) .Values.serviceAccount.name }} 60 | {{- else }} 61 | {{- default "default" .Values.serviceAccount.name }} 62 | {{- end }} 63 | {{- end }} 64 | -------------------------------------------------------------------------------- /charts/soketi/templates/NOTES.txt: -------------------------------------------------------------------------------- 1 | 1. Get the application URL by running these commands: 2 | {{- if .Values.ingress.enabled }} 3 | {{- range $host := .Values.ingress.hosts }} 4 | {{- range .paths }} 5 | http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ . }} 6 | {{- end }} 7 | {{- end }} 8 | {{- else if contains "NodePort" .Values.service.type }} 9 | export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "soketi.fullname" . }}) 10 | export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") 11 | echo http://$NODE_IP:$NODE_PORT 12 | {{- else if contains "LoadBalancer" .Values.service.type }} 13 | NOTE: It may take a few minutes for the LoadBalancer IP to be available. 14 | You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "soketi.fullname" . }}' 15 | export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "soketi.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") 16 | echo http://$SERVICE_IP:{{ .Values.service.port }} 17 | {{- else if contains "ClusterIP" .Values.service.type }} 18 | export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "soketi.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 19 | export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") 20 | echo "Visit http://127.0.0.1:6001 to use your application" 21 | kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 6001:$CONTAINER_PORT 22 | {{- end }} 23 | 24 | {{- if .Values.networkWatcher.enabled }} 25 | 2. Network watcher is enabled. 26 | {{- else }} 27 | 2. Network watcher is disabled. 28 | {{- end }} 29 | 30 | {{- if .Values.bullExporter.enabled }} 31 | 3. BullMQ Exporter is enabled. 32 | {{- end }} 33 | -------------------------------------------------------------------------------- /charts/k8soketi/templates/NOTES.txt: -------------------------------------------------------------------------------- 1 | {{- if .Values.ingress.enabled }} 2 | The application is available at these URLs: 3 | {{- range $host := .Values.ingress.hosts }} 4 | {{- range .paths }} 5 | http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ . }} 6 | {{- end }} 7 | {{- end }} 8 | {{- else if contains "NodePort" .Values.service.type }} 9 | Get the application URL by running these commands: 10 | export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "soketi.fullname" . }}) 11 | export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") 12 | echo http://$NODE_IP:$NODE_PORT 13 | {{- else if contains "LoadBalancer" .Values.service.type }} 14 | NOTE: It may take a few minutes for the LoadBalancer IP to be available. 15 | You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "soketi.fullname" . }}' 16 | Get the application URL by running these commands: 17 | export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "soketi.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") 18 | echo http://$SERVICE_IP:{{ .Values.service.port }} 19 | {{- else if contains "ClusterIP" .Values.service.type }} 20 | Get the application URL by running these commands: 21 | export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "soketi.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 22 | export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") 23 | echo "Visit http://127.0.0.1:{{ .Values.service.port }} to use your application" 24 | kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME {{ .Values.service.port }}:$CONTAINER_PORT 25 | {{- end }} 26 | 27 | {{- if or .Values.metrics.enabled .Values.serviceMonitor.enabled }} 28 | Metrics: The Prometheus metrics are enabled on port {{ .Values.metrics.service.port }}. 29 | {{- end }} 30 | The pods can discovery each other using WebSockets with the port {{ .Values.peerServer.service.port }}. 31 | -------------------------------------------------------------------------------- /charts/soketi/templates/_helpers.tpl: -------------------------------------------------------------------------------- 1 | {{/* 2 | Expand the name of the chart. 3 | */}} 4 | {{- define "soketi.name" -}} 5 | {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} 6 | {{- end }} 7 | 8 | {{/* 9 | Create a default fully qualified app name. 10 | We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). 11 | If release name contains chart name it will be used as a full name. 12 | */}} 13 | {{- define "soketi.fullname" -}} 14 | {{- if .Values.fullnameOverride }} 15 | {{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} 16 | {{- else }} 17 | {{- $name := default .Chart.Name .Values.nameOverride }} 18 | {{- if contains $name .Release.Name }} 19 | {{- .Release.Name | trunc 63 | trimSuffix "-" }} 20 | {{- else }} 21 | {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} 22 | {{- end }} 23 | {{- end }} 24 | {{- end }} 25 | 26 | {{/* 27 | Create chart name and version as used by the chart label. 28 | */}} 29 | {{- define "soketi.chart" -}} 30 | {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} 31 | {{- end }} 32 | 33 | {{/* 34 | Common labels 35 | */}} 36 | {{- define "soketi.labels" -}} 37 | helm.sh/chart: {{ include "soketi.chart" . }} 38 | {{ include "soketi.selectorLabels" . }} 39 | {{- if .Chart.AppVersion }} 40 | app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} 41 | {{- end }} 42 | app.kubernetes.io/managed-by: {{ .Release.Service }} 43 | {{- end }} 44 | 45 | {{- define "soketi.bullExporterLabels" -}} 46 | helm.sh/chart: {{ include "soketi.chart" . }} 47 | {{ include "soketi.bullExporterSelectorLabels" . }} 48 | {{- if .Chart.AppVersion }} 49 | app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} 50 | {{- end }} 51 | app.kubernetes.io/managed-by: {{ .Release.Service }} 52 | app: bull-exporter 53 | {{- end }} 54 | 55 | {{/* 56 | Selector labels 57 | */}} 58 | {{- define "soketi.selectorLabels" -}} 59 | app.kubernetes.io/name: {{ include "soketi.name" . }} 60 | app.kubernetes.io/instance: {{ .Release.Name }} 61 | app: soketi 62 | {{- end }} 63 | 64 | {{- define "soketi.bullExporterSelectorLabels" -}} 65 | app.kubernetes.io/name: {{ include "soketi.name" . }} 66 | app.kubernetes.io/instance: {{ .Release.Name }} 67 | app: bullmq-exporter 68 | {{- end }} 69 | 70 | app: bullmq-exporter 71 | 72 | {{/* 73 | Create the name of the service account to use 74 | */}} 75 | {{- define "soketi.serviceAccountName" -}} 76 | {{- if .Values.serviceAccount.create }} 77 | {{- default (include "soketi.fullname" .) .Values.serviceAccount.name }} 78 | {{- else }} 79 | {{- default "default" .Values.serviceAccount.name }} 80 | {{- end }} 81 | {{- end }} 82 | -------------------------------------------------------------------------------- /charts/soketi/templates/bullmq-deployment.yaml: -------------------------------------------------------------------------------- 1 | {{- if .Values.bullExporter.enabled -}} 2 | apiVersion: apps/v1 3 | kind: Deployment 4 | metadata: 5 | name: {{ include "soketi.fullname" . }}-bullmq-exporter 6 | labels: 7 | {{- include "soketi.bullExporterLabels" . | nindent 4 }} 8 | spec: 9 | replicas: {{ .Values.bullExporter.replicaCount }} 10 | {{- with .Values.bullExporter.strategy }} 11 | strategy: 12 | {{- toYaml . | nindent 4 }} 13 | {{- end }} 14 | selector: 15 | matchLabels: 16 | {{- include "soketi.bullExporterSelectorLabels" . | nindent 6 }} 17 | template: 18 | metadata: 19 | {{- with .Values.bullExporter.podAnnotations }} 20 | annotations: 21 | {{- toYaml . | nindent 8 }} 22 | {{- end }} 23 | labels: 24 | {{- include "soketi.bullExporterSelectorLabels" . | nindent 8 }} 25 | spec: 26 | {{- with .Values.bullExporter.extraVolumes }} 27 | volumes: 28 | {{- toYaml . | nindent 8 }} 29 | {{- end }} 30 | 31 | {{- with .Values.bullExporter.imagePullSecrets }} 32 | imagePullSecrets: 33 | {{- toYaml . | nindent 8 }} 34 | {{- end }} 35 | 36 | serviceAccountName: {{ include "soketi.serviceAccountName" . }}-bullmq-exporter 37 | 38 | securityContext: 39 | {{- toYaml .Values.bullExporter.podSecurityContext | nindent 8 }} 40 | 41 | containers: 42 | - name: exporter 43 | securityContext: 44 | {{- toYaml .Values.bullExporter.securityContext | nindent 12 }} 45 | image: "{{ .Values.bullExporter.image.repository }}:{{ .Values.bullExporter.image.tag }}" 46 | imagePullPolicy: {{ .Values.bullExporter.image.pullPolicy }} 47 | {{- with .Values.bullExporter.extraVolumeMounts }} 48 | volumeMounts: 49 | {{- toYaml . | nindent 12 }} 50 | {{- end }} 51 | ports: 52 | - name: bull-metrics 53 | containerPort: 9538 54 | protocol: TCP 55 | env: 56 | - name: EXPORTER_REDIS_URL 57 | value: {{ .Values.bullExporter.redisHost }} 58 | - name: EXPORTER_QUEUES 59 | value: {{ join " " .Values.bullExporter.queues }} 60 | - name: EXPORTER_PREFIX 61 | value: {{ .Values.bullExporter.prefix }} 62 | - name: EXPORTER_STAT_PREFIX 63 | value: {{ .Values.bullExporter.statPrefix }} 64 | resources: 65 | {{- toYaml .Values.bullExporter.resources | nindent 12 }} 66 | {{- with .Values.bullExporter.nodeSelector }} 67 | nodeSelector: 68 | {{- toYaml . | nindent 8 }} 69 | {{- end }} 70 | {{- with .Values.bullExporter.affinity }} 71 | affinity: 72 | {{- toYaml . | nindent 8 }} 73 | {{- end }} 74 | {{- with .Values.bullExporter.tolerations }} 75 | tolerations: 76 | {{- toYaml . | nindent 8 }} 77 | {{- end }} 78 | {{- end }} 79 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Contributions are **welcome** and will be fully **credited**. 4 | 5 | Please read and understand the contribution guide before creating an issue or pull request. 6 | 7 | ## Etiquette 8 | 9 | This project is open source, and as such, the maintainers give their free time to build and maintain the source code 10 | held within. They make the code freely available in the hope that it will be of use to other developers. It would be 11 | extremely unfair for them to suffer abuse or anger for their hard work. 12 | 13 | Please be considerate towards maintainers when raising issues or presenting pull requests. Let's show the 14 | world that developers are civilized and selfless people. 15 | 16 | It's the duty of the maintainer to ensure that all submissions to the project are of sufficient 17 | quality to benefit the project. Many developers have different skillsets, strengths, and weaknesses. Respect the maintainer's decision, and do not be upset or abusive if your submission is not used. 18 | 19 | ## Viability 20 | 21 | When requesting or submitting new features, first consider whether it might be useful to others. Open 22 | source projects are used by many developers, who may have entirely different needs to your own. Think about 23 | whether or not your feature is likely to be used by other users of the project. 24 | 25 | ## Procedure 26 | 27 | Before filing an issue: 28 | 29 | - Attempt to replicate the problem, to ensure that it wasn't a coincidental incident. 30 | - Check to make sure your feature suggestion isn't already present within the project. 31 | - Check the pull requests tab to ensure that the bug doesn't have a fix in progress. 32 | - Check the pull requests tab to ensure that the feature isn't already in progress. 33 | 34 | Before submitting a pull request: 35 | 36 | - Check the codebase to ensure that your feature doesn't already exist. 37 | - Check the pull requests to ensure that another person hasn't already submitted the feature or fix. 38 | 39 | ## Requirements 40 | 41 | If the project maintainer has any additional requirements, you will find them listed here. 42 | 43 | - **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](https://pear.php.net/package/PHP_CodeSniffer). 44 | 45 | - **Add tests!** - Your patch won't be accepted if it doesn't have tests. 46 | 47 | - **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date. 48 | 49 | - **Consider our release cycle** - We try to follow [SemVer v2.0.0](https://semver.org/). Randomly breaking public APIs is not an option. 50 | 51 | - **One pull request per feature** - If you want to do more than one thing, send multiple pull requests. 52 | 53 | - **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please [squash them](https://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting. 54 | 55 | **Happy coding**! 56 | -------------------------------------------------------------------------------- /charts/soketi/templates/deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: Deployment 3 | metadata: 4 | name: {{ include "soketi.fullname" . }} 5 | labels: 6 | {{- include "soketi.labels" . | nindent 4 }} 7 | spec: 8 | {{- if not .Values.autoscaling.enabled }} 9 | replicas: {{ .Values.replicaCount }} 10 | {{- end }} 11 | {{- with .Values.strategy }} 12 | strategy: 13 | {{- toYaml . | nindent 4 }} 14 | {{- end }} 15 | selector: 16 | matchLabels: 17 | {{- include "soketi.selectorLabels" . | nindent 6 }} 18 | template: 19 | metadata: 20 | {{- with .Values.podAnnotations }} 21 | annotations: 22 | {{- toYaml . | nindent 8 }} 23 | {{- end }} 24 | labels: 25 | {{- include "soketi.selectorLabels" . | nindent 8 }} 26 | spec: 27 | {{- with .Values.extraVolumes }} 28 | volumes: 29 | {{- toYaml . | nindent 8 }} 30 | {{- end }} 31 | 32 | terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} 33 | 34 | {{- if .Values.app.multicast.enabled }} 35 | hostNetwork: {{ .Values.app.multicast.hostNetwork }} 36 | dnsPolicy: {{ .Values.app.multicast.dnsPolicy }} 37 | {{- end }} 38 | 39 | {{- with .Values.imagePullSecrets }} 40 | imagePullSecrets: 41 | {{- toYaml . | nindent 8 }} 42 | {{- end }} 43 | 44 | serviceAccountName: {{ include "soketi.serviceAccountName" . }} 45 | 46 | securityContext: 47 | {{- toYaml .Values.podSecurityContext | nindent 8 }} 48 | 49 | {{- with .Values.extraInitContainers }} 50 | initContainers: 51 | {{- toYaml . | nindent 8 }} 52 | {{- end }} 53 | 54 | containers: 55 | {{- with .Values.extraContainers }} 56 | {{- toYaml . | nindent 8 }} 57 | {{- end }} 58 | {{- if .Values.networkWatcher.enabled }} 59 | - name: network-watcher 60 | securityContext: 61 | {{- toYaml .Values.securityContext | nindent 12 }} 62 | image: "{{ .Values.networkWatcher.image.repository }}:{{ .Values.networkWatcher.image.tag }}" 63 | imagePullPolicy: {{ .Values.networkWatcher.image.pullPolicy }} 64 | {{- with .Values.networkWatcher.extraVolumeMounts }} 65 | volumeMounts: 66 | {{- toYaml . | nindent 12 }} 67 | {{- end }} 68 | {{- with .Values.networkWatcher.command }} 69 | command: 70 | {{- toYaml . | nindent 12 }} 71 | {{- end }} 72 | env: 73 | - name: KUBE_CONNECTION 74 | value: cluster 75 | - name: SERVER_PORT 76 | value: "9601" 77 | - name: MEMORY_PERCENT 78 | value: "{{ .Values.networkWatcher.threshold }}" 79 | - name: CHECKING_INTERVAL 80 | value: "{{ .Values.networkWatcher.interval }}" 81 | - name: POD_NAMESPACE 82 | valueFrom: 83 | fieldRef: 84 | fieldPath: metadata.namespace 85 | - name: POD_NAME 86 | valueFrom: 87 | fieldRef: 88 | fieldPath: metadata.name 89 | resources: 90 | {{- toYaml .Values.networkWatcher.resources | nindent 12 }} 91 | {{- end }} 92 | - name: {{ .Chart.Name }} 93 | securityContext: 94 | {{- toYaml .Values.securityContext | nindent 12 }} 95 | image: "{{ .Values.app.image.repository }}:{{ .Values.app.image.tag | default .Chart.AppVersion }}" 96 | imagePullPolicy: {{ .Values.app.image.pullPolicy }} 97 | {{- with .Values.app.extraVolumeMounts }} 98 | volumeMounts: 99 | {{- toYaml . | nindent 12 }} 100 | {{- end }} 101 | ports: 102 | - name: soketi 103 | containerPort: 6001 104 | protocol: TCP 105 | - name: metrics 106 | containerPort: 9601 107 | protocol: TCP 108 | - name: cluster 109 | containerPort: 11002 110 | protocol: UDP 111 | {{- with .Values.app.command }} 112 | command: 113 | {{- toYaml . | nindent 12 }} 114 | {{- end }} 115 | env: 116 | - name: SOKETI_PORT 117 | value: "6001" 118 | - name: SOKETI_MODE 119 | value: {{ .Values.app.mode | default "full" }} 120 | {{- with .Values.app.extraEnv }} 121 | {{- toYaml . | nindent 12 }} 122 | {{- end }} 123 | {{- with .Values.livenessProbe }} 124 | livenessProbe: 125 | {{- toYaml . | nindent 12 }} 126 | {{- end }} 127 | {{- with .Values.readinessProbe }} 128 | readinessProbe: 129 | {{- toYaml . | nindent 12 }} 130 | {{- end }} 131 | resources: 132 | {{- toYaml .Values.app.resources | nindent 12 }} 133 | {{- with .Values.nodeSelector }} 134 | nodeSelector: 135 | {{- toYaml . | nindent 8 }} 136 | {{- end }} 137 | {{- with .Values.affinity }} 138 | affinity: 139 | {{- toYaml . | nindent 8 }} 140 | {{- end }} 141 | {{- with .Values.tolerations }} 142 | tolerations: 143 | {{- toYaml . | nindent 8 }} 144 | {{- end }} 145 | -------------------------------------------------------------------------------- /charts/k8soketi/templates/deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: Deployment 3 | metadata: 4 | name: {{ include "soketi.fullname" . }} 5 | labels: 6 | {{- include "soketi.labels" . | nindent 4 }} 7 | spec: 8 | {{- if not .Values.autoscaling.enabled }} 9 | replicas: {{ .Values.replicaCount }} 10 | {{- end }} 11 | {{- with .Values.strategy }} 12 | strategy: 13 | {{- toYaml . | nindent 4 }} 14 | {{- end }} 15 | selector: 16 | matchLabels: 17 | {{- include "soketi.selectorLabels" . | nindent 6 }} 18 | {{- if or .Values.metrics.enabled .Values.serviceMonitor.enabled }} 19 | k8s.soketi.app/serves-metrics: "yes" 20 | {{- end }} 21 | template: 22 | metadata: 23 | {{- with .Values.podAnnotations }} 24 | annotations: 25 | {{- toYaml . | nindent 8 }} 26 | {{- end }} 27 | labels: 28 | {{- include "soketi.selectorLabels" . | nindent 8 }} 29 | {{- if or .Values.metrics.enabled .Values.serviceMonitor.enabled }} 30 | k8s.soketi.app/serves-metrics: "yes" 31 | {{- end }} 32 | spec: 33 | {{- with .Values.extraVolumes }} 34 | volumes: 35 | {{- toYaml . | nindent 8 }} 36 | {{- end }} 37 | 38 | terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }} 39 | 40 | {{- if .Values.app.multicast.enabled }} 41 | hostNetwork: {{ .Values.app.multicast.hostNetwork }} 42 | dnsPolicy: {{ .Values.app.multicast.dnsPolicy }} 43 | {{- end }} 44 | 45 | {{- with .Values.imagePullSecrets }} 46 | imagePullSecrets: 47 | {{- toYaml . | nindent 8 }} 48 | {{- end }} 49 | 50 | serviceAccountName: {{ include "soketi.serviceAccountName" . }} 51 | 52 | securityContext: 53 | {{- toYaml .Values.podSecurityContext | nindent 8 }} 54 | 55 | {{- with .Values.extraInitContainers }} 56 | initContainers: 57 | {{- toYaml . | nindent 8 }} 58 | {{- end }} 59 | 60 | containers: 61 | {{- with .Values.extraContainers }} 62 | {{- toYaml . | nindent 8 }} 63 | {{- end }} 64 | - name: {{ .Chart.Name }} 65 | securityContext: 66 | {{- toYaml .Values.securityContext | nindent 12 }} 67 | image: "{{ .Values.app.image.repository }}:{{ .Values.app.image.tag | default .Chart.AppVersion }}" 68 | imagePullPolicy: {{ .Values.app.image.pullPolicy }} 69 | {{- with .Values.app.extraVolumeMounts }} 70 | volumeMounts: 71 | {{- toYaml . | nindent 12 }} 72 | {{- end }} 73 | ports: 74 | - name: soketi 75 | containerPort: {{ .Values.service.port }} 76 | protocol: TCP 77 | - name: metrics 78 | containerPort: {{ .Values.metrics.service.port }} 79 | protocol: TCP 80 | - name: peer 81 | containerPort: {{ .Values.peerServer.service.port }} 82 | protocol: TCP 83 | command: 84 | - node 85 | - --optimize_for_size 86 | - --optimize-for-size 87 | - /app/bin/server.js 88 | - start 89 | {{- if or .Values.metrics.enabled .Values.serviceMonitor.enabled }} 90 | - --metrics 91 | {{- end }} 92 | {{- with .Values.app.flags }} 93 | {{- toYaml . | nindent 12 }} 94 | {{- end }} 95 | env: 96 | - name: PORT 97 | value: "{{ .Values.service.port }}" 98 | - name: METRICS_SERVER_PORT 99 | value: "{{ .Values.metrics.service.port }}" 100 | - name: KUBE_POD_NAME 101 | valueFrom: 102 | fieldRef: 103 | fieldPath: metadata.name 104 | - name: KUBE_POD_NAMESPACE 105 | valueFrom: 106 | fieldRef: 107 | fieldPath: metadata.namespace 108 | - name: KUBE_POD_IP 109 | valueFrom: 110 | fieldRef: 111 | fieldPath: status.podIP 112 | - name: KUBE_SERVICES 113 | value: {{ include "soketi.fullname" . }}-peer 114 | - name: PEER_WS_PORT 115 | value: "{{ .Values.peerServer.service.port }}" 116 | - name: NODE_OPTIONS 117 | value: "--es-module-specifier-resolution=node" 118 | - name: PEER_INACTIVITY_TIMEOUT 119 | value: "10" 120 | - name: WS_GRACE_PERIOD 121 | value: "10" 122 | - name: MODE 123 | value: {{ .Values.app.mode | default "full" }} 124 | {{- with .Values.app.extraEnv }} 125 | {{- toYaml . | nindent 12 }} 126 | {{- end }} 127 | {{- with .Values.livenessProbe }} 128 | livenessProbe: 129 | {{- toYaml . | nindent 12 }} 130 | {{- end }} 131 | {{- with .Values.readinessProbe }} 132 | readinessProbe: 133 | {{- toYaml . | nindent 12 }} 134 | {{- end }} 135 | resources: 136 | {{- toYaml .Values.app.resources | nindent 12 }} 137 | {{- with .Values.nodeSelector }} 138 | nodeSelector: 139 | {{- toYaml . | nindent 8 }} 140 | {{- end }} 141 | {{- with .Values.affinity }} 142 | affinity: 143 | {{- toYaml . | nindent 8 }} 144 | {{- end }} 145 | {{- with .Values.tolerations }} 146 | tolerations: 147 | {{- toYaml . | nindent 8 }} 148 | {{- end }} 149 | -------------------------------------------------------------------------------- /charts/k8soketi/values.yaml: -------------------------------------------------------------------------------- 1 | # Default values for k8soketi. 2 | # This is a YAML-formatted file. 3 | # Declare variables to be passed into your templates. 4 | 5 | replicaCount: 1 6 | 7 | strategy: {} 8 | # type: RollingUpdate 9 | # rollingUpdate: 10 | # maxSurge: 0 11 | # maxUnavailable: 1 12 | 13 | imagePullSecrets: [] 14 | nameOverride: "" 15 | fullnameOverride: "" 16 | 17 | # k8soketi is the server that will act like the Pusher server. 18 | app: 19 | image: 20 | repository: quay.io/soketi/k8soketi 21 | pullPolicy: IfNotPresent 22 | tag: "0.1-18-debian" 23 | # You can use distroless to avoid Remote Code Execution attacks in-cluster. 24 | # tag: "latest-18-distroless" 25 | 26 | flags: 27 | - --verbose 28 | - --accept-traffic-threshold=70 29 | 30 | # Add extra env to the k8soketi container. 31 | extraEnv: [] 32 | # - name: NODE_NAME 33 | # valueFrom: 34 | # fieldRef: 35 | # fieldPath: spec.nodeName 36 | 37 | # Extra volumes to mount on the container. 38 | extraVolumeMounts: [] 39 | # - name: some-folder 40 | # mountPath: /some/path 41 | 42 | # We usually recommend not to specify default resources and to leave this as a conscious 43 | # choice for the user. This also increases chances charts run on environments with little 44 | # resources, such as Minikube. If you do want to specify resources, uncomment the following 45 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 46 | resources: 47 | # limits: 48 | # cpu: 500m 49 | # memory: 512Mi 50 | requests: 51 | cpu: 500m 52 | memory: 256Mi 53 | 54 | # The mode the app is running with. (full, worker, server) 55 | # Read the documentation: https://docs.soketi.app/advanced-usage/horizontal-scaling/running-modes 56 | mode: full 57 | 58 | # Multicast will enable settings for pods to support multicast. 59 | multicast: 60 | enabled: false 61 | hostNetwork: true 62 | dnsPolicy: ClusterFirstWithHostNet 63 | 64 | # Peer server is the P2P server that pods will communicate between them. 65 | # Default is 6002, but you can set any port you want. 66 | peerServer: 67 | service: 68 | type: ClusterIP 69 | port: 6002 70 | annotations: {} 71 | 72 | metrics: 73 | enabled: true 74 | 75 | service: 76 | type: ClusterIP 77 | port: 9601 78 | annotations: {} 79 | 80 | serviceMonitor: 81 | enabled: false 82 | scrapeInterval: 5s 83 | scrapeTimeout: 3s 84 | 85 | serviceAccount: 86 | # Specifies whether a service account should be created 87 | create: true 88 | # Annotations to add to the service account 89 | annotations: {} 90 | # The name of the service account to use. 91 | # If not set and create is true, a name is generated using the fullname template 92 | name: "" 93 | 94 | podAnnotations: {} 95 | 96 | podSecurityContext: {} 97 | # fsGroup: 2000 98 | 99 | securityContext: {} 100 | # capabilities: 101 | # drop: 102 | # - ALL 103 | # readOnlyRootFilesystem: true 104 | # runAsNonRoot: true 105 | # runAsUser: 1000 106 | 107 | service: 108 | type: ClusterIP 109 | port: 6001 110 | annotations: {} 111 | 112 | ingress: 113 | enabled: false 114 | # class: "nginx" 115 | annotations: {} 116 | # kubernetes.io/ingress.class: nginx 117 | # kubernetes.io/tls-acme: "true" 118 | hosts: 119 | - host: k8soketi-example.local 120 | paths: 121 | - / 122 | # - host: k8soketi.test 123 | # paths: 124 | # - / 125 | tls: [] 126 | # - secretName: k8soketi-example-tls 127 | # hosts: 128 | # - k8soketi-example.local 129 | 130 | autoscaling: 131 | enabled: false 132 | minReplicas: 1 133 | maxReplicas: 100 134 | targetCPUUtilizationPercentage: 60 135 | targetMemoryUtilizationPercentage: 80 136 | 137 | # Set the behavior for the autoscaler. 138 | # https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior 139 | behavior: 140 | scaleDown: 141 | stabilizationWindowSeconds: 1800 142 | scaleUp: 143 | stabilizationWindowSeconds: 10 144 | 145 | # Custom Metrics will be appended to the default CPU/Memory resources (if they're enabled). 146 | customMetrics: [] 147 | # - type: Pods 148 | # pods: 149 | # metric: 150 | # name: nginx_process_utilization 151 | # target: 152 | # type: AverageValue 153 | # averageValue: "50" 154 | 155 | pdb: 156 | enabled: false 157 | minAvailable: 1 158 | # maxUnavailable: 25% 159 | 160 | livenessProbe: 161 | httpGet: 162 | path: / 163 | port: 6001 164 | httpHeaders: 165 | - name: X-Kube-Healthcheck 166 | value: "Yes" 167 | initialDelaySeconds: 5 168 | periodSeconds: 2 169 | failureThreshold: 1 170 | successThreshold: 1 171 | # terminationGracePeriodSeconds: 30 172 | 173 | readinessProbe: 174 | httpGet: 175 | path: /ready 176 | port: 6001 177 | httpHeaders: 178 | - name: X-Kube-Healthcheck 179 | value: "Yes" 180 | initialDelaySeconds: 5 181 | periodSeconds: 1 182 | failureThreshold: 1 183 | successThreshold: 1 184 | 185 | # In some cases, closing a Pod that has a lot of connections 186 | # will disconnect them, and stats would need some time to catch up with the disconnections, 187 | # so a bigger termination grace period would be suitable. 188 | terminationGracePeriodSeconds: 30 189 | 190 | nodeSelector: {} 191 | 192 | tolerations: [] 193 | 194 | affinity: {} 195 | 196 | # Extra volumes to attach to the deployment. 197 | extraVolumes: [] 198 | # - name: some-folder 199 | # emptyDir: {} 200 | 201 | # Extra containers to run in the deployment. 202 | extraContainers: [] 203 | 204 | # Extra init containers to run in the deployment. 205 | extraInitContainers: [] 206 | -------------------------------------------------------------------------------- /charts/soketi/values.yaml: -------------------------------------------------------------------------------- 1 | # Default values for soketi. 2 | # This is a YAML-formatted file. 3 | # Declare variables to be passed into your templates. 4 | 5 | replicaCount: 1 6 | 7 | strategy: {} 8 | # type: RollingUpdate 9 | # rollingUpdate: 10 | # maxSurge: 0 11 | # maxUnavailable: 1 12 | 13 | imagePullSecrets: [] 14 | nameOverride: "" 15 | fullnameOverride: "" 16 | 17 | # soketi is the server that will act like the Pusher server. 18 | app: 19 | image: 20 | repository: quay.io/soketi/soketi 21 | pullPolicy: IfNotPresent 22 | tag: "1.6-16-debian" 23 | # You can use distroless to avoid Remote Code Execution attacks in-cluster. 24 | # https://github.com/soketi/soketi/pull/178 25 | # tag: "1.6-16-distroless" 26 | 27 | # It's recommended to run the server with 28 | # maximum memory that would match the resource limits 29 | # for maximum memory space efficiency. 30 | command: 31 | - node 32 | - --max-old-space-size=256 33 | - --max_old_space_size=256 34 | - --optimize_for_size 35 | - --optimize-for-size 36 | - /app/bin/server.js 37 | - start 38 | 39 | # Add extra env to the soketi container. 40 | extraEnv: [] 41 | # - name: POD_ID 42 | # valueFrom: 43 | # fieldRef: 44 | # fieldPath: metadata.name 45 | # - name: NODE_ID 46 | # valueFrom: 47 | # fieldRef: 48 | # fieldPath: spec.nodeName 49 | 50 | # Extra volumes to mount on the container. 51 | extraVolumeMounts: [] 52 | # - name: some-folder 53 | # mountPath: /some/path 54 | 55 | # We usually recommend not to specify default resources and to leave this as a conscious 56 | # choice for the user. This also increases chances charts run on environments with little 57 | # resources, such as Minikube. If you do want to specify resources, uncomment the following 58 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 59 | resources: 60 | limits: 61 | cpu: 250m 62 | memory: 256Mi 63 | # requests: 64 | # cpu: 100m 65 | # memory: 128Mi 66 | 67 | # The mode the app is running with. (full, worker, server) 68 | # Read the documentation: https://docs.soketi.app/advanced-usage/horizontal-scaling/running-modes 69 | mode: full 70 | 71 | # Multicast will enable settings for pods to support multicast. 72 | multicast: 73 | enabled: false 74 | hostNetwork: true 75 | dnsPolicy: ClusterFirstWithHostNet 76 | 77 | # The Network Watcher is watching for container maximum allocated 78 | # resources and once a specific threshold is exceeded, it will tell the 79 | # soketi server to stop accepting new connections by marking the Pod 80 | # as not ready. The existing connections will still be persisted. 81 | networkWatcher: 82 | enabled: false 83 | 84 | image: 85 | repository: quay.io/soketi/network-watcher 86 | pullPolicy: IfNotPresent 87 | tag: "6.3" 88 | 89 | # Extra volumes to mount on the container. 90 | extraVolumeMounts: [] 91 | # - name: some-folder 92 | # mountPath: /some/path 93 | 94 | command: 95 | - php 96 | - /app/network-watcher 97 | - network:watch 98 | 99 | # We usually recommend not to specify default resources and to leave this as a conscious 100 | # choice for the user. This also increases chances charts run on environments with little 101 | # resources, such as Minikube. If you do want to specify resources, uncomment the following 102 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 103 | resources: 104 | limits: 105 | cpu: 100m 106 | memory: 128Mi 107 | requests: 108 | cpu: 50m 109 | memory: 64Mi 110 | 111 | # The above threshold (in percent) after the pod becomes 112 | # unavailable to serve new connections. 85% is a good threshold, 113 | # because the still-opened connections will add some new members in 114 | # the presence channels if they join or leave new ones. 115 | threshold: 85 116 | 117 | # The interval in seconds between checks. This will check the Prometheus 118 | # metrics and will decide wether the threshold was reached and will prevent 119 | # new connections from joining this pod. 120 | interval: 1 121 | 122 | # BullMQ Exporter is a tool to export the BullMQ metrics to your Prometheus scraper. 123 | # This way, you can scale queue workers independently. 124 | # Read docs: https://github.com/UpHabit/bull_exporter 125 | bullExporter: 126 | enabled: false 127 | 128 | replicaCount: 1 129 | 130 | strategy: {} 131 | # type: RollingUpdate 132 | # rollingUpdate: 133 | # maxSurge: 0 134 | # maxUnavailable: 1 135 | 136 | image: 137 | repository: uphabit/bull_exporter 138 | pullPolicy: IfNotPresent 139 | tag: latest 140 | 141 | imagePullSecrets: [] 142 | 143 | # Extra volumes to mount on the container. 144 | extraVolumeMounts: [] 145 | # - name: some-folder 146 | # mountPath: /some/path 147 | 148 | # We usually recommend not to specify default resources and to leave this as a conscious 149 | # choice for the user. This also increases chances charts run on environments with little 150 | # resources, such as Minikube. If you do want to specify resources, uncomment the following 151 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 152 | resources: 153 | limits: 154 | cpu: 100m 155 | memory: 128Mi 156 | requests: 157 | cpu: 50m 158 | memory: 64Mi 159 | 160 | pdb: 161 | enabled: false 162 | minAvailable: 1 163 | # maxUnavailable: 25% 164 | 165 | # Extra volumes to attach to the deployment. 166 | extraVolumes: [] 167 | # - name: some-folder 168 | # emptyDir: {} 169 | 170 | redisHost: redis://redis-headless:6379/0 171 | 172 | # The list of queues. 173 | queues: 174 | - client_event_webhooks 175 | - member_added_webhooks 176 | - member_removed_webhooks 177 | - channel_vacated_webhooks 178 | - channel_occupied_webhooks 179 | 180 | # The prefix for queues. 181 | prefix: bull 182 | 183 | # The stat prefix for the Prometheus names. 184 | statPrefix: bull_queue_ 185 | 186 | service: 187 | annotations: {} 188 | # prometheus.io/scrape: 'true' 189 | # prometheus.io/port: '9538' 190 | 191 | serviceMonitor: 192 | enabled: false 193 | scrapeInterval: 5s 194 | scrapeTimeout: 3s 195 | 196 | serviceAccount: 197 | # Specifies whether a service account should be created 198 | create: true 199 | # Annotations to add to the service account 200 | annotations: {} 201 | # The name of the service account to use. 202 | # If not set and create is true, a name is generated using the fullname template 203 | name: "" 204 | 205 | podAnnotations: {} 206 | 207 | podSecurityContext: {} 208 | # fsGroup: 2000 209 | 210 | securityContext: 211 | runAsGroup: 65534 212 | runAsUser: 65534 213 | runAsNonRoot: true 214 | privileged: false 215 | allowPrivilegeEscalation: false 216 | readOnlyRootFilesystem: true 217 | capabilities: 218 | drop: 219 | - all 220 | 221 | nodeSelector: {} 222 | 223 | tolerations: [] 224 | 225 | affinity: {} 226 | 227 | serviceMonitor: 228 | enabled: false 229 | scrapeInterval: 5s 230 | scrapeTimeout: 3s 231 | 232 | serviceAccount: 233 | # Specifies whether a service account should be created 234 | create: true 235 | # Annotations to add to the service account 236 | annotations: {} 237 | # The name of the service account to use. 238 | # If not set and create is true, a name is generated using the fullname template 239 | name: "" 240 | 241 | podAnnotations: {} 242 | 243 | podSecurityContext: {} 244 | # fsGroup: 2000 245 | 246 | securityContext: {} 247 | # capabilities: 248 | # drop: 249 | # - ALL 250 | # readOnlyRootFilesystem: true 251 | # runAsNonRoot: true 252 | # runAsUser: 1000 253 | 254 | service: 255 | type: ClusterIP 256 | port: 6001 257 | 258 | annotations: {} 259 | # Set annotations for the service. 260 | 261 | ingress: 262 | enabled: false 263 | # class: "nginx" 264 | annotations: {} 265 | # kubernetes.io/ingress.class: nginx 266 | # kubernetes.io/tls-acme: "true" 267 | hosts: 268 | - host: soketi-example.local 269 | paths: [] 270 | 271 | # - host: soketi.test 272 | # paths: 273 | # - / 274 | tls: [] 275 | # - secretName: soketi-example-tls 276 | # hosts: 277 | # - soketi-example.local 278 | 279 | autoscaling: 280 | enabled: false 281 | minReplicas: 1 282 | maxReplicas: 100 283 | targetCPUUtilizationPercentage: 80 284 | # targetMemoryUtilizationPercentage: 80 285 | 286 | # Set the behavior for the autoscaler. 287 | # https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior 288 | behavior: 289 | scaleDown: 290 | stabilizationWindowSeconds: 1800 291 | scaleUp: 292 | stabilizationWindowSeconds: 10 293 | 294 | # Custom Metrics will be appended to the default CPU/Memory resources (if they're enabled). 295 | customMetrics: [] 296 | # - type: Pods 297 | # pods: 298 | # metric: 299 | # name: nginx_process_utilization 300 | # target: 301 | # type: AverageValue 302 | # averageValue: "50" 303 | 304 | pdb: 305 | enabled: false 306 | minAvailable: 1 307 | # maxUnavailable: 25% 308 | 309 | livenessProbe: 310 | httpGet: 311 | path: / 312 | port: 6001 313 | httpHeaders: 314 | - name: X-Kube-Healthcheck 315 | value: "Yes" 316 | initialDelaySeconds: 5 317 | periodSeconds: 2 318 | failureThreshold: 3 319 | successThreshold: 1 320 | # terminationGracePeriodSeconds: 30 321 | 322 | readinessProbe: 323 | httpGet: 324 | path: /accept-traffic 325 | port: 6001 326 | httpHeaders: 327 | - name: X-Kube-Healthcheck 328 | value: "Yes" 329 | initialDelaySeconds: 5 330 | periodSeconds: 1 331 | failureThreshold: 1 332 | successThreshold: 1 333 | 334 | # In some cases, closing a Pod that has a lot of connections 335 | # will disconnect them, and stats would need some time to catch up with the disconnections, 336 | # so a bigger termination grace period would be suitable. 337 | terminationGracePeriodSeconds: 30 338 | 339 | nodeSelector: {} 340 | 341 | tolerations: [] 342 | 343 | affinity: {} 344 | 345 | # Extra volumes to attach to the deployment. 346 | extraVolumes: [] 347 | # - name: some-folder 348 | # emptyDir: {} 349 | 350 | # Extra containers to run in the deployment. 351 | extraContainers: [] 352 | 353 | # Extra init containers to run in the deployment. 354 | extraInitContainers: [] 355 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright Renoki Co. & Soketi 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /index.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | entries: 3 | k8soketi: 4 | - apiVersion: v2 5 | appVersion: 1.0.0 6 | created: "2022-11-09T21:37:53.074225448Z" 7 | description: Run soketi/k8soketi in your Kubernetes cluster using this Helm chart. 8 | digest: fa3f50038fec3c56ae3794ac15717659e1d4ec82edc07efc2a1564460bc8eb94 9 | name: k8soketi 10 | type: application 11 | urls: 12 | - https://github.com/soketi/charts/releases/download/k8soketi-1.0.1/k8soketi-1.0.1.tgz 13 | version: 1.0.1 14 | - apiVersion: v2 15 | appVersion: 1.0.0 16 | created: "2022-11-09T21:31:49.895122485Z" 17 | description: Run soketi/k8soketi in your Kubernetes cluster using this Helm chart. 18 | digest: c1f1e5317b40e89785d6a8c8412b76a4f642a7b371582df199857ac723d530c9 19 | name: k8soketi 20 | type: application 21 | urls: 22 | - https://github.com/soketi/charts/releases/download/k8soketi-1.0.0/k8soketi-1.0.0.tgz 23 | version: 1.0.0 24 | pws: 25 | - apiVersion: v2 26 | appVersion: 0.8.0 27 | created: "2021-10-22T08:53:19.057627036Z" 28 | description: Run soketi/pws in Kubernetes using this Helm chart. 29 | digest: 0d84b8dc7af482d75c04807a7b1ae88dc066a0707ac2a91dab5ec29e54cc1949 30 | name: pws 31 | type: application 32 | urls: 33 | - https://github.com/soketi/charts/releases/download/pws-0.2.4/pws-0.2.4.tgz 34 | version: 0.2.4 35 | - apiVersion: v2 36 | appVersion: 0.8.0 37 | created: "2021-10-21T20:15:55.377728972Z" 38 | description: Run soketi/pws in Kubernetes using this Helm chart. 39 | digest: ad407b86afa9bd925cbb30bbae9350f97e87e2cf80420ed0b6ec5da3ed23e6de 40 | name: pws 41 | type: application 42 | urls: 43 | - https://github.com/soketi/charts/releases/download/pws-0.2.3/pws-0.2.3.tgz 44 | version: 0.2.3 45 | - apiVersion: v2 46 | appVersion: 0.8.0 47 | created: "2021-10-17T13:07:46.647036399Z" 48 | description: Run soketi/pws in Kubernetes using this Helm chart. 49 | digest: c7e0eaac0e1738810d345e82cebf8acd8123373f5719e793289a9a3baa22993f 50 | name: pws 51 | type: application 52 | urls: 53 | - https://github.com/soketi/charts/releases/download/pws-0.2.2/pws-0.2.2.tgz 54 | version: 0.2.2 55 | - apiVersion: v2 56 | appVersion: 0.8.0 57 | created: "2021-10-17T12:53:55.651547865Z" 58 | description: Run soketi/pws in Kubernetes using this Helm chart. 59 | digest: c22ac0fca3e0a054d3512af06baabe5d94cb9968cc98c5aa44fd242f8cce0ee2 60 | name: pws 61 | type: application 62 | urls: 63 | - https://github.com/soketi/charts/releases/download/pws-0.2.1/pws-0.2.1.tgz 64 | version: 0.2.1 65 | - apiVersion: v2 66 | appVersion: 0.8.0 67 | created: "2021-10-15T20:35:15.149988533Z" 68 | description: Run soketi/pws in Kubernetes using this Helm chart. 69 | digest: 79d355c7af687c3c83229dc437141af104770ddbda795dc6a361cad60953d99a 70 | name: pws 71 | type: application 72 | urls: 73 | - https://github.com/soketi/charts/releases/download/pws-0.2.0/pws-0.2.0.tgz 74 | version: 0.2.0 75 | - apiVersion: v2 76 | appVersion: 0.1.1 77 | created: "2021-06-30T19:50:05.498038746Z" 78 | description: Run soketi/pws in Kubernetes using this Helm chart. 79 | digest: bbd4507236ead3fe7cb7d727004776d96d79dbf139d3f106e9542a1dba39da70 80 | name: pws 81 | type: application 82 | urls: 83 | - https://github.com/soketi/charts/releases/download/pws-0.1.2/pws-0.1.2.tgz 84 | version: 0.1.2 85 | - apiVersion: v2 86 | appVersion: 0.1.0 87 | created: "2021-06-29T17:49:53.158105047Z" 88 | description: Run soketi/pws in Kubernetes using this Helm chart. 89 | digest: 31859456932d4b5d34a2b37db9483adcd19468b7fe676c7e75754b82ec988596 90 | name: pws 91 | type: application 92 | urls: 93 | - https://github.com/soketi/charts/releases/download/pws-0.1.1/pws-0.1.1.tgz 94 | version: 0.1.1 95 | - apiVersion: v2 96 | appVersion: 0.1.0 97 | created: "2021-06-28T19:08:50.679065047Z" 98 | description: Run soketi/pws in Kubernetes using this Helm chart. 99 | digest: c9f9f5429a2e14706ca563b5917cb3b6b2c1f998a82a81a83bde9e18121c13a4 100 | name: pws 101 | type: application 102 | urls: 103 | - https://github.com/soketi/charts/releases/download/pws-0.1.0/pws-0.1.0.tgz 104 | version: 0.1.0 105 | soketi: 106 | - apiVersion: v2 107 | appVersion: 1.6.0 108 | created: "2023-08-16T15:48:28.263555969Z" 109 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 110 | digest: e5d2b2c3ae7f383ec49a0eb0c83aa0ace695e9db114b16c58669ad0f6f73c8f7 111 | name: soketi 112 | type: application 113 | urls: 114 | - https://github.com/soketi/charts/releases/download/soketi-2.0.0/soketi-2.0.0.tgz 115 | version: 2.0.0 116 | - apiVersion: v2 117 | appVersion: 1.4.0 118 | created: "2022-11-09T21:30:14.1078314Z" 119 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 120 | digest: 3f57c7497ffff8860557237ce352c2bc1a876140747563b77eab114a8f03769d 121 | name: soketi 122 | type: application 123 | urls: 124 | - https://github.com/soketi/charts/releases/download/soketi-1.0.2/soketi-1.0.2.tgz 125 | version: 1.0.2 126 | - apiVersion: v2 127 | appVersion: 1.3.0 128 | created: "2022-08-17T20:15:12.186648318Z" 129 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 130 | digest: 18c7c0896f04368ee8a42cf6c4393721afc796f70c3b6dc84fb604ff44eb70f1 131 | name: soketi 132 | type: application 133 | urls: 134 | - https://github.com/soketi/charts/releases/download/soketi-1.0.1/soketi-1.0.1.tgz 135 | version: 1.0.1 136 | - apiVersion: v2 137 | appVersion: 1.3.0 138 | created: "2022-08-17T19:10:20.440506768Z" 139 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 140 | digest: d5eaf74caf0a1377e0984e60905087fb46d7e314ff872c47978c0749bd0d2332 141 | name: soketi 142 | type: application 143 | urls: 144 | - https://github.com/soketi/charts/releases/download/soketi-1.0.0/soketi-1.0.0.tgz 145 | version: 1.0.0 146 | - apiVersion: v2 147 | appVersion: 0.31.5 148 | created: "2022-03-05T00:41:41.82751065Z" 149 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 150 | digest: 722e3812951a1aaddaaec53070659f8a6251392dca728159b2e3cc9778897aac 151 | name: soketi 152 | type: application 153 | urls: 154 | - https://github.com/soketi/charts/releases/download/soketi-0.16.2/soketi-0.16.2.tgz 155 | version: 0.16.2 156 | - apiVersion: v2 157 | appVersion: 0.31.5 158 | created: "2022-03-04T22:56:32.856449473Z" 159 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 160 | digest: cdfcf6b03fea6693c79a0b48c6e9ee44254cc8be8465ee8b91eb7581d61eabfd 161 | name: soketi 162 | type: application 163 | urls: 164 | - https://github.com/soketi/charts/releases/download/soketi-0.16.1/soketi-0.16.1.tgz 165 | version: 0.16.1 166 | - apiVersion: v2 167 | appVersion: 0.31.5 168 | created: "2022-03-04T17:52:29.957065401Z" 169 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 170 | digest: 4cca184eb2f5fa0dd5f585f252bdf4232b19623c08d8f44be6cba90987e8c573 171 | name: soketi 172 | type: application 173 | urls: 174 | - https://github.com/soketi/charts/releases/download/soketi-0.16.0/soketi-0.16.0.tgz 175 | version: 0.16.0 176 | - apiVersion: v2 177 | appVersion: 0.29.0 178 | created: "2022-03-03T17:56:33.508670156Z" 179 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 180 | digest: b97662ebe19cb7740c157f33fe9d979fc217774ea2e4d5c9b4a5172e8b195eb9 181 | name: soketi 182 | type: application 183 | urls: 184 | - https://github.com/soketi/charts/releases/download/soketi-0.15.4/soketi-0.15.4.tgz 185 | version: 0.15.4 186 | - apiVersion: v2 187 | appVersion: 0.29.0 188 | created: "2022-02-13T11:26:59.989772478Z" 189 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 190 | digest: a9d713d72171edbece1aa2ad237e04b937cfeff07e4b5c24ba3965ad6992df54 191 | name: soketi 192 | type: application 193 | urls: 194 | - https://github.com/soketi/charts/releases/download/soketi-0.15.3/soketi-0.15.3.tgz 195 | version: 0.15.3 196 | - apiVersion: v2 197 | appVersion: 0.29.0 198 | created: "2022-02-13T00:27:47.63714423Z" 199 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 200 | digest: 15af03623dedda4e76c48725b933f505335938f4d1629e5fb20eecc2f966d2d3 201 | name: soketi 202 | type: application 203 | urls: 204 | - https://github.com/soketi/charts/releases/download/soketi-0.15.2/soketi-0.15.2.tgz 205 | version: 0.15.2 206 | - apiVersion: v2 207 | appVersion: 0.29.0 208 | created: "2022-02-13T00:26:10.46655668Z" 209 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 210 | digest: f73b95fe7fcf9ddb2008f3101be25bb5654a74e60f96f048a240354566ca16a3 211 | name: soketi 212 | type: application 213 | urls: 214 | - https://github.com/soketi/charts/releases/download/soketi-0.15.1/soketi-0.15.1.tgz 215 | version: 0.15.1 216 | - apiVersion: v2 217 | appVersion: 0.29.0 218 | created: "2022-02-03T15:05:21.422286784Z" 219 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 220 | digest: 7b934c71a7850203e6bdbac154e68682d8a4dab9082b293b55813b58ea122fd2 221 | name: soketi 222 | type: application 223 | urls: 224 | - https://github.com/soketi/charts/releases/download/soketi-0.15.0/soketi-0.15.0.tgz 225 | version: 0.15.0 226 | - apiVersion: v2 227 | appVersion: 0.29.0 228 | created: "2022-01-29T18:25:36.040675256Z" 229 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 230 | digest: 56a47b6da2e218c62e46b69922b8417daad495039c95dd07a7fdc9e1f043a266 231 | name: soketi 232 | type: application 233 | urls: 234 | - https://github.com/soketi/charts/releases/download/soketi-0.14.1/soketi-0.14.1.tgz 235 | version: 0.14.1 236 | - apiVersion: v2 237 | appVersion: 0.29.0 238 | created: "2022-01-29T00:43:46.133492142Z" 239 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 240 | digest: c1fdfe161c3fa7f484711a6682989646642144391997cba32d1813dcb3a3f004 241 | name: soketi 242 | type: application 243 | urls: 244 | - https://github.com/soketi/charts/releases/download/soketi-0.14.0/soketi-0.14.0.tgz 245 | version: 0.14.0 246 | - apiVersion: v2 247 | appVersion: 0.29.0 248 | created: "2022-01-28T23:46:00.908188895Z" 249 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 250 | digest: 76780af59d0bc930285ff064aa2f724b6bf2307306ad336e77d3a1b1516bd3d8 251 | name: soketi 252 | type: application 253 | urls: 254 | - https://github.com/soketi/charts/releases/download/soketi-0.13.0/soketi-0.13.0.tgz 255 | version: 0.13.0 256 | - apiVersion: v2 257 | appVersion: 0.29.0 258 | created: "2022-01-28T22:27:03.217022279Z" 259 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 260 | digest: a354295066352a62fe4bd26253089aeb6206a1aead289a0c80b5863b05167a9d 261 | name: soketi 262 | type: application 263 | urls: 264 | - https://github.com/soketi/charts/releases/download/soketi-0.12.3/soketi-0.12.3.tgz 265 | version: 0.12.3 266 | - apiVersion: v2 267 | appVersion: 0.29.0 268 | created: "2022-01-28T22:20:56.869815807Z" 269 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 270 | digest: d614fb484ea4ffb3d7788772d237a34b38626bdad4c988c5a17b4c8e3d71cdbf 271 | name: soketi 272 | type: application 273 | urls: 274 | - https://github.com/soketi/charts/releases/download/soketi-0.12.2/soketi-0.12.2.tgz 275 | version: 0.12.2 276 | - apiVersion: v2 277 | appVersion: 0.29.0 278 | created: "2022-01-28T21:43:54.231150247Z" 279 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 280 | digest: 2719cbd0eb5cf67d9a97276a6b12c5bc41ba70d9407959398ad2df19a18998d5 281 | name: soketi 282 | type: application 283 | urls: 284 | - https://github.com/soketi/charts/releases/download/soketi-0.12.1/soketi-0.12.1.tgz 285 | version: 0.12.1 286 | - apiVersion: v2 287 | appVersion: 0.29.0 288 | created: "2022-01-28T21:40:11.786992193Z" 289 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 290 | digest: f8626665b3e6cae1c45c72c8535d007fdf87ba2f00a477bc0baf2a4a3b26e842 291 | name: soketi 292 | type: application 293 | urls: 294 | - https://github.com/soketi/charts/releases/download/soketi-0.12.0/soketi-0.12.0.tgz 295 | version: 0.12.0 296 | - apiVersion: v2 297 | appVersion: 0.29.0 298 | created: "2022-01-26T08:25:59.436452708Z" 299 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 300 | digest: 54d288f43f506f8913b47679b0ee7f994e31a3ee07ef9001fe1bec894c3480c4 301 | name: soketi 302 | type: application 303 | urls: 304 | - https://github.com/soketi/charts/releases/download/soketi-0.11.0/soketi-0.11.0.tgz 305 | version: 0.11.0 306 | - apiVersion: v2 307 | appVersion: 0.29.0 308 | created: "2022-01-25T14:44:04.479502438Z" 309 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 310 | digest: 3a4334e444ad9be00a52c9154b2fdf6faf023d48db69530734c312da0c88ca36 311 | name: soketi 312 | type: application 313 | urls: 314 | - https://github.com/soketi/charts/releases/download/soketi-0.10.2/soketi-0.10.2.tgz 315 | version: 0.10.2 316 | - apiVersion: v2 317 | appVersion: 0.29.0 318 | created: "2022-01-25T14:35:10.625698954Z" 319 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 320 | digest: d2c72c0f1684ecf4c9a2b51a215ab8a208a44a89014032413f534084bb473c15 321 | name: soketi 322 | type: application 323 | urls: 324 | - https://github.com/soketi/charts/releases/download/soketi-0.10.1/soketi-0.10.1.tgz 325 | version: 0.10.1 326 | - apiVersion: v2 327 | appVersion: 0.29.0 328 | created: "2022-01-24T22:26:33.42221319Z" 329 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 330 | digest: f4cdbd060aeab9452032c4628a6177040782b7568918d9221c374b317f4475e7 331 | name: soketi 332 | type: application 333 | urls: 334 | - https://github.com/soketi/charts/releases/download/soketi-0.10.0/soketi-0.10.0.tgz 335 | version: 0.10.0 336 | - apiVersion: v2 337 | appVersion: 0.28.0 338 | created: "2022-01-20T10:29:27.688673581Z" 339 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 340 | digest: 2166b5ccd2c97d5de0a06f3fef3cc6c427d32c2644a3465a296b3720b0db9a26 341 | name: soketi 342 | type: application 343 | urls: 344 | - https://github.com/soketi/charts/releases/download/soketi-0.8.0/soketi-0.8.0.tgz 345 | version: 0.8.0 346 | - apiVersion: v2 347 | appVersion: 0.27.0 348 | created: "2022-01-20T00:09:57.3706548Z" 349 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 350 | digest: ad0cfa5d7dfab8f262cc09b95fdc3c113a4534c9b841772dd5212231d6b91d61 351 | name: soketi 352 | type: application 353 | urls: 354 | - https://github.com/soketi/charts/releases/download/soketi-0.7.0/soketi-0.7.0.tgz 355 | version: 0.7.0 356 | - apiVersion: v2 357 | appVersion: 0.27.0 358 | created: "2022-01-17T00:29:09.410445898Z" 359 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 360 | digest: e494431f855807e8fec718431902048da2cae51f6b673f6d56ab31768b64388e 361 | name: soketi 362 | type: application 363 | urls: 364 | - https://github.com/soketi/charts/releases/download/soketi-0.6.0/soketi-0.6.0.tgz 365 | version: 0.6.0 366 | - apiVersion: v2 367 | appVersion: 0.18.0 368 | created: "2021-12-30T14:15:32.61247363Z" 369 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 370 | digest: 54a0b2fda9223626b9bce08e31d039b191b06fd1b71905ebb214c5d187f86f97 371 | name: soketi 372 | type: application 373 | urls: 374 | - https://github.com/soketi/charts/releases/download/soketi-0.4.1/soketi-0.4.1.tgz 375 | version: 0.4.1 376 | - apiVersion: v2 377 | appVersion: 0.18.0 378 | created: "2021-12-05T11:56:08.370427017Z" 379 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 380 | digest: d636534f17d06553f20c065412e4a6f9e8bdfc748afd0e48a9a752706963546d 381 | name: soketi 382 | type: application 383 | urls: 384 | - https://github.com/soketi/charts/releases/download/soketi-0.4.0/soketi-0.4.0.tgz 385 | version: 0.4.0 386 | - apiVersion: v2 387 | appVersion: 0.17.1 388 | created: "2021-12-01T21:23:03.370665799Z" 389 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 390 | digest: 4bb1f7e859c0500e8ef704dc43c14f1ea650839b6308c78e50d840c064415c38 391 | name: soketi 392 | type: application 393 | urls: 394 | - https://github.com/soketi/charts/releases/download/soketi-0.3.0/soketi-0.3.0.tgz 395 | version: 0.3.0 396 | - apiVersion: v2 397 | appVersion: 0.17.0 398 | created: "2021-11-26T22:47:32.254959701Z" 399 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 400 | digest: f6ed7a2b83194a52bfbbe7462b8c644c5706e90cdeb280f7e982eb1cb88bb840 401 | name: soketi 402 | type: application 403 | urls: 404 | - https://github.com/soketi/charts/releases/download/soketi-0.2.0/soketi-0.2.0.tgz 405 | version: 0.2.0 406 | - apiVersion: v2 407 | appVersion: 0.13.0 408 | created: "2021-11-13T16:21:24.384596444Z" 409 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 410 | digest: dddf198a6c37ddd77da4fa94a3200bc42cd7a8ef0a835cf059dc97eb5680b871 411 | name: soketi 412 | type: application 413 | urls: 414 | - https://github.com/soketi/charts/releases/download/soketi-0.1.1/soketi-0.1.1.tgz 415 | version: 0.1.1 416 | - apiVersion: v2 417 | appVersion: 0.13.0 418 | created: "2021-11-13T16:19:38.58716625Z" 419 | description: Run soketi/soketi in your Kubernetes cluster using this Helm chart. 420 | digest: b72d290751d97276fbd0c4ef8d56a9a7e728e731995437629d794a3d6dbcccf9 421 | name: soketi 422 | type: application 423 | urls: 424 | - https://github.com/soketi/charts/releases/download/soketi-0.1.0/soketi-0.1.0.tgz 425 | version: 0.1.0 426 | generated: "2023-08-16T15:48:28.264156588Z" 427 | --------------------------------------------------------------------------------