blob: de4afc397c303e4e4dc0aebb0d5641fa76132df0 [file] [log] [blame]
giolekvae55bfe52022-05-16 22:15:13 +04001apiVersion: v1
2kind: Service
3metadata:
4 name: rpuppy
5 namespace: {{ .Release.Namespace }}
6spec:
Giorgi Lekveishvilifab9bf42023-05-19 11:18:02 +04007 type: ClusterIP
giolekvae55bfe52022-05-16 22:15:13 +04008 selector:
9 app: rpuppy
10 ports:
gio24312cc2025-04-20 15:53:15 +040011 - name: http
12 port: {{ .Values.port }}
13 targetPort: http
giolekvae55bfe52022-05-16 22:15:13 +040014 protocol: TCP
giolekvae55bfe52022-05-16 22:15:13 +040015---
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:
gio24312cc2025-04-20 15:53:15 +040036 - name: http
37 containerPort: {{ .Values.port }}
giolekvae55bfe52022-05-16 22:15:13 +040038 protocol: TCP
Giorgi Lekveishvili0ba5e402024-03-20 15:56:30 +040039 command:
gio4eb2efe2024-07-12 20:55:31 +040040 - /usr/bin/rpuppy
gio24312cc2025-04-20 15:53:15 +040041 - --port={{ .Values.port }}
giolekvae55bfe52022-05-16 22:15:13 +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"