Created
March 12, 2020 15:44
-
-
Save rdpanek/44a883ebb53e2bba9e89ced4cf884259 to your computer and use it in GitHub Desktop.
busytest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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