text stringlengths 0 59.1k |
|---|
volumes: |
- name: managed01 |
persistentVolumeClaim: |
claimName: dd-managed-hdd-5g |
<|endoftext|> |
# source: k8s_examples/_archived/volumes/azure_disk/claim/managed-disk/managed-hdd/pvc-on-managed-hdd.yaml type: yaml |
kind: PersistentVolumeClaim |
apiVersion: v1 |
metadata: |
name: dd-managed-hdd-5g |
annotations: |
volume.beta.kubernetes.io/storage-class: managedhdd |
spec: |
accessModes: |
- ReadWriteOnce |
resources: |
requests: |
storage: 5Gi |
<|endoftext|> |
# source: k8s_examples/_archived/volumes/quobyte/quobyte-pod.yaml type: yaml |
apiVersion: v1 |
kind: Pod |
metadata: |
name: quobyte |
spec: |
containers: |
- name: quobyte |
image: kubernetes/pause |
volumeMounts: |
- mountPath: /mnt |
name: quobytevolume |
volumes: |
- name: quobytevolume |
quobyte: |
registry: registry:7861 |
volume: testVolume |
readOnly: false |
user: root |
group: root |
<|endoftext|> |
# source: k8s_examples/_archived/volumes/quobyte/Readme.md type: docs |
<!-- BEGIN MUNGE: GENERATED_TOC --> |
- [Quobyte Volume](#quobyte-volume) |
- [Quobyte](#quobyte) |
- [Prerequisites](#prerequisites) |
- [Fixed user Mounts](#fixed-user-mounts) |
- [Creating a pod](#creating-a-pod) |
<!-- END MUNGE: GENERATED_TOC --> |
# Quobyte Volume |
## Quobyte |
[Quobyte](http://www.quobyte.com) is software that turns commodity servers into a reliable and highly automated multi-data center file system. |
The example assumes that you already have a running Kubernetes cluster and you already have setup Quobyte-Client (1.3+) on each Kubernetes node. |
### Prerequisites |
- Running Quobyte storage cluster |
- Quobyte client (1.3+) installed on the Kubernetes nodes more information how you can install Quobyte on your Kubernetes nodes, can be found in the [documentation](https://support.quobyte.com) of Quobyte. |
- To get access to Quobyte and the documentation please [contact us](http://www.quobyte.com/get-quobyte) |
- Already created Quobyte Volume |
- Added the line `allow-usermapping-in-volumename` in `/etc/quobyte/client.cfg` to allow the fixed user mounts |
### Fixed user Mounts |
Quobyte supports since 1.3 fixed user mounts. The fixed-user mounts simply allow to mount all Quobyte Volumes inside one directory and use them as different users. All access to the Quobyte Volume will be rewritten to the specified user and group – both are optional, independent of the user inside the container. You ca... |
## Creating a pod |
See example: |
<!-- BEGIN MUNGE: EXAMPLE ./quobyte-pod.yaml --> |
```yaml |
apiVersion: v1 |
kind: Pod |
metadata: |
name: quobyte |
spec: |
containers: |
- name: quobyte |
image: kubernetes/pause |
volumeMounts: |
- mountPath: /mnt |
name: quobytevolume |
volumes: |
- name: quobytevolume |
quobyte: |
registry: registry:7861 |
volume: testVolume |
readOnly: false |
user: root |
group: root |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.