-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add kafka and scorpio for DeployAI marketplace
- Loading branch information
Dennis Wendland
committed
Jul 24, 2024
1 parent
18f9a0b
commit 530b173
Showing
6 changed files
with
138 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: kafka-marketplace | ||
namespace: argocd | ||
spec: | ||
destination: | ||
namespace: deployai | ||
server: https://kubernetes.default.svc | ||
project: default | ||
source: | ||
path: aws/deployai/marketplace/kafka | ||
repoURL: https://github.com/FIWARE-Ops/fiware-gitops | ||
targetRevision: HEAD | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: scorpio-marketplace | ||
namespace: argocd | ||
spec: | ||
destination: | ||
namespace: deployai | ||
server: https://kubernetes.default.svc | ||
project: default | ||
source: | ||
path: aws/deployai/scorpio/scorpio | ||
repoURL: https://github.com/FIWARE-Ops/fiware-gitops | ||
targetRevision: HEAD | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: v2 | ||
name: kafka-scorpio | ||
description: Chart holder for argo-cd | ||
|
||
type: application | ||
version: 26.0.0 | ||
appVersion: "3.6.0" | ||
|
||
dependencies: | ||
- name: kafka | ||
version: 26.0.0 | ||
repository: oci://registry-1.docker.io/bitnamicharts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
kafka: | ||
controller: | ||
podSecurityContext: | ||
enabled: false | ||
containerSecurityContext: | ||
enabled: false | ||
persistence: | ||
size: 1Gi | ||
broker: | ||
podSecurityContext: | ||
enabled: false | ||
containerSecurityContext: | ||
enabled: false | ||
persistence: | ||
size: 1Gi | ||
listeners: | ||
client: | ||
protocol: PLAINTEXT | ||
controller: | ||
protocol: PLAINTEXT | ||
interbroker: | ||
protocol: PLAINTEXT | ||
external: | ||
protocol: PLAINTEXT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: scorpio-marketplace | ||
labels: | ||
app.kubernetes.io/name: scorpio-marketplace | ||
app.kubernetes.io/instance: scorpio-marketplace | ||
spec: | ||
replicas: 1 | ||
revisionHistoryLimit: 3 | ||
strategy: | ||
rollingUpdate: | ||
maxSurge: 1 | ||
maxUnavailable: 0 | ||
type: RollingUpdate | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: scorpio-marketplace | ||
app.kubernetes.io/instance: scorpio-marketplace | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: scorpio-marketplace | ||
app.kubernetes.io/instance: scorpio-marketplace | ||
spec: | ||
serviceAccountName: default | ||
containers: | ||
- name: scorpio | ||
imagePullPolicy: IfNotPresent | ||
image: "scorpiobroker/all-in-one-runner:java-kafka-4.1.8" | ||
env: | ||
- name: DBHOST | ||
value: postgis | ||
- name: BUSHOST | ||
value: kafka-marketplace | ||
- name: QUARKUS_LOG_LEVEL | ||
value: DEBUG | ||
- name: MYSETTINGS_POSTGRES_PASSWORD | ||
valueFrom: | ||
secretKeyRef: | ||
name: postgres-secret | ||
key: postgres-password | ||
- name: MYSETTINGS_POSTGRES_USERNAME | ||
value: scorpio | ||
ports: | ||
- name: http | ||
containerPort: 9090 | ||
protocol: TCP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: scorpio-marketplace | ||
labels: | ||
app.kubernetes.io/name: scorpio-marketplace | ||
app.kubernetes.io/instance: scorpio-marketplace | ||
spec: | ||
type: ClusterIP | ||
ports: | ||
# same as orion, makes other config easier | ||
- port: 1026 | ||
targetPort: 9090 | ||
protocol: TCP | ||
name: scorpio-marketplace | ||
selector: | ||
app.kubernetes.io/name: scorpio-marketplace | ||
app.kubernetes.io/instance: scorpio-marketplace |