Skip to content

feat(openebs): basic installation of openebs via kubera #15

@harshshekhar15

Description

@harshshekhar15

Directory structure

|_ kubera-api-testing/
      |_ scenarios/
           |_ openebs-install-basic/
                |_ TCID-DIR-OP-INSTALL-OPENEBS/
                     |_ rest.go

Request Details

Projects --

Method - GET
URL - {{ director_url }}/v3/groups/{{ group_id }}/project
Status Code - 200

OpenEBS template --

Method - GET
URL - {{ director_url }}/v3/groups/{{ group_id }}/openebstemplates
Status Code - 200

Active openebses --

Method - GET
URL - {{ director_url }}/v3/groups/{{ group_id }}/openebses?state=active&clusterId={{ cluster_id}}
Status Code - 200

Create openebses --

Method - POST
URL - {{ director_url }}/v3/groups/{{ group_id }}/openebses
Status Code - 201
Body -
{
  "clusterId": "{{ cluster_id }}",
  "creatorId": "{{ group_id }}",
  "projectId": "{{ project_id }}",
  "templateId": "{{ template_id }}",
  "namespace": "{{ namespace }}",
  "defaultDirectory": "{{ default_directory }}",
  "dockerRegistry": "{{ docker_registry }}",
  "includeDeviceFilters": "{{ include_device_filters }}",
  "excludeDeviceFilters": "{{ exclude_device_filters }}",
  "cpuResourceLimit": "{{ cpu_resource_limit }}",
  "memoryResourceLimit": " {{ memory_resource_limit }}",
  "installationMode": "{{ installation_mode }}"
}

Install OpenEBS --

Method - POST
URL - {{ director_url }}/v3/groups/{{ group_id }}/openebses/{{ openebs_id }}/?action=openebsinstall
Status Code - 200
Body -
{
  "yaml": <openebs installation manifest>
}

OpenEBS jobs --

Method - GET
URL - {{ director_url }}/v3/groups/{{ group_id}}/openebsjobs/{{ openebs_job_id }}
Status Code - 200

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions