blob: de4afc397c303e4e4dc0aebb0d5641fa76132df0 [file] [log] [blame]
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +04001apiVersion: v1
2kind: Service
3metadata:
4 name: rpuppy
5 namespace: {{ .Release.Namespace }}
6spec:
7 type: ClusterIP
8 selector:
9 app: rpuppy
10 ports:
Giorgi Lekveishvili06a67912025-04-20 15:56:03 +040011 - name: http
12 port: {{ .Values.port }}
13 targetPort: http
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040014 protocol: TCP
15---
16apiVersion: apps/v1
17kind: Deployment
18metadata:
19 name: rpuppy
20 namespace: {{ .Release.Namespace }}
21spec:
22 selector:
23 matchLabels:
24 app: rpuppy
25 replicas: 1
26 template:
27 metadata:
28 labels:
29 app: rpuppy
30 spec:
31 containers:
32 - name: rpuppy
33 image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
34 imagePullPolicy: {{ .Values.image.pullPolicy }}
35 ports:
Giorgi Lekveishvili06a67912025-04-20 15:56:03 +040036 - name: http
37 containerPort: {{ .Values.port }}
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040038 protocol: TCP
39 command:
40 - /usr/bin/rpuppy
Giorgi Lekveishvili06a67912025-04-20 15:56:03 +040041 - --port={{ .Values.port }}
Giorgi Lekveishvili4ec4c022024-08-17 15:09:24 +040042 resources:
43 requests:
44 memory: "10Mi"
45 cpu: "10m"
46 limits:
47 memory: "20Mi"
48 cpu: "100m"
49 tolerations:
50 - key: "pcloud"
51 operator: "Equal"
52 value: "role"
53 effect: "NoSchedule"