diff --git a/apps/base/elastic-system/kustomization.yaml b/apps/base/elastic-system/kustomization.yaml new file mode 100644 index 0000000..5122f9e --- /dev/null +++ b/apps/base/elastic-system/kustomization.yaml @@ -0,0 +1,6 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - namespace.yaml diff --git a/apps/base/elastic-system/namespace.yaml b/apps/base/elastic-system/namespace.yaml new file mode 100644 index 0000000..3083ea5 --- /dev/null +++ b/apps/base/elastic-system/namespace.yaml @@ -0,0 +1,7 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + labels: + app.kubernetes.io/name: elastic-system + name: elastic-system diff --git a/apps/overlays/au-syd1/elastic-system/kustomization.yaml b/apps/overlays/au-syd1/elastic-system/kustomization.yaml new file mode 100644 index 0000000..f6ac1d8 --- /dev/null +++ b/apps/overlays/au-syd1/elastic-system/kustomization.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +namespace: elastic-system + +resources: + - ../../../base/elastic-system + +helmCharts: + - name: eck-operator + repo: https://helm.elastic.co + version: "3.2.0" + releaseName: elastic-operator + namespace: elastic-system + valuesFile: values.yaml diff --git a/apps/overlays/au-syd1/elastic-system/values.yaml b/apps/overlays/au-syd1/elastic-system/values.yaml new file mode 100644 index 0000000..6c7324e --- /dev/null +++ b/apps/overlays/au-syd1/elastic-system/values.yaml @@ -0,0 +1,11 @@ +replicaCount: 2 +resources: + limits: + cpu: 1 + memory: 1Gi + requests: + cpu: 10m + memory: 150Mi +podDisruptionBudget: + enabled: true + minAvailable: 1 diff --git a/argocd/applicationsets/platform.yaml b/argocd/applicationsets/platform.yaml index 0c4eafd..3f5d424 100644 --- a/argocd/applicationsets/platform.yaml +++ b/argocd/applicationsets/platform.yaml @@ -15,6 +15,7 @@ spec: - path: apps/overlays/*/cert-manager - path: apps/overlays/*/certificates - path: apps/overlays/*/cnpg-system + - path: apps/overlays/*/elastic-system - path: apps/overlays/*/externaldns - path: apps/overlays/*/inteldeviceplugins-system - path: apps/overlays/*/jfrog diff --git a/argocd/projects/platform.yaml b/argocd/projects/platform.yaml index f5bfac8..eb2da86 100644 --- a/argocd/projects/platform.yaml +++ b/argocd/projects/platform.yaml @@ -10,6 +10,7 @@ spec: - https://git.unkin.net/unkin/argocd-apps - https://charts.jetstack.io - https://cloudnative-pg.github.io/charts + - https://helm.elastic.co - https://intel.github.io/helm-charts/ - https://kubernetes-sigs.github.io/external-dns/ - https://releases.rancher.com/server-charts/stable