diff --git a/benchmark/rbcs-filesystem.yml b/benchmark/rbcs-filesystem.yml
new file mode 100644
index 0000000..c7edfbf
--- /dev/null
+++ b/benchmark/rbcs-filesystem.yml
@@ -0,0 +1,93 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: rbcs-server
+data:
+ rbcs-server.xml: |
+
+
+
+
+
+
+
+
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ name: rbcs-pvc
+ namespace: default
+spec:
+ accessModes:
+ - ReadWriteOnce
+ storageClassName: local-path
+ resources:
+ requests:
+ storage: 16Gi
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: rbcs-deployment
+ labels:
+ app: rbcs
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: rbcs
+ template:
+ metadata:
+ labels:
+ app: rbcs
+ spec:
+ containers:
+ - name: rbcs
+ image: gitea.woggioni.net/woggioni/rbcs:nuc
+ imagePullPolicy: Always
+ args: ['server', '-c', 'rbcs-server.xml']
+ ports:
+ - containerPort: 8080
+ volumeMounts:
+ - name: config-volume
+ mountPath: /rbcs/rbcs-server.xml
+ subPath: rbcs-server.xml
+ - name: cache-volume
+ mountPath: /rbcs/cache
+ resources:
+ requests:
+ memory: "0.25Gi"
+ cpu: "1"
+ limits:
+ memory: "0.25Gi"
+ cpu: "3.5"
+ volumes:
+ - name: config-volume
+ configMap:
+ name: rbcs-server
+ - name: cache-volume
+ persistentVolumeClaim:
+ claimName: rbcs-pvc
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: rbcs-service
+spec:
+ type: LoadBalancer
+ ports:
+ - port: 8080
+ targetPort: 8080
+ protocol: TCP
+ selector:
+ app: rbcs
+
diff --git a/benchmark/rbcs-in-memory.yml b/benchmark/rbcs-in-memory.yml
new file mode 100644
index 0000000..338e8f9
--- /dev/null
+++ b/benchmark/rbcs-in-memory.yml
@@ -0,0 +1,76 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: rbcs-server
+data:
+ rbcs-server.xml: |
+
+
+
+
+
+
+
+
+---
+
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: rbcs-deployment
+ labels:
+ app: rbcs
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: rbcs
+ template:
+ metadata:
+ labels:
+ app: rbcs
+ spec:
+ containers:
+ - name: rbcs
+ image: gitea.woggioni.net/woggioni/rbcs:nuc
+ imagePullPolicy: Always
+ args: ['server', '-c', 'rbcs-server.xml']
+ ports:
+ - containerPort: 8080
+ volumeMounts:
+ - name: config-volume
+ mountPath: /rbcs/rbcs-server.xml
+ subPath: rbcs-server.xml
+ resources:
+ requests:
+ memory: "0.5Gi"
+ cpu: "1"
+ limits:
+ memory: "4Gi"
+ cpu: "3.5"
+ volumes:
+ - name: config-volume
+ configMap:
+ name: rbcs-server
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: rbcs-service
+spec:
+ type: LoadBalancer
+ ports:
+ - port: 8080
+ targetPort: 8080
+ protocol: TCP
+ selector:
+ app: rbcs
+
diff --git a/benchmark/rbcs-memcache.yml b/benchmark/rbcs-memcache.yml
new file mode 100644
index 0000000..145a92e
--- /dev/null
+++ b/benchmark/rbcs-memcache.yml
@@ -0,0 +1,117 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: rbcs-server
+data:
+ rbcs-server.xml: |
+
+
+
+
+
+
+
+
+
+
+
+---
+
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: rbcs-deployment
+ labels:
+ app: rbcs
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: rbcs
+ template:
+ metadata:
+ labels:
+ app: rbcs
+ spec:
+ containers:
+ - name: rbcs
+ image: gitea.woggioni.net/woggioni/rbcs:nuc
+ imagePullPolicy: Always
+ args: ['server', '-c', 'rbcs-server.xml']
+ ports:
+ - containerPort: 8080
+ volumeMounts:
+ - name: config-volume
+ mountPath: /rbcs/rbcs-server.xml
+ subPath: rbcs-server.xml
+ resources:
+ requests:
+ memory: "0.25Gi"
+ cpu: "1"
+ limits:
+ memory: "0.25Gi"
+ cpu: "1"
+ volumes:
+ - name: config-volume
+ configMap:
+ name: rbcs-server
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: rbcs-service
+spec:
+ type: LoadBalancer
+ ports:
+ - port: 8080
+ targetPort: 8080
+ protocol: TCP
+ selector:
+ app: rbcs
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: memcached-deployment
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: memcached
+ template:
+ metadata:
+ labels:
+ app: memcached
+ spec:
+ containers:
+ - name: memcached
+ image: memcached
+ args: ["-I", "128m", "-m", "4096"]
+ resources:
+ requests:
+ memory: "1Gi"
+ cpu: "500m" # 0.5 CPU
+ limits:
+ memory: "5Gi"
+ cpu: "500m" # 0.5 CP
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: memcached-service
+spec:
+ type: ClusterIP # ClusterIP makes it accessible only within the cluster
+ ports:
+ - port: 11211 # Default memcached port
+ targetPort: 11211
+ protocol: TCP
+ selector:
+ app: memcached