Skip to content

Instantly share code, notes, and snippets.

@rdpanek
Created March 12, 2020 15:44
Show Gist options
  • Save rdpanek/44a883ebb53e2bba9e89ced4cf884259 to your computer and use it in GitHub Desktop.
Save rdpanek/44a883ebb53e2bba9e89ced4cf884259 to your computer and use it in GitHub Desktop.
busytest
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: busytest
spec:
replicas: 1
template:
metadata:
labels:
app: busytest
spec:
containers:
- name: busytest
image: "k8s-registry/busybox:latest"
volumeMounts:
- name: busytest
mountPath: /app/
volumes:
- name: busytest
persistentVolumeClaim:
claimName: busytest
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: busytest
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 50Mi
storageClassName: default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment