forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserver.yaml
160 lines (160 loc) · 4.85 KB
/
server.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
apiVersion: v1
kind: Service
metadata:
name: airbyte-server-svc
spec:
type: NodePort
ports:
- port: 8001
protocol: TCP
selector:
airbyte: server
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: airbyte-server
spec:
replicas: 1
selector:
matchLabels:
airbyte: server
template:
metadata:
labels:
airbyte: server
spec:
containers:
- name: airbyte-server-container
image: airbyte/server
env:
- name: AIRBYTE_VERSION
valueFrom:
configMapKeyRef:
name: airbyte-env
key: AIRBYTE_VERSION
- name: CONFIG_ROOT
valueFrom:
configMapKeyRef:
name: airbyte-env
key: CONFIG_ROOT
- name: DATABASE_PASSWORD
valueFrom:
secretKeyRef:
name: airbyte-secrets
key: DATABASE_PASSWORD
- name: DATABASE_URL
valueFrom:
configMapKeyRef:
name: airbyte-env
key: DATABASE_URL
- name: DATABASE_USER
valueFrom:
secretKeyRef:
name: airbyte-secrets
key: DATABASE_USER
- name: TRACKING_STRATEGY
valueFrom:
configMapKeyRef:
name: airbyte-env
key: TRACKING_STRATEGY
- name: WORKER_ENVIRONMENT
valueFrom:
configMapKeyRef:
name: airbyte-env
key: WORKER_ENVIRONMENT
- name: WORKSPACE_ROOT
valueFrom:
configMapKeyRef:
name: airbyte-env
key: WORKSPACE_ROOT
- name: WEBAPP_URL
valueFrom:
configMapKeyRef:
name: airbyte-env
key: WEBAPP_URL
- name: TEMPORAL_HOST
valueFrom:
configMapKeyRef:
name: airbyte-env
key: TEMPORAL_HOST
- name: LOG_LEVEL
valueFrom:
configMapKeyRef:
name: airbyte-env
key: LOG_LEVEL
- name: RESOURCE_CPU_REQUEST
valueFrom:
configMapKeyRef:
name: airbyte-env
key: RESOURCE_CPU_REQUEST
- name: RESOURCE_CPU_LIMIT
valueFrom:
configMapKeyRef:
name: airbyte-env
key: RESOURCE_CPU_LIMIT
- name: RESOURCE_MEMORY_REQUEST
valueFrom:
configMapKeyRef:
name: airbyte-env
key: RESOURCE_MEMORY_REQUEST
- name: RESOURCE_MEMORY_LIMIT
valueFrom:
configMapKeyRef:
name: airbyte-env
key: RESOURCE_MEMORY_LIMIT
- name: S3_LOG_BUCKET
valueFrom:
configMapKeyRef:
name: airbyte-env
key: S3_LOG_BUCKET
- name: S3_LOG_BUCKET_REGION
valueFrom:
configMapKeyRef:
name: airbyte-env
key: S3_LOG_BUCKET_REGION
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: airbyte-secrets
key: AWS_ACCESS_KEY_ID
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: airbyte-secrets
key: AWS_SECRET_ACCESS_KEY
- name: S3_MINIO_ENDPOINT
valueFrom:
configMapKeyRef:
name: airbyte-env
key: S3_MINIO_ENDPOINT
- name: S3_PATH_STYLE_ACCESS
valueFrom:
configMapKeyRef:
name: airbyte-env
key: S3_PATH_STYLE_ACCESS
- name: GOOGLE_APPLICATION_CREDENTIALS
valueFrom:
secretKeyRef:
name: airbyte-secrets
key: GOOGLE_APPLICATION_CREDENTIALS
- name: GCP_STORAGE_BUCKET
valueFrom:
configMapKeyRef:
name: airbyte-env
key: GCP_STORAGE_BUCKET
ports:
- containerPort: 8001
volumeMounts:
- name: airbyte-volume-configs
mountPath: /configs
- name: gcs-log-creds-volume
mountPath: /secrets/gcs-log-creds
readOnly: true
volumes:
- name: airbyte-volume-configs
persistentVolumeClaim:
claimName: airbyte-volume-configs
- name: gcs-log-creds-volume
secret:
secretName: gcs-log-creds