Skip to content

Commit 6c60b74

Browse files
committed
fixes
1 parent 197781a commit 6c60b74

File tree

9 files changed

+23
-125
lines changed

9 files changed

+23
-125
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ This repository contains Helm Charts to deploy Formal on your Kubernetes cluster
1313
| Charts | Description |
1414
|-------------------------------|---------------------------------------------------------------------------------------------------------------------------------|
1515
| [connector](charts/connector) | Formal Connector base Helm chart. |
16+
| [data-discovery-satellite](charts/data-discovery-satellite) | Data Discovery Satellite Helm chart. |
17+
| [ai-satellite](charts/ai-satellite) | AI Satellite Helm chart (requires NVIDIA GPU). |
1618
| [ecr-cred](charts/ecr-cred) | ECR credentials job. Required for non-AWS environments. Requires `pullWithCredentials=true` in the Connector Helm chart values. |
1719

1820
## Using the Helm Repository
@@ -41,6 +43,13 @@ Finally, install the Connector chart using:
4143
$ helm install formal-connector formal/connector -f values.yaml
4244
```
4345

46+
The satellites can be installed similarly:
47+
48+
```
49+
$ helm install formal-data-discovery-satellite formal/data-discovery-satellite -f values.yaml
50+
$ helm install formal-ai-satellite formal/ai-satellite -f values.yaml
51+
```
52+
4453
## Questions
4554

4655
Our team always welcomes any and all questions -- don't hesitate to reach out to a team member directly.

charts/ai-satellite/templates/deployment.yaml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ spec:
2323
spec:
2424
securityContext:
2525
{{- toYaml .Values.podSecurityContext | nindent 8 }}
26-
serviceAccountName: {{ include "ai-satellite.serviceAccountName" . }}
2726
containers:
2827
- name: {{ .Chart.Name }}
2928
securityContext:
@@ -35,10 +34,8 @@ spec:
3534
{{- end }}
3635
imagePullPolicy: {{ .Values.image.pullPolicy }}
3736
ports:
38-
{{- range .Values.ports }}
39-
- name: {{ .name }}
40-
containerPort: {{ .port }}
41-
{{- end }}
37+
- name: grpc
38+
containerPort: 50055
4239
- name: health
4340
containerPort: 8080
4441
env:
@@ -52,18 +49,17 @@ spec:
5249
value: {{ $value | quote }}
5350
{{- end }}
5451
resources:
55-
{{- toYaml .Values.resources | nindent 12 }}
56-
{{- with .Values.volumeMounts }}
57-
volumeMounts:
58-
{{- toYaml . | nindent 12 }}
59-
{{- end }}
52+
limits:
53+
cpu: {{ .Values.resources.limits.cpu }}
54+
memory: {{ .Values.resources.limits.memory }}
55+
nvidia.com/gpu: 1
56+
requests:
57+
cpu: {{ .Values.resources.requests.cpu }}
58+
memory: {{ .Values.resources.requests.memory }}
59+
nvidia.com/gpu: 1
6060
{{- with .Values.sidecars }}
6161
{{- toYaml . | nindent 8 }}
6262
{{- end }}
63-
{{- with .Values.volumes }}
64-
volumes:
65-
{{- toYaml . | nindent 8 }}
66-
{{- end }}
6763
{{- if .Values.pullWithCredentials }}
6864
imagePullSecrets:
6965
- name: formal-ecr-secret

charts/ai-satellite/templates/rbac.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

charts/ai-satellite/templates/service.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ metadata:
77
spec:
88
type: ClusterIP
99
ports:
10-
{{- range .Values.ports }}
11-
- port: {{ .port }}
12-
targetPort: {{ .name }}
10+
- port: 50055
11+
targetPort: grpc
1312
protocol: TCP
14-
name: {{ .name }}
15-
{{- end }}
13+
name: grpc
1614
- port: 8080
1715
targetPort: health
1816
protocol: TCP

charts/ai-satellite/templates/serviceaccount.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

charts/ai-satellite/values.yaml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,43 +13,22 @@ image:
1313
pullPolicy: Always
1414
tag: "latest"
1515

16-
# gRPC listener for the AI satellite
17-
# NOTE: Port names are limited to 15 characters by Kubernetes (DNS_LABEL spec)
18-
ports:
19-
- name: grpc
20-
port: 50055
21-
22-
replicaCount: 2
16+
replicaCount: 1
2317
resources:
2418
requests:
2519
cpu: 4
2620
memory: 8Gi
2721
limits:
2822
cpu: 8
2923
memory: 16Gi
30-
# Requires a NVIDIA GPU with at least 48GB VRAM.
31-
nvidia.com/gpu: 1
3224

3325
securityContext: {}
3426
podSecurityContext: {}
3527
env: {}
3628
podAnnotations:
3729
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
38-
volumes: []
39-
volumeMounts: []
4030
tolerations: []
4131

42-
# RBAC resources give pod and lease permissions to the service account for
43-
# cluster formation (pod discovery + lease-based bootstrap coordination)
44-
rbac:
45-
create: true
46-
47-
# Set to `create` to false and provide your own service account name if you
48-
# don't want this chart to create one
49-
serviceAccount:
50-
create: true
51-
name: ""
52-
5332
# Extra manifests to deploy as an array of objects
5433
extraManifests: []
5534
# - apiVersion: v1

charts/data-discovery-satellite/templates/deployment.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ spec:
3535
{{- end }}
3636
imagePullPolicy: {{ .Values.image.pullPolicy }}
3737
ports:
38-
{{- range .Values.ports }}
39-
- name: {{ .name }}
40-
containerPort: {{ .port }}
41-
{{- end }}
4238
- name: health
4339
containerPort: 8080
4440
env:
@@ -53,17 +49,9 @@ spec:
5349
{{- end }}
5450
resources:
5551
{{- toYaml .Values.resources | nindent 12 }}
56-
{{- with .Values.volumeMounts }}
57-
volumeMounts:
58-
{{- toYaml . | nindent 12 }}
59-
{{- end }}
6052
{{- with .Values.sidecars }}
6153
{{- toYaml . | nindent 8 }}
6254
{{- end }}
63-
{{- with .Values.volumes }}
64-
volumes:
65-
{{- toYaml . | nindent 8 }}
66-
{{- end }}
6755
{{- if .Values.pullWithCredentials }}
6856
imagePullSecrets:
6957
- name: formal-ecr-secret

charts/data-discovery-satellite/templates/rbac.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

charts/data-discovery-satellite/values.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ image:
1313
pullPolicy: Always
1414
tag: "latest"
1515

16-
# Data discovery does not expose any container ports besides health.
17-
ports: []
18-
1916
replicaCount: 2
2017
resources:
2118
requests:
@@ -30,15 +27,8 @@ podSecurityContext: {}
3027
env: {}
3128
podAnnotations:
3229
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
33-
volumes: []
34-
volumeMounts: []
3530
tolerations: []
3631

37-
# RBAC resources give pod and lease permissions to the service account for
38-
# cluster formation (pod discovery + lease-based bootstrap coordination)
39-
rbac:
40-
create: true
41-
4232
# Set to `create` to false and provide your own service account name if you
4333
# don't want this chart to create one
4434
serviceAccount:

0 commit comments

Comments
 (0)