-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Add new command called stress to start a container that creates arbitrary load on nodes. This can be useful in scenarios to test whether a certain task still works even under harsh conditions.
Example deployment YAML:
---
apiVersion: v1
kind: Namespace
metadata:
name: stress
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: stress
namespace: stress
spec:
replicas: 3
template:
metadata:
labels:
app: stress
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- topologyKey: "kubernetes.io/hostname"
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- stress
containers:
- name: stress
image: progrium/stress
command:
- /bin/sh
- -c
- stress --cpu 4Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request