Created
May 9, 2019 04:24
-
-
Save sincejune/ea425dc09edbf9b06ee9c1efb067b74e to your computer and use it in GitHub Desktop.
storageclass test resource
This file contains 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: StatefulSet | |
metadata: | |
labels: | |
app: storageclass-test | |
name: storageclass-test | |
spec: | |
podManagementPolicy: OrderedReady | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: storageclass-test | |
serviceName: storageclass-test | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
app: storageclass-test | |
spec: | |
containers: | |
- image: joway/dockerize-utils:latest | |
imagePullPolicy: Always | |
name: storageclass-test | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /data | |
name: test-data | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
terminationGracePeriodSeconds: 30 | |
updateStrategy: | |
rollingUpdate: | |
partition: 0 | |
type: RollingUpdate | |
volumeClaimTemplates: | |
- metadata: | |
creationTimestamp: null | |
labels: | |
app: test-data | |
name: test-data | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 1M | |
storageClassName: test-storageclass | |
--- | |
kind: StorageClass | |
apiVersion: storage.k8s.io/v1 | |
metadata: | |
name: test-storageclass | |
provisioner: kubernetes.io/aws-ebs | |
parameters: | |
type: gp2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment