-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdummy_deploy.yaml
66 lines (66 loc) · 1.83 KB
/
dummy_deploy.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
# TODO: Remove this; just local testing for now. (or make it polished)
apiVersion: apps/v1
kind: Deployment
metadata:
name: castai-cloud-proxy-deployment
labels:
app: castai-cloud-proxy
spec:
replicas: 1
selector:
matchLabels:
app: castai-cloud-proxy
template:
metadata:
labels:
app: castai-cloud-proxy
spec:
serviceAccountName: castai-cloud-proxy
containers:
- name: cloud-proxy-container
image: docker.io/lachezarcast/cloud-proxy@{{IMAGE_DIGEST}}
resources:
requests:
memory: "10Mi"
cpu: "50m"
limits:
memory: "10Mi"
imagePullPolicy: Always
command:
- "castai-cloud-proxy"
args:
- "-sanity-checks=false"
- "-mockcast=true"
env:
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: CAST_URL
value: https://api.dev-master.cast.ai
- name: CAST_GRPC_URL
value: api-grpc.dev.cast.ai
- name: CAST_API_KEY
value: ec82f1670aa140435ab483a3ff2e5f507d67f3a4e276197e6bb9339f1eda9350
- name: CLUSTER_ID
value: b8c18bba-ff52-442e-9f44-8dcc9becfc58
- name: LOG_LEVEL
value: "5"
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: castai-cloud-proxy
namespace: default