forked from Manoj-230/jobseekers_jobs_api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnix_jobseekers_job_api_wastebyme.yaml
50 lines (50 loc) · 1.04 KB
/
nix_jobseekers_job_api_wastebyme.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: jobseekers-job-api
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: jobseekers-job-api
template:
metadata:
labels:
app: jobseekers-job-api
spec:
nodeSelector:
"kubernetes.io/os": linux
containers:
- name: jobseekers-job-api
image: containerregistry1z.azurecr.io/jobseeker-jobs-api:20240114.1
resources:
limits:
cpu: "0.2"
memory: 600M
requests:
cpu: "0.2"
memory: 500M
env:
- name: CUSTOMCONNSTR_DefaultConnection
value: "#{db_conn_str}#"
ports:
- containerPort: 80
imagePullSecrets:
- name: acr-registy-secret
---
apiVersion: v1
kind: Service
metadata:
name: jobseekers-job-api-svc
namespace: default
spec:
selector:
app: jobseekers-job-api
ports:
- port: 80
type: LoadBalancer
status:
loadBalancer:
ingress:
- ip: 52.140.49.139