Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: v1
- kind: Service
- metadata:
- name: ocs-monkey
- labels:
- app: ocs-monkey
- spec:
- ports:
- - port: 8097
- name: dummy
- clusterIP: None
- selector:
- app: ocs-monkey
- ---
- apiVersion: apps/v1
- kind: StatefulSet
- metadata:
- name: osio-worker
- namespace: ocs-monkey
- spec:
- selector:
- matchLabels:
- app: ocs-monkey
- serviceName: "ocs-monkey"
- replicas: 3
- template:
- metadata:
- labels:
- app: ocs-monkey
- spec:
- terminationGracePeriodSeconds: 10
- containers:
- - name: osio-workload
- image: quay.io/johnstrunk/osio-workload
- imagePullPolicy: Always
- args:
- - --untar-rate
- - "10"
- - --rm-rate
- - "10"
- - --kernel-slots
- - "3"
- readinessProbe:
- exec:
- command:
- - /health.sh
- initialDelaySeconds: 5
- periodSeconds: 10
- volumeMounts:
- - mountPath: /data
- name: data
- ports:
- - containerPort: 8097
- name: dummy
- volumeClaimTemplates:
- - metadata:
- name: data
- spec:
- accessModes: [ "ReadWriteOnce" ]
- storageClassName: "csi-rbd"
- resources:
- requests:
- storage: 3Gi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement