From d83148ebd83b4d9f735f8d41230f650ed4d8bb60 Mon Sep 17 00:00:00 2001 From: Dejan Zele Pejchev Date: Wed, 12 Jul 2023 16:50:26 +0200 Subject: [PATCH] feat: add Helm ci (#278) * add helm ci * revert .gitignore changes --- .../workflows/{lint_pr.yaml => lint_pr.yml} | 0 .github/workflows/release_chart.yml | 15 + .../armada-operator}/.helmignore | 0 .../armada-operator/Chart.yaml | 0 .../crds/armadaserver-crd.yaml | 0 .../armada-operator/crds/binoculars-crd.yaml | 0 .../crds/core.armadaproject.io_queues.yaml | 0 .../crds/eventingester-crd.yaml | 0 .../armada-operator/crds/executor-crd.yaml | 0 .../armada-operator/crds/lookout-crd.yaml | 0 .../crds/lookoutingester-crd.yaml | 0 .../armada-operator/crds/queue-crd.yaml | 0 .../armada-operator/crds/scheduler-crd.yaml | 0 .../crds/scheduleringester-crd.yaml | 0 .../armada-operator/templates/_helpers.tpl | 0 .../armada-operator/templates/deployment.yaml | 0 .../templates/leader-election-rbac.yaml | 0 .../templates/manager-rbac.yaml | 0 .../templates/metrics-reader-rbac.yaml | 0 .../templates/metrics-service.yaml | 0 .../mutating-webhook-configuration.yaml | 0 .../armada-operator/templates/proxy-rbac.yaml | 0 .../templates/selfsigned-issuer.yaml | 0 .../templates/serving-cert.yaml | 0 .../validating-webhook-configuration.yaml | 0 .../templates/webhook-service.yaml | 0 .../armada-operator/values.yaml | 0 deployment/armada-executor/Chart.yaml | 24 - .../charts/binoculars/Chart.yaml | 24 - .../charts/binoculars/application-config.yaml | 15 - .../binoculars/templates/binoculars.yaml | 31 - .../charts/binoculars/values.yaml | 18 - .../charts/executor/Chart.yaml | 24 - .../charts/executor/application-config.yaml | 4 - .../charts/executor/templates/executor.yaml | 26 - .../executor/templates/priority-class.yaml | 12 - .../charts/executor/values.yaml | 18 - .../armada-executor/templates/_helpers.tpl | 62 -- deployment/armada-executor/values.yaml | 21 - deployment/armada-operator/.helmignore | 23 - deployment/armada-operator/dist/config.yaml | 109 -- deployment/armada-operator/t.yaml | 954 ------------------ deployment/armada-server/.helmignore | 23 - deployment/armada-server/Chart.yaml | 24 - .../charts/armada-server/Chart.yaml | 24 - .../armada-server/application-config.yaml | 90 -- .../armada-server/templates/_helpers.tpl | 62 -- .../templates/armada-server.yaml | 19 - .../charts/armada-server/values.yaml | 30 - .../charts/event-ingester/Chart.yaml | 24 - .../event-ingester/application-config.yaml | 18 - .../event-ingester/templates/_helpers.tpl | 62 -- .../templates/event-ingester.yaml | 14 - .../charts/event-ingester/values.yaml | 7 - .../charts/lookout-ingester-v2/Chart.yaml | 24 - .../application-config.yaml | 25 - .../templates/lookout-ingester.yaml | 13 - .../charts/lookout-ingester-v2/values.yaml | 8 - .../charts/lookout-ingester/Chart.yaml | 24 - .../lookout-ingester/application-config.yaml | 25 - .../templates/lookout-ingester.yaml | 13 - .../charts/lookout-ingester/values.yaml | 8 - .../charts/lookout-v2/Chart.yaml | 24 - .../charts/lookout-v2/application-config.yaml | 34 - .../charts/lookout-v2/templates/lookout.yaml | 32 - .../charts/lookout-v2/values.yaml | 22 - .../armada-server/charts/lookout/Chart.yaml | 24 - .../charts/lookout/application-config.yaml | 34 - .../charts/lookout/templates/lookout.yaml | 32 - .../armada-server/charts/lookout/values.yaml | 24 - .../charts/scheduler-ingester/Chart.yaml | 24 - .../application-config.yaml | 25 - .../templates/scheduler-ingester.yaml | 14 - .../charts/scheduler-ingester/values.yaml | 9 - .../armada-server/charts/sheduler/Chart.yaml | 24 - .../charts/sheduler/application-config.yaml | 110 -- .../charts/sheduler/templates/scheduler.yaml | 54 - .../armada-server/charts/sheduler/values.yaml | 28 - .../armada-server/templates/_helpers.tpl | 62 -- deployment/armada-server/values.yaml | 52 - robots.txt | 2 + 81 files changed, 17 insertions(+), 2530 deletions(-) rename .github/workflows/{lint_pr.yaml => lint_pr.yml} (100%) create mode 100644 .github/workflows/release_chart.yml rename {deployment/armada-executor => charts/armada-operator}/.helmignore (100%) rename {deployment => charts}/armada-operator/Chart.yaml (100%) rename {deployment => charts}/armada-operator/crds/armadaserver-crd.yaml (100%) rename {deployment => charts}/armada-operator/crds/binoculars-crd.yaml (100%) rename {deployment => charts}/armada-operator/crds/core.armadaproject.io_queues.yaml (100%) rename {deployment => charts}/armada-operator/crds/eventingester-crd.yaml (100%) rename {deployment => charts}/armada-operator/crds/executor-crd.yaml (100%) rename {deployment => charts}/armada-operator/crds/lookout-crd.yaml (100%) rename {deployment => charts}/armada-operator/crds/lookoutingester-crd.yaml (100%) rename {deployment => charts}/armada-operator/crds/queue-crd.yaml (100%) rename {deployment => charts}/armada-operator/crds/scheduler-crd.yaml (100%) rename {deployment => charts}/armada-operator/crds/scheduleringester-crd.yaml (100%) rename {deployment => charts}/armada-operator/templates/_helpers.tpl (100%) rename {deployment => charts}/armada-operator/templates/deployment.yaml (100%) rename {deployment => charts}/armada-operator/templates/leader-election-rbac.yaml (100%) rename {deployment => charts}/armada-operator/templates/manager-rbac.yaml (100%) rename {deployment => charts}/armada-operator/templates/metrics-reader-rbac.yaml (100%) rename {deployment => charts}/armada-operator/templates/metrics-service.yaml (100%) rename {deployment => charts}/armada-operator/templates/mutating-webhook-configuration.yaml (100%) rename {deployment => charts}/armada-operator/templates/proxy-rbac.yaml (100%) rename {deployment => charts}/armada-operator/templates/selfsigned-issuer.yaml (100%) rename {deployment => charts}/armada-operator/templates/serving-cert.yaml (100%) rename {deployment => charts}/armada-operator/templates/validating-webhook-configuration.yaml (100%) rename {deployment => charts}/armada-operator/templates/webhook-service.yaml (100%) rename {deployment => charts}/armada-operator/values.yaml (100%) delete mode 100644 deployment/armada-executor/Chart.yaml delete mode 100644 deployment/armada-executor/charts/binoculars/Chart.yaml delete mode 100644 deployment/armada-executor/charts/binoculars/application-config.yaml delete mode 100644 deployment/armada-executor/charts/binoculars/templates/binoculars.yaml delete mode 100644 deployment/armada-executor/charts/binoculars/values.yaml delete mode 100644 deployment/armada-executor/charts/executor/Chart.yaml delete mode 100644 deployment/armada-executor/charts/executor/application-config.yaml delete mode 100644 deployment/armada-executor/charts/executor/templates/executor.yaml delete mode 100644 deployment/armada-executor/charts/executor/templates/priority-class.yaml delete mode 100644 deployment/armada-executor/charts/executor/values.yaml delete mode 100644 deployment/armada-executor/templates/_helpers.tpl delete mode 100644 deployment/armada-executor/values.yaml delete mode 100644 deployment/armada-operator/.helmignore delete mode 100644 deployment/armada-operator/dist/config.yaml delete mode 100644 deployment/armada-operator/t.yaml delete mode 100644 deployment/armada-server/.helmignore delete mode 100644 deployment/armada-server/Chart.yaml delete mode 100644 deployment/armada-server/charts/armada-server/Chart.yaml delete mode 100644 deployment/armada-server/charts/armada-server/application-config.yaml delete mode 100644 deployment/armada-server/charts/armada-server/templates/_helpers.tpl delete mode 100644 deployment/armada-server/charts/armada-server/templates/armada-server.yaml delete mode 100644 deployment/armada-server/charts/armada-server/values.yaml delete mode 100644 deployment/armada-server/charts/event-ingester/Chart.yaml delete mode 100644 deployment/armada-server/charts/event-ingester/application-config.yaml delete mode 100644 deployment/armada-server/charts/event-ingester/templates/_helpers.tpl delete mode 100644 deployment/armada-server/charts/event-ingester/templates/event-ingester.yaml delete mode 100644 deployment/armada-server/charts/event-ingester/values.yaml delete mode 100644 deployment/armada-server/charts/lookout-ingester-v2/Chart.yaml delete mode 100644 deployment/armada-server/charts/lookout-ingester-v2/application-config.yaml delete mode 100644 deployment/armada-server/charts/lookout-ingester-v2/templates/lookout-ingester.yaml delete mode 100644 deployment/armada-server/charts/lookout-ingester-v2/values.yaml delete mode 100644 deployment/armada-server/charts/lookout-ingester/Chart.yaml delete mode 100644 deployment/armada-server/charts/lookout-ingester/application-config.yaml delete mode 100644 deployment/armada-server/charts/lookout-ingester/templates/lookout-ingester.yaml delete mode 100644 deployment/armada-server/charts/lookout-ingester/values.yaml delete mode 100644 deployment/armada-server/charts/lookout-v2/Chart.yaml delete mode 100644 deployment/armada-server/charts/lookout-v2/application-config.yaml delete mode 100644 deployment/armada-server/charts/lookout-v2/templates/lookout.yaml delete mode 100644 deployment/armada-server/charts/lookout-v2/values.yaml delete mode 100644 deployment/armada-server/charts/lookout/Chart.yaml delete mode 100644 deployment/armada-server/charts/lookout/application-config.yaml delete mode 100644 deployment/armada-server/charts/lookout/templates/lookout.yaml delete mode 100644 deployment/armada-server/charts/lookout/values.yaml delete mode 100644 deployment/armada-server/charts/scheduler-ingester/Chart.yaml delete mode 100644 deployment/armada-server/charts/scheduler-ingester/application-config.yaml delete mode 100644 deployment/armada-server/charts/scheduler-ingester/templates/scheduler-ingester.yaml delete mode 100644 deployment/armada-server/charts/scheduler-ingester/values.yaml delete mode 100644 deployment/armada-server/charts/sheduler/Chart.yaml delete mode 100644 deployment/armada-server/charts/sheduler/application-config.yaml delete mode 100644 deployment/armada-server/charts/sheduler/templates/scheduler.yaml delete mode 100644 deployment/armada-server/charts/sheduler/values.yaml delete mode 100644 deployment/armada-server/templates/_helpers.tpl delete mode 100644 deployment/armada-server/values.yaml create mode 100644 robots.txt diff --git a/.github/workflows/lint_pr.yaml b/.github/workflows/lint_pr.yml similarity index 100% rename from .github/workflows/lint_pr.yaml rename to .github/workflows/lint_pr.yml diff --git a/.github/workflows/release_chart.yml b/.github/workflows/release_chart.yml new file mode 100644 index 00000000..97e9f891 --- /dev/null +++ b/.github/workflows/release_chart.yml @@ -0,0 +1,15 @@ +name: Release Helm Chart +on: + push: + tags: + - 'v*' + +jobs: + release-chart: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Publish Helm chart + uses: stefanprodan/helm-gh-pages@master + with: + token: ${{ secrets.BOT_TOKEN }} diff --git a/deployment/armada-executor/.helmignore b/charts/armada-operator/.helmignore similarity index 100% rename from deployment/armada-executor/.helmignore rename to charts/armada-operator/.helmignore diff --git a/deployment/armada-operator/Chart.yaml b/charts/armada-operator/Chart.yaml similarity index 100% rename from deployment/armada-operator/Chart.yaml rename to charts/armada-operator/Chart.yaml diff --git a/deployment/armada-operator/crds/armadaserver-crd.yaml b/charts/armada-operator/crds/armadaserver-crd.yaml similarity index 100% rename from deployment/armada-operator/crds/armadaserver-crd.yaml rename to charts/armada-operator/crds/armadaserver-crd.yaml diff --git a/deployment/armada-operator/crds/binoculars-crd.yaml b/charts/armada-operator/crds/binoculars-crd.yaml similarity index 100% rename from deployment/armada-operator/crds/binoculars-crd.yaml rename to charts/armada-operator/crds/binoculars-crd.yaml diff --git a/deployment/armada-operator/crds/core.armadaproject.io_queues.yaml b/charts/armada-operator/crds/core.armadaproject.io_queues.yaml similarity index 100% rename from deployment/armada-operator/crds/core.armadaproject.io_queues.yaml rename to charts/armada-operator/crds/core.armadaproject.io_queues.yaml diff --git a/deployment/armada-operator/crds/eventingester-crd.yaml b/charts/armada-operator/crds/eventingester-crd.yaml similarity index 100% rename from deployment/armada-operator/crds/eventingester-crd.yaml rename to charts/armada-operator/crds/eventingester-crd.yaml diff --git a/deployment/armada-operator/crds/executor-crd.yaml b/charts/armada-operator/crds/executor-crd.yaml similarity index 100% rename from deployment/armada-operator/crds/executor-crd.yaml rename to charts/armada-operator/crds/executor-crd.yaml diff --git a/deployment/armada-operator/crds/lookout-crd.yaml b/charts/armada-operator/crds/lookout-crd.yaml similarity index 100% rename from deployment/armada-operator/crds/lookout-crd.yaml rename to charts/armada-operator/crds/lookout-crd.yaml diff --git a/deployment/armada-operator/crds/lookoutingester-crd.yaml b/charts/armada-operator/crds/lookoutingester-crd.yaml similarity index 100% rename from deployment/armada-operator/crds/lookoutingester-crd.yaml rename to charts/armada-operator/crds/lookoutingester-crd.yaml diff --git a/deployment/armada-operator/crds/queue-crd.yaml b/charts/armada-operator/crds/queue-crd.yaml similarity index 100% rename from deployment/armada-operator/crds/queue-crd.yaml rename to charts/armada-operator/crds/queue-crd.yaml diff --git a/deployment/armada-operator/crds/scheduler-crd.yaml b/charts/armada-operator/crds/scheduler-crd.yaml similarity index 100% rename from deployment/armada-operator/crds/scheduler-crd.yaml rename to charts/armada-operator/crds/scheduler-crd.yaml diff --git a/deployment/armada-operator/crds/scheduleringester-crd.yaml b/charts/armada-operator/crds/scheduleringester-crd.yaml similarity index 100% rename from deployment/armada-operator/crds/scheduleringester-crd.yaml rename to charts/armada-operator/crds/scheduleringester-crd.yaml diff --git a/deployment/armada-operator/templates/_helpers.tpl b/charts/armada-operator/templates/_helpers.tpl similarity index 100% rename from deployment/armada-operator/templates/_helpers.tpl rename to charts/armada-operator/templates/_helpers.tpl diff --git a/deployment/armada-operator/templates/deployment.yaml b/charts/armada-operator/templates/deployment.yaml similarity index 100% rename from deployment/armada-operator/templates/deployment.yaml rename to charts/armada-operator/templates/deployment.yaml diff --git a/deployment/armada-operator/templates/leader-election-rbac.yaml b/charts/armada-operator/templates/leader-election-rbac.yaml similarity index 100% rename from deployment/armada-operator/templates/leader-election-rbac.yaml rename to charts/armada-operator/templates/leader-election-rbac.yaml diff --git a/deployment/armada-operator/templates/manager-rbac.yaml b/charts/armada-operator/templates/manager-rbac.yaml similarity index 100% rename from deployment/armada-operator/templates/manager-rbac.yaml rename to charts/armada-operator/templates/manager-rbac.yaml diff --git a/deployment/armada-operator/templates/metrics-reader-rbac.yaml b/charts/armada-operator/templates/metrics-reader-rbac.yaml similarity index 100% rename from deployment/armada-operator/templates/metrics-reader-rbac.yaml rename to charts/armada-operator/templates/metrics-reader-rbac.yaml diff --git a/deployment/armada-operator/templates/metrics-service.yaml b/charts/armada-operator/templates/metrics-service.yaml similarity index 100% rename from deployment/armada-operator/templates/metrics-service.yaml rename to charts/armada-operator/templates/metrics-service.yaml diff --git a/deployment/armada-operator/templates/mutating-webhook-configuration.yaml b/charts/armada-operator/templates/mutating-webhook-configuration.yaml similarity index 100% rename from deployment/armada-operator/templates/mutating-webhook-configuration.yaml rename to charts/armada-operator/templates/mutating-webhook-configuration.yaml diff --git a/deployment/armada-operator/templates/proxy-rbac.yaml b/charts/armada-operator/templates/proxy-rbac.yaml similarity index 100% rename from deployment/armada-operator/templates/proxy-rbac.yaml rename to charts/armada-operator/templates/proxy-rbac.yaml diff --git a/deployment/armada-operator/templates/selfsigned-issuer.yaml b/charts/armada-operator/templates/selfsigned-issuer.yaml similarity index 100% rename from deployment/armada-operator/templates/selfsigned-issuer.yaml rename to charts/armada-operator/templates/selfsigned-issuer.yaml diff --git a/deployment/armada-operator/templates/serving-cert.yaml b/charts/armada-operator/templates/serving-cert.yaml similarity index 100% rename from deployment/armada-operator/templates/serving-cert.yaml rename to charts/armada-operator/templates/serving-cert.yaml diff --git a/deployment/armada-operator/templates/validating-webhook-configuration.yaml b/charts/armada-operator/templates/validating-webhook-configuration.yaml similarity index 100% rename from deployment/armada-operator/templates/validating-webhook-configuration.yaml rename to charts/armada-operator/templates/validating-webhook-configuration.yaml diff --git a/deployment/armada-operator/templates/webhook-service.yaml b/charts/armada-operator/templates/webhook-service.yaml similarity index 100% rename from deployment/armada-operator/templates/webhook-service.yaml rename to charts/armada-operator/templates/webhook-service.yaml diff --git a/deployment/armada-operator/values.yaml b/charts/armada-operator/values.yaml similarity index 100% rename from deployment/armada-operator/values.yaml rename to charts/armada-operator/values.yaml diff --git a/deployment/armada-executor/Chart.yaml b/deployment/armada-executor/Chart.yaml deleted file mode 100644 index ca006a5c..00000000 --- a/deployment/armada-executor/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: armada -description: A Helm chart for Kubernetes which installs Armada Executor using the Armada Operator - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/deployment/armada-executor/charts/binoculars/Chart.yaml b/deployment/armada-executor/charts/binoculars/Chart.yaml deleted file mode 100644 index c6f843d8..00000000 --- a/deployment/armada-executor/charts/binoculars/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: binoculars -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/deployment/armada-executor/charts/binoculars/application-config.yaml b/deployment/armada-executor/charts/binoculars/application-config.yaml deleted file mode 100644 index 21cdb8bb..00000000 --- a/deployment/armada-executor/charts/binoculars/application-config.yaml +++ /dev/null @@ -1,15 +0,0 @@ -grpcPort: 50059 -httpPort: 8080 -metricsPort: 9000 -grpc: - keepaliveParams: - maxConnectionIdle: 5m - time: 2h - timeout: 20s - keepaliveEnforcementPolicy: - minTime: 5m - permitWithoutStream: false -impersonateUsers: true -corsAllowedOrigins: {{ .Values.corsAllowedOrigins | default .Values.global.corsAllowedOrigins }} -auth: - anonymousAuth: true diff --git a/deployment/armada-executor/charts/binoculars/templates/binoculars.yaml b/deployment/armada-executor/charts/binoculars/templates/binoculars.yaml deleted file mode 100644 index ec714842..00000000 --- a/deployment/armada-executor/charts/binoculars/templates/binoculars.yaml +++ /dev/null @@ -1,31 +0,0 @@ -apiVersion: install.armadaproject.io/v1alpha1 -kind: Binoculars -metadata: - name: {{ include "armada.name" . }} - namespace: {{ .Release.Namespace }} - labels: -{{- include "armada.labels" . | nindent 4 }} -spec: - hostNames: {{ .Values.hostNames }} - ingress: - ingressClass: {{ .Values.ingressClass | default .Values.global.ingressClass }} - clusterIssuer: {{ .Values.custerIssuer | default .Values.global.clusterIssuer }} - replicas: {{ .Values.replicas }} - resources: - limits: - memory: {{ .Values.resources.limits.memory }} - cpu: {{ .Values.resources.limits.cpu }} - requests: - memory: {{ .Values.resources.requests.memory }} - cpu: {{ .Values.resources.requests.cpu }} - environment: - - name: LOG_FORMAT - value: {{ .Values.environment.LOG_FORMAT }} - prometheus: - enabled: {{ .Values.prometheus.enabled }} - scrapeInterval: {{ .Values.prometheus.scrapeInterval }} - image: - repository: {{ .Values.image.repository }} - tag: {{ .Values.image.tag | default .Values.global.image.tag}} - applicationConfig: -{{ tpl (.Files.Get "application-config.yaml") . | indent 4 }} diff --git a/deployment/armada-executor/charts/binoculars/values.yaml b/deployment/armada-executor/charts/binoculars/values.yaml deleted file mode 100644 index 03075198..00000000 --- a/deployment/armada-executor/charts/binoculars/values.yaml +++ /dev/null @@ -1,18 +0,0 @@ -corsAllowedOrigins: - - "http://loocalhost:8089" -replicas: 2 -image: - repository: gresearch/armada-binoculars - tag: -resources: - limits: - memory: 1Gi - cpu: 500m - requests: - memory: 500Mi - cpu: 300m -environment: - LOG_FORMAT: json -prometheus: - enabled: true - scrapeInterval: "5m" diff --git a/deployment/armada-executor/charts/executor/Chart.yaml b/deployment/armada-executor/charts/executor/Chart.yaml deleted file mode 100644 index ac9bf00c..00000000 --- a/deployment/armada-executor/charts/executor/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: executor -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/deployment/armada-executor/charts/executor/application-config.yaml b/deployment/armada-executor/charts/executor/application-config.yaml deleted file mode 100644 index b30aed22..00000000 --- a/deployment/armada-executor/charts/executor/application-config.yaml +++ /dev/null @@ -1,4 +0,0 @@ -clusterId: {{ .Values.clusterId | default .Values.global.clusterId }} -apiConnection: - armadaUrl: {{ .Values.armadaUrl | default .Values.global.armadaUrl }} - forceNoTls: {{ .Values.forceNoTls }} diff --git a/deployment/armada-executor/charts/executor/templates/executor.yaml b/deployment/armada-executor/charts/executor/templates/executor.yaml deleted file mode 100644 index 70c48a18..00000000 --- a/deployment/armada-executor/charts/executor/templates/executor.yaml +++ /dev/null @@ -1,26 +0,0 @@ -apiVersion: install.armadaproject.io/v1alpha1 -kind: Executor -metadata: - name: {{ include "armada.name" . }} - namespace: {{ .Release.Namespace }} - labels: -{{- include "armada.labels" . | nindent 4 }} -spec: - resources: - limits: - memory: {{ .Values.resources.limits.memory }} - cpu: {{ .Values.resources.limits.cpu }} - requests: - memory: {{ .Values.resources.requests.memory }} - cpu: {{ .Values.resources.requests.cpu }} - environment: - - name: LOG_FORMAT - value: {{ .Values.environment.LOG_FORMAT }} - prometheus: - enabled: {{ .Values.prometheus.enabled }} - scrapeInterval: {{ .Values.prometheus.scrapeInterval }} - image: - repository: {{ .Values.image.repository }} - tag: {{ .Values.image.tag | default .Values.global.image.tag}} - applicationConfig: -{{ tpl (.Files.Get "application-config.yaml") . | indent 4 }} diff --git a/deployment/armada-executor/charts/executor/templates/priority-class.yaml b/deployment/armada-executor/charts/executor/templates/priority-class.yaml deleted file mode 100644 index 1f72f34a..00000000 --- a/deployment/armada-executor/charts/executor/templates/priority-class.yaml +++ /dev/null @@ -1,12 +0,0 @@ ---- -apiVersion: scheduling.k8s.io/v1 -kind: PriorityClass -metadata: - name: armada-default -value: 1000 ---- -apiVersion: scheduling.k8s.io/v1 -kind: PriorityClass -metadata: - name: armada-preemptible -value: 900 diff --git a/deployment/armada-executor/charts/executor/values.yaml b/deployment/armada-executor/charts/executor/values.yaml deleted file mode 100644 index 66876494..00000000 --- a/deployment/armada-executor/charts/executor/values.yaml +++ /dev/null @@ -1,18 +0,0 @@ -clusterId: "exec-cluster" -armadaUrl: -forceNoTls: true -image: - repository: "gresearch/armada-executor" - tag: -resources: - limits: - memory: 1Gi - cpu: 500m - requests: - memory: 500Mi - cpu: 300m -environment: - LOG_FORMAT: json -prometheus: - enabled: true - scrapeInterval: "5m" diff --git a/deployment/armada-executor/templates/_helpers.tpl b/deployment/armada-executor/templates/_helpers.tpl deleted file mode 100644 index 8cde695e..00000000 --- a/deployment/armada-executor/templates/_helpers.tpl +++ /dev/null @@ -1,62 +0,0 @@ -{{/* -Expand the name of the chart. -*/}} -{{- define "armada.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "armada.fullname" -}} -{{- if .Values.fullnameOverride }} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- $name := default .Chart.Name .Values.nameOverride }} -{{- if contains $name .Release.Name }} -{{- .Release.Name | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} -{{- end }} -{{- end }} -{{- end }} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "armada.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Common labels -*/}} -{{- define "armada.labels" -}} -helm.sh/chart: {{ include "armada.chart" . }} -{{ include "armada.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end }} - -{{/* -Selector labels -*/}} -{{- define "armada.selectorLabels" -}} -app.kubernetes.io/name: {{ include "armada.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end }} - -{{/* -Create the name of the service account to use -*/}} -{{- define "armada.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "armada.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }} diff --git a/deployment/armada-executor/values.yaml b/deployment/armada-executor/values.yaml deleted file mode 100644 index 1bb19b02..00000000 --- a/deployment/armada-executor/values.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# global scope is for values that are common to all component subcharts -global: - # ingressClass will select the ingress provider - ingressClass: "nginx" - # clusterIssuer specifies the cluster-issuer installed on the target cluster - clusterIssuer: "k8s-cluster-issuer" - # image tag to use for armada components - image: - tag: "b292be39d6f960fcf20a8de26657ce79019abef5" - # replica count - replicas: 1 - # cross-origin allowed origins - corsAllowedOrigins: - - "http://localhost:8082" - - "http://localhost:8089" - # armada API server url - armadaUrl: armadaserver.armada.svc.cluster.local:50051 - -binoculars: - ingressHostNames: [] - diff --git a/deployment/armada-operator/.helmignore b/deployment/armada-operator/.helmignore deleted file mode 100644 index 0e8a0eb3..00000000 --- a/deployment/armada-operator/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/deployment/armada-operator/dist/config.yaml b/deployment/armada-operator/dist/config.yaml deleted file mode 100644 index 37d11141..00000000 --- a/deployment/armada-operator/dist/config.yaml +++ /dev/null @@ -1,109 +0,0 @@ -project_name: armada-operator-fork -release: - github: - owner: dejanzele - name: armada-operator-fork - name_template: '{{.Tag}}' -scoop: - name: armada-operator-fork - commit_author: - name: goreleaserbot - email: goreleaser@carlosbecker.com - commit_msg_template: Scoop update for {{ .ProjectName }} version {{ .Tag }} -builds: -- id: armada-operator-fork - goos: - - linux - - darwin - goarch: - - amd64 - - arm64 - - "386" - goarm: - - "6" - gomips: - - hardfloat - targets: - - linux_amd64 - - linux_arm64 - - linux_386 - - darwin_amd64 - - darwin_arm64 - dir: . - main: . - ldflags: - - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} - -X main.builtBy=goreleaser - binary: armada-operator-fork - builder: go - gobinary: go -archives: -- id: default - builds: - - armada-operator-fork - name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm - }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}' - format: tar.gz - files: - - src: license* - - src: LICENSE* - - src: readme* - - src: README* - - src: changelog* - - src: CHANGELOG* -snapshot: - name_template: '{{ .Version }}-SNAPSHOT-{{ .ShortCommit }}' -checksum: - name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt' - algorithm: sha256 -dist: dist -env_files: - github_token: ~/.config/goreleaser/github_token - gitlab_token: ~/.config/goreleaser/gitlab_token - gitea_token: ~/.config/goreleaser/gitea_token -source: - name_template: '{{ .ProjectName }}-{{ .Version }}' - format: tar.gz -gomod: - gobinary: go -announce: - twitter: - message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL - }}' - reddit: - title_template: '{{ .ProjectName }} {{ .Tag }} is out!' - url_template: '{{ .ReleaseURL }}' - slack: - message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL - }}' - username: GoReleaser - discord: - message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL - }}' - author: GoReleaser - color: "3888754" - icon_url: https://goreleaser.com/static/avatar.png - teams: - title_template: '{{ .ProjectName }} {{ .Tag }} is out!' - message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL - }}' - color: '#2D313E' - icon_url: https://goreleaser.com/static/avatar.png - smtp: - subject_template: '{{ .ProjectName }} {{ .Tag }} is out!' - body_template: 'You can view details from: {{ .ReleaseURL }}' - mattermost: - message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL - }}' - title_template: '{{ .ProjectName }} {{ .Tag }} is out!' - username: GoReleaser - linkedin: - message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL - }}' - telegram: - message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL - }}' -github_urls: - download: https://github.com -gitlab_urls: - download: https://gitlab.com diff --git a/deployment/armada-operator/t.yaml b/deployment/armada-operator/t.yaml deleted file mode 100644 index 86c8182c..00000000 --- a/deployment/armada-operator/t.yaml +++ /dev/null @@ -1,954 +0,0 @@ ---- -# Source: armada-operator/templates/deployment.yaml -apiVersion: v1 -kind: ServiceAccount -metadata: - name: release-name-armada-operator-controller-manager - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: armada-operator - app.kubernetes.io/part-of: armada-operator - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm ---- -# Source: armada-operator/templates/manager-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: release-name-armada-operator-manager-role - labels: - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -rules: -- apiGroups: - - "" - resources: - - events - verbs: - - delete - - deletecollection - - get - - list - - patch - - watch -- apiGroups: - - "" - resources: - - groups - - users - verbs: - - impersonate -- apiGroups: - - "" - resources: - - nodes - verbs: - - get - - list - - watch -- apiGroups: - - "" - resources: - - nodes/proxy - verbs: - - get -- apiGroups: - - "" - resources: - - pods - verbs: - - create - - delete - - deletecollection - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - serviceaccounts/token - verbs: - - create -- apiGroups: - - "" - resources: - - services - verbs: - - create - - delete - - deletecollection - - get - - list - - watch -- apiGroups: - - "" - - apps - - monitoring.coreos.com - - rbac.authorization.k8s.io - - scheduling.k8s.io - resources: - - clusterrolebindings - - clusterroles - - deployments - - prometheusrules - - serviceaccounts - - servicemonitors - - services - verbs: - - create - - delete - - get - - list - - patch - - update -- apiGroups: - - apps - resources: - - deployments - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - "" - resources: - - secrets - - serviceaccounts - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - "" - resources: - - secrets - - serviceaccounts - - services - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - core.armadaproject.io - resources: - - queues - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - core.armadaproject.io - resources: - - queues/finalizers - verbs: - - update -- apiGroups: - - core.armadaproject.io - resources: - - queues/status - verbs: - - get - - patch - - update -- apiGroups: - - discovery.k8s.io - resources: - - endpointslices - verbs: - - get - - list - - watch -- apiGroups: - - install.armadaproject.io - resources: - - armadaservers - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - install.armadaproject.io - resources: - - armadaservers/status - verbs: - - get - - patch - - update -- apiGroups: - - install.armadaproject.io - resources: - - binoculars - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - install.armadaproject.io - resources: - - binoculars/finalizers - verbs: - - update -- apiGroups: - - install.armadaproject.io - resources: - - binoculars/status - verbs: - - get - - patch - - update -- apiGroups: - - install.armadaproject.io - resources: - - eventingesters - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - install.armadaproject.io - resources: - - eventingesters/status - verbs: - - get - - patch - - update -- apiGroups: - - install.armadaproject.io - resources: - - executors - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - install.armadaproject.io - resources: - - executors/finalizers - verbs: - - update -- apiGroups: - - install.armadaproject.io - resources: - - executors/status - verbs: - - get - - patch - - update -- apiGroups: - - install.armadaproject.io - resources: - - lookoutingesters - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - install.armadaproject.io - resources: - - lookoutingesters/status - verbs: - - get - - patch - - update -- apiGroups: - - install.armadaproject.io - resources: - - lookouts - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - install.armadaproject.io - resources: - - lookouts/status - verbs: - - get - - patch - - update -- apiGroups: - - networking.k8s.io - resources: - - ingresses - verbs: - - create - - delete - - deletecollection - - get - - list - - patch - - update - - watch -- apiGroups: - - policy - resources: - - poddisruptionbudgets - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - rbac.authorization.k8s.io - resources: - - clusterrolebindings - - clusterroles - - users - verbs: - - create - - delete - - get - - impersonate - - list - - patch - - update - - watch ---- -# Source: armada-operator/templates/metrics-reader-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: release-name-armada-operator-metrics-reader - labels: - app.kubernetes.io/component: kube-rbac-proxy - app.kubernetes.io/created-by: armada-operator - app.kubernetes.io/part-of: armada-operator - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -rules: -- nonResourceURLs: - - /metrics - verbs: - - get ---- -# Source: armada-operator/templates/proxy-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: release-name-armada-operator-proxy-role - labels: - app.kubernetes.io/component: kube-rbac-proxy - app.kubernetes.io/created-by: armada-operator - app.kubernetes.io/part-of: armada-operator - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -rules: -- apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create -- apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create ---- -# Source: armada-operator/templates/manager-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: release-name-armada-operator-manager-rolebinding - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: armada-operator - app.kubernetes.io/part-of: armada-operator - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: 'release-name-armada-operator-manager-role' -subjects: -- kind: ServiceAccount - name: 'release-name-armada-operator-controller-manager' - namespace: 'armada' ---- -# Source: armada-operator/templates/proxy-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: release-name-armada-operator-proxy-rolebinding - labels: - app.kubernetes.io/component: kube-rbac-proxy - app.kubernetes.io/created-by: armada-operator - app.kubernetes.io/part-of: armada-operator - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: 'release-name-armada-operator-proxy-role' -subjects: -- kind: ServiceAccount - name: 'release-name-armada-operator-controller-manager' - namespace: 'armada' ---- -# Source: armada-operator/templates/leader-election-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: release-name-armada-operator-leader-election-role - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: armada-operator - app.kubernetes.io/part-of: armada-operator - app.kubernets.io/managed-by: kustomize - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -rules: -- apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch ---- -# Source: armada-operator/templates/leader-election-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: release-name-armada-operator-leader-election-rolebinding - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: armada-operator - app.kubernetes.io/part-of: armada-operator - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: 'release-name-armada-operator-leader-election-role' -subjects: -- kind: ServiceAccount - name: 'release-name-armada-operator-controller-manager' - namespace: 'armada' ---- -# Source: armada-operator/templates/metrics-service.yaml -apiVersion: v1 -kind: Service -metadata: - name: release-name-armada-operator-controller-manager-metrics-service - labels: - app.kubernetes.io/component: kube-rbac-proxy - app.kubernetes.io/created-by: armada-operator - app.kubernetes.io/part-of: armada-operator - control-plane: controller-manager - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -spec: - type: ClusterIP - selector: - control-plane: controller-manager - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - ports: - - name: https - port: 8443 - protocol: TCP - targetPort: https ---- -# Source: armada-operator/templates/webhook-service.yaml -apiVersion: v1 -kind: Service -metadata: - name: release-name-armada-operator-webhook-service - labels: - app.kubernetes.io/component: webhook - app.kubernetes.io/created-by: armada-operator - app.kubernetes.io/part-of: armada-operator - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -spec: - type: ClusterIP - selector: - control-plane: controller-manager - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - ports: - - port: 443 - protocol: TCP - targetPort: 9443 ---- -# Source: armada-operator/templates/deployment.yaml -apiVersion: apps/v1 -kind: Deployment -metadata: - name: release-name-armada-operator-controller-manager - labels: - app.kubernetes.io/component: manager - app.kubernetes.io/created-by: armada-operator - app.kubernetes.io/part-of: armada-operator - control-plane: controller-manager - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -spec: - replicas: 1 - selector: - matchLabels: - control-plane: controller-manager - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - template: - metadata: - labels: - control-plane: controller-manager - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - annotations: - kubectl.kubernetes.io/default-container: manager - spec: - containers: - - args: - - --health-probe-bind-address=:8081 - - --metrics-bind-address=127.0.0.1:8080 - - --leader-elect - command: - - /manager - env: - - name: KUBERNETES_CLUSTER_DOMAIN - value: cluster.local - image: armada-operator:latest - imagePullPolicy: IfNotPresent - livenessProbe: - httpGet: - path: /healthz - port: 8081 - initialDelaySeconds: 15 - periodSeconds: 20 - name: manager - ports: - - containerPort: 9443 - name: webhook-server - protocol: TCP - readinessProbe: - httpGet: - path: /readyz - port: 8081 - initialDelaySeconds: 5 - periodSeconds: 10 - resources: - limits: - cpu: 500m - memory: 128Mi - requests: - cpu: 10m - memory: 64Mi - securityContext: - runAsNonRoot: true - allowPrivilegeEscalation: false - readOnlyRootFilesystem: true - volumeMounts: - - mountPath: /tmp/k8s-webhook-server/serving-certs - name: cert - readOnly: true - - args: - - --secure-listen-address=0.0.0.0:8443 - - --upstream=http://127.0.0.1:8080/ - - --logtostderr=true - - --v=0 - env: - - name: KUBERNETES_CLUSTER_DOMAIN - value: cluster.local - image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.0 - name: kube-rbac-proxy - ports: - - containerPort: 8443 - name: https - protocol: TCP - resources: - limits: - cpu: 500m - memory: 128Mi - requests: - cpu: 5m - memory: 64Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - securityContext: - runAsNonRoot: true - serviceAccountName: release-name-armada-operator-controller-manager - terminationGracePeriodSeconds: 10 - volumes: - - name: cert - secret: - defaultMode: 420 - secretName: webhook-server-cert ---- -# Source: armada-operator/templates/serving-cert.yaml -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: release-name-armada-operator-serving-cert - labels: - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -spec: - dnsNames: - - armada-release-name-armada-operator-webhook-service.armada.svc - - armada-release-name-armada-operator-webhook-service.armada.svc.cluster.local - issuerRef: - kind: Issuer - name: 'release-name-armada-operator-selfsigned-issuer' - secretName: webhook-server-cert ---- -# Source: armada-operator/templates/selfsigned-issuer.yaml -apiVersion: cert-manager.io/v1 -kind: Issuer -metadata: - name: release-name-armada-operator-selfsigned-issuer - labels: - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -spec: - selfSigned: {} ---- -# Source: armada-operator/templates/mutating-webhook-configuration.yaml -apiVersion: admissionregistration.k8s.io/v1 -kind: MutatingWebhookConfiguration -metadata: - name: release-name-armada-operator-mutating-webhook-configuration - annotations: - cert-manager.io/inject-ca-from: armada/release-name-armada-operator-serving-cert - labels: - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -webhooks: -- admissionReviewVersions: - - v1 - clientConfig: - service: - name: 'release-name-armada-operator-webhook-service' - namespace: 'armada' - path: /mutate-install-armadaproject-io-v1alpha1-armada-server - failurePolicy: Fail - name: armada-server.kb.io - rules: - - apiGroups: - - install.armadaproject.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - armada-servers - sideEffects: None -- admissionReviewVersions: - - v1 - clientConfig: - service: - name: 'release-name-armada-operator-webhook-service' - namespace: 'armada' - path: /mutate-install-armadaproject-io-v1alpha1-binoculars - failurePolicy: Fail - name: mbinoculars.kb.io - rules: - - apiGroups: - - install.armadaproject.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - binoculars - sideEffects: None -- admissionReviewVersions: - - v1 - clientConfig: - service: - name: 'release-name-armada-operator-webhook-service' - namespace: 'armada' - path: /mutate-install-armadaproject-io-v1alpha1-eventingester - failurePolicy: Fail - name: meventingester.kb.io - rules: - - apiGroups: - - install.armadaproject.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - eventingesters - sideEffects: None -- admissionReviewVersions: - - v1 - clientConfig: - service: - name: 'release-name-armada-operator-webhook-service' - namespace: 'armada' - path: /mutate-install-armadaproject-io-v1alpha1-executor - failurePolicy: Fail - name: mexecutor.kb.io - rules: - - apiGroups: - - install.armadaproject.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - executors - sideEffects: None -- admissionReviewVersions: - - v1 - clientConfig: - service: - name: 'release-name-armada-operator-webhook-service' - namespace: 'armada' - path: /mutate-install-armadaproject-io-v1alpha1-lookout - failurePolicy: Fail - name: mlookout.kb.io - rules: - - apiGroups: - - install.armadaproject.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - lookout - sideEffects: None -- admissionReviewVersions: - - v1 - clientConfig: - service: - name: 'release-name-armada-operator-webhook-service' - namespace: 'armada' - path: /mutate-install-armadaproject-io-v1alpha1-lookoutingester - failurePolicy: Fail - name: mlookoutingester.kb.io - rules: - - apiGroups: - - install.armadaproject.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - lookoutingesters - sideEffects: None ---- -# Source: armada-operator/templates/validating-webhook-configuration.yaml -apiVersion: admissionregistration.k8s.io/v1 -kind: ValidatingWebhookConfiguration -metadata: - name: release-name-armada-operator-validating-webhook-configuration - annotations: - cert-manager.io/inject-ca-from: armada/release-name-armada-operator-serving-cert - labels: - helm.sh/chart: armada-operator-0.1.0 - app.kubernetes.io/name: armada-operator - app.kubernetes.io/instance: release-name - app.kubernetes.io/version: "0.1.0" - app.kubernetes.io/managed-by: Helm -webhooks: -- admissionReviewVersions: - - v1 - clientConfig: - service: - name: 'release-name-armada-operator-webhook-service' - namespace: 'armada' - path: /validate-install-armadaproject-io-v1alpha1-armada-server - failurePolicy: Fail - name: varmada-server.kb.io - rules: - - apiGroups: - - install.armadaproject.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - armada-servers - sideEffects: None -- admissionReviewVersions: - - v1 - clientConfig: - service: - name: 'release-name-armada-operator-webhook-service' - namespace: 'armada' - path: /validate-install-armadaproject-io-v1alpha1-eventingester - failurePolicy: Fail - name: veventingester.kb.io - rules: - - apiGroups: - - install.armadaproject.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - eventingesters - sideEffects: None -- admissionReviewVersions: - - v1 - clientConfig: - service: - name: 'release-name-armada-operator-webhook-service' - namespace: 'armada' - path: /validate-install-armadaproject-io-v1alpha1-executor - failurePolicy: Fail - name: vexecutor.kb.io - rules: - - apiGroups: - - install.armadaproject.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - executors - sideEffects: None -- admissionReviewVersions: - - v1 - clientConfig: - service: - name: 'release-name-armada-operator-webhook-service' - namespace: 'armada' - path: /validate-install-armadaproject-io-v1alpha1-lookoutingester - failurePolicy: Fail - name: vlookoutingester.kb.io - rules: - - apiGroups: - - install.armadaproject.io - apiVersions: - - v1alpha1 - operations: - - CREATE - - UPDATE - resources: - - lookoutingesters - sideEffects: None diff --git a/deployment/armada-server/.helmignore b/deployment/armada-server/.helmignore deleted file mode 100644 index 0e8a0eb3..00000000 --- a/deployment/armada-server/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/deployment/armada-server/Chart.yaml b/deployment/armada-server/Chart.yaml deleted file mode 100644 index 49fc4f76..00000000 --- a/deployment/armada-server/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: armada -description: A Helm chart for Kubernetes which installs Armada using the Armada Operator - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/deployment/armada-server/charts/armada-server/Chart.yaml b/deployment/armada-server/charts/armada-server/Chart.yaml deleted file mode 100644 index ae474454..00000000 --- a/deployment/armada-server/charts/armada-server/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: armadaserver -description: A Helm chart for Kubernetes which installes the Armada Server component - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/deployment/armada-server/charts/armada-server/application-config.yaml b/deployment/armada-server/charts/armada-server/application-config.yaml deleted file mode 100644 index cd3339de..00000000 --- a/deployment/armada-server/charts/armada-server/application-config.yaml +++ /dev/null @@ -1,90 +0,0 @@ -# applicationConfig for armada server. -# this template can use fields from .Values -server: localhost:50051 -forceNoTls: true -toleratedTaints: - - key: armada.io/batch - operator: in -auth: - anonymousAuth: true - basicAuth: - enableAuthentication: false - permissionGroupMapping: - submit_jobs: ["everyone"] - submit_any_jobs: ["everyone"] - create_queue: ["everyone"] - delete_queue: ["everyone"] - cancel_jobs: ["everyone"] - cancel_any_jobs: ["everyone"] - reprioritize_jobs: ["everyone"] - reprioritize_any_jobs: ["everyone"] - watch_events: ["everyone"] - watch_all_events: ["everyone"] - execute_jobs: ["everyone"] -postgres: - connection: - host: {{ .Values.postgres.host | default .Values.global.postgres.host}} - port: 5432 - user: {{ .Values.postgres.user | default .Values.global.postgres.user }} - password: {{ .Values.postgres.password | default .Values.global.postgres.password }} - dbname: {{ .Values.postgres.dbname }} - sslmode: {{ .Values.postgres.sslmode | default .Values.global.postgres.sslmode }} -pulsar: - URL: {{ .Values.pulsar.url | default .Values.global.pulsar.url }} - armadaInit: - image: - repository: {{ .Values.pulsar.armadaInit.image.repository }} - tag: {{ .Values.pulsar.armadaInit.image.tag }} - brokerHost: {{ .Values.pulsar.armadaInit.brokerHost }} - protocol: {{ .Values.pulsar.armadaInit.protocol }} - adminPort: {{ .Values.pulsar.armadaInit.adminPort }} - port: {{ .Values.pulsar.armadaInit.port }} -redis: - addrs: {{ .Values.redis.addrs | default .Values.global.redis.addrs }} - db: {{ .Values.redis.db | default .Values.global.redis.db }} - poolSize: {{ .Values.redis.poolSize | default .Values.global.redis.poolSize }} -scheduling: - queueLeaseBatchSize: 1000 - maximalResourceFractionToSchedulePerQueue: - memory: 0.99 - cpu: 0.99 - maximalResourceFractionPerQueue: - memory: 0.99 - cpu: 0.99 - maximalClusterFractionToSchedule: - memory: 0.99 - cpu: 0.99 - probabilityOfUsingNewScheduler: 1 - preemption: - enabled: true - priorityClasses: - armada-default: - priority: 1000 - maximalResourceFractionPerQueue: - memory: 0.99 - cpu: 0.99 - "": # Treat missing PC the same as armada-default. - priority: 1000 - maximalResourceFractionPerQueue: - memory: 0.99 - cpu: 0.99 - armada-preemptible: - priority: 900 - maximalResourceFractionPerQueue: - memory: 0.99 - cpu: 0.99 - # Default to empty PC to not require PCs be set up in worker clusters. - defaultPriorityClass: "" - maxQueueReportsToStore: 1000 - MaxJobReportsToStore: 100000 - defaultJobLimits: - cpu: 1 - memory: 1Gi - ephemeral-storage: 8Gi - defaultJobTolerations: - - key: "example.com/default_toleration" - operator: "Equal" - value: "true" - effect: "NoSchedule" - minTerminationGracePeriod: 1s - maxTerminationGracePeriod: 30s diff --git a/deployment/armada-server/charts/armada-server/templates/_helpers.tpl b/deployment/armada-server/charts/armada-server/templates/_helpers.tpl deleted file mode 100644 index 2ead6361..00000000 --- a/deployment/armada-server/charts/armada-server/templates/_helpers.tpl +++ /dev/null @@ -1,62 +0,0 @@ -{{/* -Expand the name of the chart. -*/}} -{{- define "armadaserver.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "armadaserver.fullname" -}} -{{- if .Values.fullnameOverride }} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- $name := default .Chart.Name .Values.nameOverride }} -{{- if contains $name .Release.Name }} -{{- .Release.Name | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} -{{- end }} -{{- end }} -{{- end }} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "armadaserver.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Common labels -*/}} -{{- define "armadaserver.labels" -}} -helm.sh/chart: {{ include "armadaserver.chart" . }} -{{ include "armadaserver.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end }} - -{{/* -Selector labels -*/}} -{{- define "armadaserver.selectorLabels" -}} -app.kubernetes.io/name: {{ include "armadaserver.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end }} - -{{/* -Create the name of the service account to use -*/}} -{{- define "armadaserver.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "armadaserver.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }} diff --git a/deployment/armada-server/charts/armada-server/templates/armada-server.yaml b/deployment/armada-server/charts/armada-server/templates/armada-server.yaml deleted file mode 100644 index 03319809..00000000 --- a/deployment/armada-server/charts/armada-server/templates/armada-server.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: install.armadaproject.io/v1alpha1 -kind: ArmadaServer -metadata: - name: {{ include "armada.name" . }} - namespace: {{ .Release.Namespace }} - labels: -{{- include "armada.labels" . | nindent 4 }} -spec: - pulsarInit: {{ .Values.pulsarInit }} - ingress: - ingressClass: {{ .Values.ingressClass | default .Values.global.ingressClass }} - clusterIssuer: {{ .Values.custerIssuer | default .Values.global.clusterIssuer }} - hostNames: {{ .Values.ingressHostNames }} - replicas: {{ .Values.replicas | default .Values.global.replicas }} - image: - repository: {{ .Values.image.repository }} - tag: {{ .Values.image.tag | default .Values.global.image.tag}} - applicationConfig: -{{ tpl (.Files.Get "application-config.yaml") . | indent 4 }} diff --git a/deployment/armada-server/charts/armada-server/values.yaml b/deployment/armada-server/charts/armada-server/values.yaml deleted file mode 100644 index 27f42fad..00000000 --- a/deployment/armada-server/charts/armada-server/values.yaml +++ /dev/null @@ -1,30 +0,0 @@ -# Default values for armadaserver. -ingressHostNames: [localhost] -image: - repository: gresearch/armada-server - tag: -replicas: 1 -pulsarInit: false -postgres: - dbname: postgres - sslmode: false -pulsar: - url: - armadaInit: - # -- Pulsar image - image: - # uncomment for amd64 arch - repository: apachepulsar/pulsar - # uncomment for arm64 arch (M1 mac, in particular) - #repository: richgross/pulsar - tag: 2.11.0 - # -- Pulsar Broker host - brokerHost: pulsar-broker.armada.svc.cluster.local - # -- Protocol used for connecting to Pulsar Broker host (either `http` or `https`) - protocol: http - # -- Pulsar admin (REST) port - adminPort: 8080 - # -- Pulsar application port - port: 6650 -redis: - db: 0 diff --git a/deployment/armada-server/charts/event-ingester/Chart.yaml b/deployment/armada-server/charts/event-ingester/Chart.yaml deleted file mode 100644 index e1ee0199..00000000 --- a/deployment/armada-server/charts/event-ingester/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: eventingester -description: A Helm chart for Kubernetes which installs the Armada Server EventIngester component - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/deployment/armada-server/charts/event-ingester/application-config.yaml b/deployment/armada-server/charts/event-ingester/application-config.yaml deleted file mode 100644 index 81216cce..00000000 --- a/deployment/armada-server/charts/event-ingester/application-config.yaml +++ /dev/null @@ -1,18 +0,0 @@ -redis: - addrs: {{ .Values.redis.addrs | default .Values.global.redis.addrs }} - password: {{ .Values.redis.password | default .Values.global.redis.password }} - db: {{ .Values.redis.db | default .Values.global.redis.db }} - poolSize: {{ .Values.redis.poolSize | default .Values.global.redis.poolSize }} -pulsar: - URL: {{ .Values.pulsar.url | default .Values.global.pulsar.url }} - jobsetEventsTopic: "events" - receiveTimeout: 5s - backoffTime: 1s -subscriptionName: "events-ingester" -minMessageCompressionSize: 1024 -batchSize: 1048576 #1MB -batchDuration: 500ms -batchMessages: 10000 -eventRetentionPolicy: - expiryEnabled: true - retentionDuration: 336h diff --git a/deployment/armada-server/charts/event-ingester/templates/_helpers.tpl b/deployment/armada-server/charts/event-ingester/templates/_helpers.tpl deleted file mode 100644 index cac60665..00000000 --- a/deployment/armada-server/charts/event-ingester/templates/_helpers.tpl +++ /dev/null @@ -1,62 +0,0 @@ -{{/* -Expand the name of the chart. -*/}} -{{- define "eventingester.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "eventingester.fullname" -}} -{{- if .Values.fullnameOverride }} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- $name := default .Chart.Name .Values.nameOverride }} -{{- if contains $name .Release.Name }} -{{- .Release.Name | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} -{{- end }} -{{- end }} -{{- end }} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "eventingester.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Common labels -*/}} -{{- define "eventingester.labels" -}} -helm.sh/chart: {{ include "eventingester.chart" . }} -{{ include "eventingester.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end }} - -{{/* -Selector labels -*/}} -{{- define "eventingester.selectorLabels" -}} -app.kubernetes.io/name: {{ include "eventingester.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end }} - -{{/* -Create the name of the service account to use -*/}} -{{- define "eventingester.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "eventingester.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }} diff --git a/deployment/armada-server/charts/event-ingester/templates/event-ingester.yaml b/deployment/armada-server/charts/event-ingester/templates/event-ingester.yaml deleted file mode 100644 index 88c90709..00000000 --- a/deployment/armada-server/charts/event-ingester/templates/event-ingester.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: install.armadaproject.io/v1alpha1 -kind: EventIngester -metadata: - name: {{ include "armada.name" . }} - namespace: {{ .Release.Namespace }} - labels: -{{- include "armada.labels" . | nindent 4 }} -spec: - replicas: {{ .Values.replicas | default .Values.global.replicas}} - image: - repository: {{ .Values.image.repository }} - tag: {{ .Values.image.tag | default .Values.global.image.tag}} - applicationConfig: -{{ tpl (.Files.Get "application-config.yaml") . | indent 4 }} diff --git a/deployment/armada-server/charts/event-ingester/values.yaml b/deployment/armada-server/charts/event-ingester/values.yaml deleted file mode 100644 index f73dc931..00000000 --- a/deployment/armada-server/charts/event-ingester/values.yaml +++ /dev/null @@ -1,7 +0,0 @@ -image: - repository: "gresearch/armada-event-ingester" -redis: - db: -pulsar: - url: - diff --git a/deployment/armada-server/charts/lookout-ingester-v2/Chart.yaml b/deployment/armada-server/charts/lookout-ingester-v2/Chart.yaml deleted file mode 100644 index 3e8eea54..00000000 --- a/deployment/armada-server/charts/lookout-ingester-v2/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: lookoutingesterv2 -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/deployment/armada-server/charts/lookout-ingester-v2/application-config.yaml b/deployment/armada-server/charts/lookout-ingester-v2/application-config.yaml deleted file mode 100644 index b2688bf4..00000000 --- a/deployment/armada-server/charts/lookout-ingester-v2/application-config.yaml +++ /dev/null @@ -1,25 +0,0 @@ -postgres: - maxOpenConns: {{ .Values.postgres.maxOpenConns | default .Values.global.postgres.maxOpenConns }} - maxIdleConns: {{ .Values.postgres.maxIdleConns | default .Values.global.postgres.maxIdleConns }} - connMaxLifetime: {{ .Values.postgres.connMaxLifetime | default .Values.global.postgres.connMaxLifetime }} - connection: - host: {{ .Values.postgres.host | default .Values.global.postgres.host}} - port: {{ .Values.postgres.port | default .Values.global.postgres.port }} - user: {{ .Values.postgres.user | default .Values.global.postgres.user }} - password: {{ .Values.postgres.password | default .Values.global.postgres.password }} - dbname: {{ .Values.postgres.dbname }} - sslmode: {{ .Values.postgres.sslmode | default .Values.global.postgres.sslmode }} -metrics: - port: {{ .Values.metricsPort }} -pulsar: - enabled: true - URL: {{ .Values.pulsar.url | default .Values.global.pulsar.url }} - jobsetEventsTopic: "events" - receiveTimeout: 5s - backoffTime: 1s -paralellism: 1 -subscriptionName: "lookout-ingesterv2" -batchSize: 10000 -batchDuration: 500ms -minJobSpecCompressionSize: 1024 -userAnnotationPrefix: "armadaproject.io/" diff --git a/deployment/armada-server/charts/lookout-ingester-v2/templates/lookout-ingester.yaml b/deployment/armada-server/charts/lookout-ingester-v2/templates/lookout-ingester.yaml deleted file mode 100644 index ebe8735e..00000000 --- a/deployment/armada-server/charts/lookout-ingester-v2/templates/lookout-ingester.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: install.armadaproject.io/v1alpha1 -kind: LookoutIngester -metadata: - name: {{ include "armada.name" . }} - namespace: {{ .Release.Namespace }} - labels: -{{- include "armada.labels" . | nindent 4 }} -spec: - image: - repository: {{ .Values.image.repository }} - tag: {{ .Values.image.tag | default .Values.global.image.tag}} - applicationConfig: -{{ tpl (.Files.Get "application-config.yaml") . | indent 4 }} diff --git a/deployment/armada-server/charts/lookout-ingester-v2/values.yaml b/deployment/armada-server/charts/lookout-ingester-v2/values.yaml deleted file mode 100644 index 10a1e65c..00000000 --- a/deployment/armada-server/charts/lookout-ingester-v2/values.yaml +++ /dev/null @@ -1,8 +0,0 @@ -# Default values for lookoutingester. -metricsPort: 9000 -postgres: - dbname: lookoutv2 -pulsar: - url: -image: - repository: gresearch/armada-lookout-ingester-v2 diff --git a/deployment/armada-server/charts/lookout-ingester/Chart.yaml b/deployment/armada-server/charts/lookout-ingester/Chart.yaml deleted file mode 100644 index 689b8ddf..00000000 --- a/deployment/armada-server/charts/lookout-ingester/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: lookoutingester -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/deployment/armada-server/charts/lookout-ingester/application-config.yaml b/deployment/armada-server/charts/lookout-ingester/application-config.yaml deleted file mode 100644 index 9e3c7601..00000000 --- a/deployment/armada-server/charts/lookout-ingester/application-config.yaml +++ /dev/null @@ -1,25 +0,0 @@ -postgres: - maxOpenConns: {{ .Values.postgres.maxOpenConns | default .Values.global.postgres.maxOpenConns }} - maxIdleConns: {{ .Values.postgres.maxIdleConns | default .Values.global.postgres.maxIdleConns }} - connMaxLifetime: {{ .Values.postgres.connMaxLifetime | default .Values.global.postgres.connMaxLifetime }} - connection: - host: {{ .Values.postgres.host | default .Values.global.postgres.host}} - port: {{ .Values.postgres.port | default .Values.global.postgres.port }} - user: {{ .Values.postgres.user | default .Values.global.postgres.user }} - password: {{ .Values.postgres.password | default .Values.global.postgres.password }} - dbname: {{ .Values.postgres.dbname }} - sslmode: {{ .Values.postgres.sslmode | default .Values.global.postgres.sslmode }} -metrics: - port: {{ .Values.metricsPort }} -pulsar: - enabled: true - URL: {{ .Values.pulsar.url | default .Values.global.pulsar.url }} - jobsetEventsTopic: "events" - receiveTimeout: 5s - backoffTime: 1s -paralellism: 1 -subscriptionName: "lookout-ingester" -batchSize: 10000 -batchDuration: 500ms -minJobSpecCompressionSize: 1024 -userAnnotationPrefix: "armadaproject.io/" diff --git a/deployment/armada-server/charts/lookout-ingester/templates/lookout-ingester.yaml b/deployment/armada-server/charts/lookout-ingester/templates/lookout-ingester.yaml deleted file mode 100644 index ebe8735e..00000000 --- a/deployment/armada-server/charts/lookout-ingester/templates/lookout-ingester.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: install.armadaproject.io/v1alpha1 -kind: LookoutIngester -metadata: - name: {{ include "armada.name" . }} - namespace: {{ .Release.Namespace }} - labels: -{{- include "armada.labels" . | nindent 4 }} -spec: - image: - repository: {{ .Values.image.repository }} - tag: {{ .Values.image.tag | default .Values.global.image.tag}} - applicationConfig: -{{ tpl (.Files.Get "application-config.yaml") . | indent 4 }} diff --git a/deployment/armada-server/charts/lookout-ingester/values.yaml b/deployment/armada-server/charts/lookout-ingester/values.yaml deleted file mode 100644 index 495da427..00000000 --- a/deployment/armada-server/charts/lookout-ingester/values.yaml +++ /dev/null @@ -1,8 +0,0 @@ -# Default values for lookoutingester. -metricsPort: 9000 -postgres: - dbname: lookout -pulsar: - url: -image: - repository: gresearch/armada-lookout-ingester diff --git a/deployment/armada-server/charts/lookout-v2/Chart.yaml b/deployment/armada-server/charts/lookout-v2/Chart.yaml deleted file mode 100644 index c8756517..00000000 --- a/deployment/armada-server/charts/lookout-v2/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: lookoutv2 -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/deployment/armada-server/charts/lookout-v2/application-config.yaml b/deployment/armada-server/charts/lookout-v2/application-config.yaml deleted file mode 100644 index c958a7fc..00000000 --- a/deployment/armada-server/charts/lookout-v2/application-config.yaml +++ /dev/null @@ -1,34 +0,0 @@ -grpcPort: 50059 -httpPort: 8080 -metricsPort: 9000 -grpc: - keepaliveParams: - maxConnectionIdle: 5m - time: 2h - timeout: 20s - keepaliveEnforcementPolicy: - minTime: 5m - permitWithoutStream: false -uiConfig: - armadaApiBaseUrl: {{ .Values.armadaUrl | default .Values.global.armadaUrl }} - userAnnotationPrefix: "armadaproject.io/" - binocularsEnabled: true - binocularsBaseUrlPattern: {{ .Values.binocularsUrl | default .Values.global.binocularsUrl }} - overviewAutoRefreshMs: 15000 - jobSetsAutoRefreshMs: 15000 - jobsAutoRefreshMs: 30000 - lookoutV2ApiBaseUrl: {{ .Values.lookoutv2Url | default .Values.global.lookoutv2Url }} -postgres: - maxOpenConns: {{ .Values.postgres.maxOpenConns | default .Values.global.postgres.maxOpenConns }} - maxIdleConns: {{ .Values.postgres.maxIdleConns | default .Values.global.postgres.maxIdleConns }} - connMaxLifetime: {{ .Values.postgres.connMaxLifetime | default .Values.global.postgres.connMaxLifetime }} - connection: - host: {{ .Values.postgres.host | default .Values.global.postgres.host}} - port: {{ .Values.postgres.port | default .Values.global.postgres.port }} - user: {{ .Values.postgres.user | default .Values.global.postgres.user }} - password: {{ .Values.postgres.password | default .Values.global.postgres.password }} - dbname: {{ .Values.postgres.dbname }} - sslmode: {{ .Values.postgres.sslmode | default .Values.global.postgres.sslmode }} -prunerConfig: - daysToKeep: {{ .Values.prunerConfig.daysToKeep }} - batchSize: {{ .Values.prunerConfig.batchSize }} diff --git a/deployment/armada-server/charts/lookout-v2/templates/lookout.yaml b/deployment/armada-server/charts/lookout-v2/templates/lookout.yaml deleted file mode 100644 index 8438942f..00000000 --- a/deployment/armada-server/charts/lookout-v2/templates/lookout.yaml +++ /dev/null @@ -1,32 +0,0 @@ -apiVersion: install.armadaproject.io/v1alpha1 -kind: Lookout -metadata: - name: {{ include "armada.name" . }} - namespace: {{ .Release.Namespace }} - labels: -{{- include "armada.labels" . | nindent 4 }} -spec: - hostNames: {{ .Values.hostNames }} - ingress: - ingressClass: {{ .Values.ingressClass | default .Values.global.ingressClass }} - clusterIssuer: {{ .Values.custerIssuer | default .Values.global.clusterIssuer }} - replicas: {{ .Values.replicas }} - resources: - limits: - memory: {{ .Values.resources.limits.memory }} - cpu: {{ .Values.resources.limits.cpu }} - requests: - memory: {{ .Values.resources.requests.memory }} - cpu: {{ .Values.resources.requests.cpu }} - environment: - - name: LOG_FORMAT - value: {{ .Values.environment.LOG_FORMAT }} - prometheus: - enabled: {{ .Values.prometheus.enabled }} - scrapeInterval: {{ .Values.prometheus.scrapeInterval }} - image: - repository: {{ .Values.image.repository }} - tag: {{ .Values.image.tag | default .Values.global.image.tag}} - applicationConfig: -{{ tpl (.Files.Get "application-config.yaml") . | indent 4 }} - diff --git a/deployment/armada-server/charts/lookout-v2/values.yaml b/deployment/armada-server/charts/lookout-v2/values.yaml deleted file mode 100644 index ae56a2ae..00000000 --- a/deployment/armada-server/charts/lookout-v2/values.yaml +++ /dev/null @@ -1,22 +0,0 @@ -hostNames: [localhost] -replicas: 2 -image: - repository: gresearch/armada-lookout-v2 - tag: -resources: - limits: - memory: 1Gi - cpu: 500m - requests: - memory: 500Mi - cpu: 300m -environment: - LOG_FORMAT: json -prometheus: - enabled: true - scrapeInterval: "5m" -postgres: - dbname: lookoutv2 -prunerConfig: - daysToKeep: 42 - batchSize: 1000 diff --git a/deployment/armada-server/charts/lookout/Chart.yaml b/deployment/armada-server/charts/lookout/Chart.yaml deleted file mode 100644 index 13f2b4e3..00000000 --- a/deployment/armada-server/charts/lookout/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: lookout -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/deployment/armada-server/charts/lookout/application-config.yaml b/deployment/armada-server/charts/lookout/application-config.yaml deleted file mode 100644 index 1c465cea..00000000 --- a/deployment/armada-server/charts/lookout/application-config.yaml +++ /dev/null @@ -1,34 +0,0 @@ -grpcPort: 50059 -httpPort: 8080 -metricsPort: 9000 -grpc: - keepaliveParams: - maxConnectionIdle: 5m - time: 2h - timeout: 20s - keepaliveEnforcementPolicy: - minTime: 5m - permitWithoutStream: false -uiConfig: - armadaApiBaseUrl: {{ .Values.armadaUrl | default .Values.global.armadaUrl }} - userAnnotationPrefix: "armadaproject.io/" - binocularsEnabled: true - binocularsBaseUrlPattern: {{ .Values.binocularsUrl | default .Values.global.binocularsUrl }} - overviewAutoRefreshMs: 15000 - jobSetsAutoRefreshMs: 15000 - jobsAutoRefreshMs: 30000 - lookoutV2ApiBaseUrl: {{ .Values.lookoutV2Url | default .Values.global.lookoutV2Url }} -postgres: - maxOpenConns: {{ .Values.postgres.maxOpenConns | default .Values.global.postgres.maxOpenConns }} - maxIdleConns: {{ .Values.postgres.maxIdleConns | default .Values.global.postgres.maxIdleConns }} - connMaxLifetime: {{ .Values.postgres.connMaxLifetime | default .Values.global.postgres.connMaxLifetime }} - connection: - host: {{ .Values.postgres.host | default .Values.global.postgres.host}} - port: {{ .Values.postgres.port | default .Values.global.postgres.port }} - user: {{ .Values.postgres.user | default .Values.global.postgres.user }} - password: {{ .Values.postgres.password | default .Values.global.postgres.password }} - dbname: {{ .Values.postgres.dbname }} - sslmode: {{ .Values.postgres.sslmode | default .Values.global.postgres.sslmode }} -prunerConfig: - daysToKeep: {{ .Values.prunerConfig.daysToKeep }} - batchSize: {{ .Values.prunerConfig.batchSize }} diff --git a/deployment/armada-server/charts/lookout/templates/lookout.yaml b/deployment/armada-server/charts/lookout/templates/lookout.yaml deleted file mode 100644 index 8438942f..00000000 --- a/deployment/armada-server/charts/lookout/templates/lookout.yaml +++ /dev/null @@ -1,32 +0,0 @@ -apiVersion: install.armadaproject.io/v1alpha1 -kind: Lookout -metadata: - name: {{ include "armada.name" . }} - namespace: {{ .Release.Namespace }} - labels: -{{- include "armada.labels" . | nindent 4 }} -spec: - hostNames: {{ .Values.hostNames }} - ingress: - ingressClass: {{ .Values.ingressClass | default .Values.global.ingressClass }} - clusterIssuer: {{ .Values.custerIssuer | default .Values.global.clusterIssuer }} - replicas: {{ .Values.replicas }} - resources: - limits: - memory: {{ .Values.resources.limits.memory }} - cpu: {{ .Values.resources.limits.cpu }} - requests: - memory: {{ .Values.resources.requests.memory }} - cpu: {{ .Values.resources.requests.cpu }} - environment: - - name: LOG_FORMAT - value: {{ .Values.environment.LOG_FORMAT }} - prometheus: - enabled: {{ .Values.prometheus.enabled }} - scrapeInterval: {{ .Values.prometheus.scrapeInterval }} - image: - repository: {{ .Values.image.repository }} - tag: {{ .Values.image.tag | default .Values.global.image.tag}} - applicationConfig: -{{ tpl (.Files.Get "application-config.yaml") . | indent 4 }} - diff --git a/deployment/armada-server/charts/lookout/values.yaml b/deployment/armada-server/charts/lookout/values.yaml deleted file mode 100644 index aba4be60..00000000 --- a/deployment/armada-server/charts/lookout/values.yaml +++ /dev/null @@ -1,24 +0,0 @@ -hostNames: [localhost] -replicas: 2 -image: - repository: gresearch/armada-lookout - tag: -resources: - limits: - memory: 1Gi - cpu: 500m - requests: - memory: 500Mi - cpu: 300m -environment: - LOG_FORMAT: json -prometheus: - enabled: true - scrapeInterval: "5m" -postgres: - dbname: lookout -prunerConfig: - daysToKeep: 42 - batchSize: 1000 -lookoutv2Url: http://localhost:10000 -binocularsUrl: http://localhost:8082 diff --git a/deployment/armada-server/charts/scheduler-ingester/Chart.yaml b/deployment/armada-server/charts/scheduler-ingester/Chart.yaml deleted file mode 100644 index 54408738..00000000 --- a/deployment/armada-server/charts/scheduler-ingester/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: scheduleringester -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/deployment/armada-server/charts/scheduler-ingester/application-config.yaml b/deployment/armada-server/charts/scheduler-ingester/application-config.yaml deleted file mode 100644 index 5cd0d5d5..00000000 --- a/deployment/armada-server/charts/scheduler-ingester/application-config.yaml +++ /dev/null @@ -1,25 +0,0 @@ -postgres: - maxOpenConns: {{ .Values.postgres.maxOpenConns | default .Values.global.postgres.maxOpenConns }} - maxIdleConns: {{ .Values.postgres.maxIdleConns | default .Values.global.postgres.maxIdleConns }} - connMaxLifetime: {{ .Values.postgres.connMaxLifetime | default .Values.global.postgres.connMaxLifetime }} - connection: - host: {{ .Values.postgres.host | default .Values.global.postgres.host}} - port: {{ .Values.postgres.port | default .Values.global.postgres.port }} - user: {{ .Values.postgres.user | default .Values.global.postgres.user }} - password: {{ .Values.postgres.password | default .Values.global.postgres.password }} - dbname: {{ .Values.postgres.dbname }} - sslmode: {{ .Values.postgres.sslmode | default .Values.global.postgres.sslmode }} -metrics: - port: {{ .Values.metricsPort }} -pulsar: - enabled: true - URL: {{ .Values.pulsar.url | default .Values.global.pulsar.url }} - jobsetEventsTopic: "events" - receiveTimeout: 5s - backoffTime: 1s -parallelism: 1 -subscriptionName: "scheduler-ingester" -batchSize: 10000 -batchDuration: 500ms -minJobSpecCompressionSize: 1024 -userAnnotationPrefix: "armadaproject.io/" diff --git a/deployment/armada-server/charts/scheduler-ingester/templates/scheduler-ingester.yaml b/deployment/armada-server/charts/scheduler-ingester/templates/scheduler-ingester.yaml deleted file mode 100644 index 22cd0692..00000000 --- a/deployment/armada-server/charts/scheduler-ingester/templates/scheduler-ingester.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: install.armadaproject.io/v1alpha1 -kind: SchedulerIngester -metadata: - name: {{ include "armada.name" . }} - namespace: {{ .Release.Namespace }} - labels: -{{- include "armada.labels" . | nindent 4 }} -spec: - replicas: {{ .Values.replicas }} - image: - repository: {{ .Values.image.repository }} - tag: {{ .Values.image.tag | default .Values.global.image.tag}} - applicationConfig: -{{ tpl (.Files.Get "application-config.yaml") . | indent 4 }} diff --git a/deployment/armada-server/charts/scheduler-ingester/values.yaml b/deployment/armada-server/charts/scheduler-ingester/values.yaml deleted file mode 100644 index eac1ba3e..00000000 --- a/deployment/armada-server/charts/scheduler-ingester/values.yaml +++ /dev/null @@ -1,9 +0,0 @@ -# Default values for scheduleringester. -metricsPort: 9000 -replicas: 1 -postgres: - dbname: -pulsar: - url: -image: - repository: gresearch/armada-scheduler-ingester diff --git a/deployment/armada-server/charts/sheduler/Chart.yaml b/deployment/armada-server/charts/sheduler/Chart.yaml deleted file mode 100644 index 76f67580..00000000 --- a/deployment/armada-server/charts/sheduler/Chart.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: v2 -name: scheduler -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" diff --git a/deployment/armada-server/charts/sheduler/application-config.yaml b/deployment/armada-server/charts/sheduler/application-config.yaml deleted file mode 100644 index a13a6bab..00000000 --- a/deployment/armada-server/charts/sheduler/application-config.yaml +++ /dev/null @@ -1,110 +0,0 @@ -cyclePeriod: 10s -executorTimeout: 1h -databaseFetchSize: 1000 -pulsarSendTimeout: 5s -internedStringsCacheSize: 100000 -auth: - anonymousAuth: true -metrics: - port: 9000 - refreshInterval: 30s -pulsar: - URL: {{ .Values.pulsar.url | default .Values.global.pulsar.url }} - jobsetEventsTopic: "events" - receiveTimeout: 5s - backoffTime: 1s -postgres: - maxOpenConns: {{ .Values.postgres.maxOpenConns | default .Values.global.postgres.maxOpenConns }} - maxIdleConns: {{ .Values.postgres.maxIdleConns | default .Values.global.postgres.maxIdleConns }} - connMaxLifetime: {{ .Values.postgres.connMaxLifetime | default .Values.global.postgres.connMaxLifetime }} - connection: - host: {{ .Values.postgres.host | default .Values.global.postgres.host}} - port: {{ .Values.postgres.port | default .Values.global.postgres.port }} - user: {{ .Values.postgres.user | default .Values.global.postgres.user }} - password: {{ .Values.postgres.password | default .Values.global.postgres.password }} - dbname: {{ .Values.postgres.dbname }} - sslmode: {{ .Values.postgres.sslmode | default .Values.global.postgres.sslmode }} -leader: - mode: standalone - leaseLockName: armada-scheduler - LeaseLockNamespace: "" # This must be set so viper allows env vars to overwrite it - leaseDuration: 15s - renewDeadline: 10s - retryPeriod: 2s - podName: "" # This must be set so viper allows env vars to overwrite it -grpc: - port: 50052 - keepaliveParams: - maxConnectionIdle: 5m - time: 120s - timeout: 20s - keepaliveEnforcementPolicy: - minTime: 10s - permitWithoutStream: true -scheduling: - executorTimeout: 10m - nodeIdLabel: kubernetes.io/hostname - preemption: - enabled: true - priorityClasses: - armada-default: - priority: 1000 - maximalResourceFractionPerQueue: - memory: 0.99 - cpu: 0.99 - armada-preemptible: - priority: 900 - maximalResourceFractionPerQueue: - memory: 0.99 - cpu: 0.99 - defaultPriorityClass: armada-default - queueLeaseBatchSize: 1000 - minimumResourceToSchedule: - memory: 1000000 # 1Mb - cpu: 0.1 - maximalResourceFractionToSchedulePerQueue: - memory: 1.0 - cpu: 1.0 - maximalResourceFractionPerQueue: - memory: 1.0 - cpu: 1.0 - maximalClusterFractionToSchedule: - memory: 1.0 - cpu: 1.0 - maximumJobsToSchedule: 5000 - maxUnacknowledgedJobsPerExecutor: 2500 - maxQueueReportsToStore: 1000 - MaxJobReportsToStore: 10000 - defaultJobLimits: - cpu: 1 - memory: 1Gi - ephemeral-storage: 8Gi - defaultJobTolerations: - - key: "armadaproject.io/armada" - operator: "Equal" - value: "true" - effect: "NoSchedule" - defaultJobTolerationsByPriorityClass: - "": - - key: "armadaproject.io/pc-armada-default" - operator: "Equal" - value: "true" - effect: "NoSchedule" - armada-default: - - key: "armadaproject.io/pc-armada-default" - operator: "Equal" - value: "true" - effect: "NoSchedule" - armada-preemptible: - - key: "armadaproject.io/pc-armada-preemptible" - operator: "Equal" - value: "true" - effect: "NoSchedule" - maxRetries: 5 - resourceScarcity: - cpu: 1.0 - indexedResources: - - cpu - - memory - gangIdAnnotation: armadaproject.io/gangId - gangCardinalityAnnotation: armadaproject.io/gangCardinality diff --git a/deployment/armada-server/charts/sheduler/templates/scheduler.yaml b/deployment/armada-server/charts/sheduler/templates/scheduler.yaml deleted file mode 100644 index 0a719885..00000000 --- a/deployment/armada-server/charts/sheduler/templates/scheduler.yaml +++ /dev/null @@ -1,54 +0,0 @@ -apiVersion: install.armadaproject.io/v1alpha1 -kind: Scheduler -metadata: - name: {{ include "armada.name" . }} - namespace: {{ .Release.Namespace }} - labels: -{{- include "armada.labels" . | nindent 4 }} -spec: - hostNames: {{ .Values.hostNames }} - ingress: - ingressClass: {{ .Values.ingressClass | default .Values.global.ingressClass }} - clusterIssuer: {{ .Values.custerIssuer | default .Values.global.clusterIssuer }} - replicas: {{ .Values.replicas }} - resources: - limits: - memory: {{ .Values.resources.limits.memory }} - cpu: {{ .Values.resources.limits.cpu }} - requests: - memory: {{ .Values.resources.requests.memory }} - cpu: {{ .Values.resources.requests.cpu }} - environment: - - name: LOG_FORMAT - value: {{ .Values.environment.LOG_FORMAT }} - - name: ARMADA_LEADER_PODNAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: ARMADA_LEADER_LEASELOCKNAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - prometheus: - enabled: {{ .Values.prometheus.enabled }} - scrapeInterval: {{ .Values.prometheus.scrapeInterval }} - image: - repository: {{ .Values.image.repository }} - tag: {{ .Values.image.tag | default .Values.global.image.tag}} - pruner: - enabled: true - schedule: "@hourly" - resources: - limits: - memory: 1Gi - cpu: 300m - requests: - memory: 512Mi - cpu: 200m - args: - timeout: 5m - batchsize: {{ .Values.pruner.args.batchsize }} - expireAfter: 2h - applicationConfig: -{{ tpl (.Files.Get "application-config.yaml") . | indent 4 }} - diff --git a/deployment/armada-server/charts/sheduler/values.yaml b/deployment/armada-server/charts/sheduler/values.yaml deleted file mode 100644 index b03cec6d..00000000 --- a/deployment/armada-server/charts/sheduler/values.yaml +++ /dev/null @@ -1,28 +0,0 @@ -hostNames: [localhost] -replicas: 2 -image: - repository: gresearch/armada-scheduler - tag: -resources: - limits: - memory: 1Gi - cpu: 500m - requests: - memory: 500Mi - cpu: 300m -environment: - LOG_FORMAT: json -prometheus: - enabled: true - scrapeInterval: "5m" -redis: -pulsar: - url: -postgres: - dbname: scheduler -pruner: - enabled: true - args: - batchSize: 1000 -lookoutv2Url: http://localhost:10000 -binocularsUrl: http://localhost:8082 diff --git a/deployment/armada-server/templates/_helpers.tpl b/deployment/armada-server/templates/_helpers.tpl deleted file mode 100644 index 8cde695e..00000000 --- a/deployment/armada-server/templates/_helpers.tpl +++ /dev/null @@ -1,62 +0,0 @@ -{{/* -Expand the name of the chart. -*/}} -{{- define "armada.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "armada.fullname" -}} -{{- if .Values.fullnameOverride }} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- $name := default .Chart.Name .Values.nameOverride }} -{{- if contains $name .Release.Name }} -{{- .Release.Name | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} -{{- end }} -{{- end }} -{{- end }} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "armada.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Common labels -*/}} -{{- define "armada.labels" -}} -helm.sh/chart: {{ include "armada.chart" . }} -{{ include "armada.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end }} - -{{/* -Selector labels -*/}} -{{- define "armada.selectorLabels" -}} -app.kubernetes.io/name: {{ include "armada.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end }} - -{{/* -Create the name of the service account to use -*/}} -{{- define "armada.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "armada.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }} diff --git a/deployment/armada-server/values.yaml b/deployment/armada-server/values.yaml deleted file mode 100644 index 6e8eb9cd..00000000 --- a/deployment/armada-server/values.yaml +++ /dev/null @@ -1,52 +0,0 @@ -# global scope is for values that are common to all component subcharts -global: - # ingressClass will select the ingress provider - ingressClass: "nginx" - # clusterIssuer specifies the cluster-issuer installed on the target cluster - clusterIssuer: "k8s-cluster-issuer" - # postgres shared settings - postgres: - host: postgresql.armada.svc.cluster.local - port: 5432 - user: postgres - password: psw - sslmode: disable - maxOpenConns: 100 - maxIdleConns: 25 - connMaxLifetime: 30m - # pulsar shared settings - pulsar: - url: pulsar://pulsar-broker.armada.svc.cluster.local:6650 - # redis shared settings - redis: - addrs: - - redis-master.armada.svc.cluster.local:6379 - db: 0 - poolSize: 1000 - # image tag to use for armada components - image: - tag: "70a27e91003a32b90cfb8d8bfd736c65556daae9" - # replica count - replicas: 1 - # cross-origin allowed origins - corsAllowedOrigins: - - "http://localhost:8082" - - "http://localhost:8089" - # armada API server url - armadaUrl: armadaserver.armada.svc.cluster.local:50051 - -armadaserver: - ingressHostNames: [server.armada.example.com] - pulsarInit: true - -binoculars: - hostNames: [binoculars.armada.example.com] - -lookout: - hostNames: [lookout.armada.example.com] - -lookout-v2: - hostNames: [lookoutv2.armada.example.com] - -scheduler: - hostNames: [scheduler.armada.example.com] diff --git a/robots.txt b/robots.txt new file mode 100644 index 00000000..c6742d8a --- /dev/null +++ b/robots.txt @@ -0,0 +1,2 @@ +User-Agent: * +Disallow: /