-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7bbf2ce
commit a86a42d
Showing
9 changed files
with
165 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 0 additions & 49 deletions
49
releases/R2022a/matlab-prodserver/templates/mps-1-service-ingress.yaml
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
releases/R2022a/matlab-prodserver/Chart.yaml → releases/R2025a/matlab-prodserver/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v2 | ||
appVersion: "R2022a" | ||
appVersion: "R2025a" | ||
description: MATLAB Production Server Helm chart for Kubernetes | ||
name: matlab-prodserver-k8s | ||
version: 0.1.1 | ||
version: 1.2.0 |
83 changes: 83 additions & 0 deletions
83
releases/R2025a/matlab-prodserver/templates/mps-1-service-ingress.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# | ||
# Expose MATLAB Production Server internal endpoint | ||
# | ||
kind: Service | ||
apiVersion: v1 | ||
metadata: | ||
name: matlab-production-server | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app: mps | ||
release: {{ .Release.Name }} | ||
spec: | ||
selector: | ||
app: mps | ||
ports: | ||
- name: mps-port | ||
port: 9910 | ||
targetPort: 9910 | ||
type: ClusterIP | ||
|
||
--- | ||
{{- if .Values.global.ingressController.enabled }} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: matlab-production-server-ingress | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
release: {{ .Release.Name }} | ||
annotations: | ||
{{ if .Values.global.ingressController }} | ||
## set ingress-conroller vendor-specific annotations: | ||
{{- range $key, $value := .Values.global.ingressController.annotations }} | ||
{{ $key }}: {{ quote $value }} | ||
{{- end }} | ||
{{ end }} | ||
spec: | ||
ingressClassName: {{ .Values.global.ingressController.name }} | ||
{{ if .Values.global.ingressController.tls.enabled }} | ||
tls: | ||
- hosts: | ||
- {{ .Values.global.ingressController.domainBase }} | ||
{{- if .Values.global.ingressController.tls.secretName }} | ||
secretName: {{ .Values.global.ingressController.tls.secretName }} | ||
{{- end }} | ||
{{ end }} | ||
|
||
rules: | ||
- host: {{ .Values.global.ingressController.domainBase }} | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: matlab-production-server | ||
port: | ||
number: 9910 | ||
{{- end }} | ||
|
||
--- | ||
{{ if and (.Values.optionalSettings.Prometheus.enabled) (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1/ServiceMonitor") }} | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
name: matlab-production-server-monitor | ||
labels: | ||
app: mps | ||
app.kubernetes.io/part-of: {{ .Values.optionalSettings.Prometheus.matchOn }} | ||
release: {{ .Values.optionalSettings.Prometheus.matchOn }} | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: mps | ||
release: {{ .Release.Name }} | ||
namespaceSelector: | ||
matchNames: | ||
- {{ .Release.Namespace }} | ||
endpoints: | ||
- port: mps-port | ||
path: /api/metrics | ||
{{ end }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.