use the following to stress test, create memory and intensive cpu load for your load

 


---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: progrium
spec:
  replicas: 2
  selector:
    matchLabels:
      apptype: backend
  template:
    metadata:
      labels:
        app: progrium
        version: v1
        apptype: backend
    spec:
      containers:
      - image: progrium/stress
        imagePullPolicy: IfNotPresent
        name: progium
        command: "stress"
        args: ["--cpu", "100", "--io", "10", "--vm", "2", "--vm-bytes", "928M"]
        ports:
        - containerPort: 80

Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm