Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions clusters/dev/apps/atlas/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v2
name: atlas
version: 0.1.0
dependencies:
- name: base-chart-hdc
version: "1.0.1"
repository: https://pilotdataplatform.github.io/helm-charts/
27 changes: 27 additions & 0 deletions clusters/dev/apps/atlas/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: atlas
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "8"
spec:
Comment thread
vmoshynskyi marked this conversation as resolved.
project: default
source:
repoURL: https://github.com/PilotDataPlatform/pilot-hdc-platform-gitops.git
targetRevision: main
path: clusters/dev/apps/atlas
helm:
valueFiles:
- ../../registry.yaml
- values.yaml
destination:
server: https://kubernetes.default.svc
namespace: utility
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
12 changes: 12 additions & 0 deletions clusters/dev/apps/atlas/templates/pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: atlas-storage
namespace: {{ .Release.Namespace }}
spec:
accessModes:
- ReadWriteMany
storageClassName: nfs-client
resources:
requests:
storage: 5Gi
64 changes: 64 additions & 0 deletions clusters/dev/apps/atlas/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
base-chart-hdc:
image:
repository: n47w5524.c1.de1.container-registry.ovh.net/hdc-services-external/apache-atlas
tag: "2.1.0"
pullPolicy: IfNotPresent

fullnameOverride: atlas

labels:
app: atlas
instance: atlas
Comment thread
vmoshynskyi marked this conversation as resolved.

replicaCount: 1

container:
name: atlas
command: /opt/apache-atlas-2.1.0/bin/atlas_start.py
Comment thread
vmoshynskyi marked this conversation as resolved.
ports:
- name: http
containerPort: 21000
protocol: TCP

service:
type: ClusterIP
ports:
- port: 21000
targetPort: 21000
protocol: TCP
name: http

imagePullSecrets:
- name: docker-registry-secret

extraEnv:
LOG4J_FORMAT_MSG_NO_LOOKUPS: "true"
MANAGE_LOCAL_HBASE: "true"
MANAGE_LOCAL_SOLR: "true"

extraVolumes:
- name: atlas-storage
persistentVolumeClaim:
claimName: atlas-storage

extraVolumeMounts:
- name: atlas-storage
mountPath: /opt/apache-atlas-2.1.0/data
subPath: data
- name: atlas-storage
mountPath: /opt/apache-atlas-2.1.0/logs
subPath: logs

Comment thread
vmoshynskyi marked this conversation as resolved.
resources:
requests:
cpu: 10m
memory: 128Mi
limits:
cpu: 500m
memory: 500Mi

readinessProbe:
tcpSocket:
port: 21000
initialDelaySeconds: 60
periodSeconds: 10
Loading