OpenShift Merge Robot e849dbf25f Merge pull request #7254 from dav1x/vsphere-registry 6 年之前
..
defaults 0de559c8f2 Fix hosted vars 7 年之前
meta 801779eeb6 Relocate filter plugins to lib_utils 7 年之前
tasks abb188800b Remove openshift_master_config_dir variable 7 年之前
templates e181e66bdb add support for vsphere-volume registry and other services 7 年之前
vars abb188800b Remove openshift_master_config_dir variable 7 年之前
README.md 8eedacf0d1 Add possibility to enable Persistent Local Storage using Ansible 7 年之前

README.md

OpenShift NFS Server

OpenShift Persistent Volumes

Requirements

Role Variables

From this role:

Name Default value
persistent_volumes [] List of persistent volume dictionaries, keys: name, capacity, access_modes, storage
persistent_volume_claims [] List of persistent volume claim dictionaries, keys: name, capacity, access_modes

Dependencies

Example Playbook

- name: Create persistent volumes/claims
  hosts: oo_first_master
  vars:
    persistent_volumes:
    - name: "registry-volume"
      capacity: "5Gi"
      access_modes:
      - "ReadWriteMany"
      storage:
        nfs:
          server: "nfs.example.com"
          path: "/var/exports/registry"
    persistent_volume_claims:
    - name: "registry-claim"
      capacity: "5Gi"
      access_modes:
      - "ReadWriteMany"
    openshift_persistentlocalstorage_enabled: True
  roles:
  - role: openshift_persistent_volumes

License

Apache License, Version 2.0

Author Information

Andrew Butcher (abutcher@redhat.com)