CORTX Provisioner offers a framework which accepts configurations (cluster.yaml and config.yaml) in the form of ConfigMap, translates into internal configuration (CORTX Conf Store) and then orchestrates across components mini provisioners to allow them to configure services. In Kubernetes environment, CORTX Provisioner framework runs on all the CORTX PODs (in a separate one time init container).
replace hostname with fqdn in cluster.py in order to support statefulset deployments. as socket.gethostname() returns small pod name, but we need complete fqdn hence replacing gethostname with getfqdn.
Design
for placing machine-id inside the pod, in provisioner hostname from configmap gets matched with hostname of the node.
for which socket.gethostname() command was being used. bug in kubernetes in order to gain complete hostname with fqdn we need to use socket.getfqdn().
Coding
Checklist for Author
[x] Coding conventions are followed and code is consistent
Testing
Checklist for Author
[x] Unit and System Tests are added
[x] Test Cases cover Happy Path, Non-Happy Path and Scalability
[x] Testing was performed with RPM
Impact Analysis
Checklist for Author/Reviewer/GateKeeper
[ ] Interface change (if any) are documented
[ ] Side effects on other features (deployment/upgrade)
[ ] Dependencies on other component(s)
Review Checklist
Checklist for Author
[x] JIRA number/GitHub Issue added to PR
[x] PR is self reviewed
[x] Jira and state/status is updated and JIRA is updated with PR link
[x] Check if the description is clear and explained
Documentation
Checklist for Author
[x] Changes done to WIKI / Confluence page / Quick Start Guide
…ort statefulsets
Signed-off-by: Tanuja Shinde tanuja.shinde@seagate.com
Problem Statement
Design
Coding
Checklist for Author
Testing
Checklist for Author
Impact Analysis
Checklist for Author/Reviewer/GateKeeper
Review Checklist
Checklist for Author
Documentation
Checklist for Author