mayadata-io / mayadata-io/kubera-api-testing

feat(openebs): basic installation of openebs via kubera

Open
#15 0 comments 0 reactions 1 assignee View on GitHub

@harshshekhar15 is already working on this.

Since Sep 15, 2020.

api openebs-installation
Dominant language
Go
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.