lightweight-browser-load-tester
Version:
A lightweight load testing tool using real browsers for streaming applications with DRM support
39 lines • 973 B
YAML
apiVersion: v1
kind: ServiceAccount
metadata:
name: load-tester-sa
namespace: load-tester
annotations:
# Replace with your actual IAM role ARN
eks.amazonaws.com/role-arn: arn:aws:iam::<AWS_ACCOUNT_ID>:role/LoadTesterRole
labels:
app: load-tester
environment: aws-eks
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: load-tester-role
rules:
- apiGroups: [""]
resources: ["pods", "services", "configmaps", "secrets"]
verbs: ["get", "list", "watch"]
- apiGroups: ["apps"]
resources: ["deployments"]
verbs: ["get", "list", "watch"]
- apiGroups: ["batch"]
resources: ["jobs", "cronjobs"]
verbs: ["get", "list", "watch", "create"]
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: load-tester-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: load-tester-role
subjects:
- kind: ServiceAccount
name: load-tester-sa
namespace: load-tester