Minimum Viable Product - MariaDB Kubernetes Operator for traditional replication (MDBF-299)

[MDBF-370] Create Specification and Status for MariaDB operator for stateless application Created: 2022-03-29  Updated: 2022-03-29  Resolved: 2022-03-29

Status: Closed
Project: MariaDB Foundation Development
Component/s: Kubernetes
Affects Version/s: None
Fix Version/s: N/A

Type: Technical task Priority: Major
Reporter: Anel Husakovic Assignee: Anel Husakovic
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MDBF-371 Create deployment - for stateless app... Closed

 Description   

Each operator is tracking the current state (status) of custom resource (CR) in K8s cluster (in this case this will be MariaDB operator resource) and compares to the desired state(specification) of custom resource.
All of that can be programmed.
Besides that each specification field can be configured to be required/optional

  • Start by creating following *required* specifications:
    1. size - total number of servers (primary + replicas) Note: design decision was to go with Master/Slave replication (default will be 3)
    2. rootpwd - root password (no defaults)
    3. username - create replication user during the booting of server (could be default?)
    4. password - password for user that is create during container initialization (could be default?)
    5. database - custom database to be replicated (this could be optional?) (default would be test_mariadb)
  • *Optional* specifications:
    1. data storage size - size of data directory
    2. port - exposed port for the service (default 3306)
  • Track the current state by specifying
    1. current replicas - number of replicas being created
    2. database state - state of database - running/error

Set the custom format to represent the custom resource MariaDB.



 Comments   
Comment by Anel Husakovic [ 2022-03-29 ]

Done with
1. cd34e9856e61811
2. 61805b26dcb09a94
3. 9e89a5ec27820a2055fc

Generated at Thu Feb 08 03:37:24 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.