We are having high load performance testing requirements that trigger parallel load patterns.
So we may need to enable multiple simulators on Kubernetes on-premise.
We understand the way how its works on a Linux environment but are not sure about Kubernetes on-premise.
Please help us to provide some documentation or guidance.
Devtest 10.6
Service Virtualization
Kubernetes
When doing an on-prem Kubernetes install a compressed file is used to set up the environment.
This file has a name such as devtest-0.2.0.tgz.
To add an additional simulator or coordinator or VSE it is required to extract the files from devtest-0.2.0.tgz and modify them.
The steps are below.
---
apiVersion: v1
appVersion: 10.6.1
description: A Helm chart for a DevTest Simulator
name: simulator2
version: 0.2.0
---
---
simulator2:
enabled: true
fullnameOverride: devtest107-simulator2
databaseDriver: db-driver
dataFileConfigMap: devtest-config
registry:
fullName: devtest107-registry
image:
repository: sv-docker.broadcom.com/sv/lisa
pullPolicy: IfNotPresent
tag: 10.7.1
container:
port: 32041
env:
JAVA_OPTS: "-Dlisa.threadDump.generate=false"
CONFIG_SERVER_URL: "http://devtest10-config-server:8888"
REGISTRY_SERVICE_NAME: "devtest107-registry"
REGISTRY_INVOKE_SERVICE_PORT: "32025"
REGISTRY_URL: "tcp://10.173.35.94:32020/Registry"
SIMULATOR_URL: "tcp://10.173.35.94:32041/Simulator2"
REGISTRY_WEBSERVER_HTTPS_ENABLED: false
REGISTRY_WEBSERVER_HOST: "10.173.35.94"
service:
type: NodePort
port: 32041
nodePort: 32041
---
NOTE: For VSE Only the next two 3 steps must be done
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv5
spec:
accessModes:
- ReadWriteOnce
- ReadOnlyMany
capacity:
storage: 2Gi
hostPath:
path: /tmp/data5
Note: This last step must be done for all types
helm upgrade devtest107 ./devtest --install --values ./custom-values.yaml --namespace devtest-107