- If you experience or notice an error, bug, documentation issue, feel free to;
- Open a GitHub Issue against the project.
- Provide details and logs in the description on how to reproduce the issue.
- Provide details of the operating system type and version, custom configurations, versions of applications that are displaying the issue, if applicable.
-
To quickly get started with MicroK8s, use a supported Ubuntu distribution and follow the Getting Started MicroK8s guide.
-
To create a multi-node MicroK8s cluster, review the Create a MicroK8s cluster guide. Ensure that you install the MicroK8s package on the node(s) that will be used to join your cluster.
💡When adding nodes to a cluster, end users may experience a similar error message
Connection failed. The hostname (node-fcac1e38-6872-4839-b2a0-e3c34db85428) of the joining node does not resolve to the IP "188.166.144.180". Refusing join (400).
- To resolve this issue, a recommendation would be to review the issue #3225 and apply the workaround solution in the comment. -
Once your cluster is up and running, follow the detailed instructions on how to develop MicroK8s add-ons by reviewing the HACKING.md document located in the MicroK8s Community add-on repository.
Ensure that the unit tests are applied as you will not be able to successflly enable or disable the add-on without them.
-
Lastly, before running Ondat, ensure that the
enable
anddisable
scripts are executable files otherwise you will experience permission related issues.
# navigate into the Ondat directory.
cd addons/ondat/
# make "enable" and "disable" into executable files.
chmod +x enable disable
# enable the Ondat add-on.
microk8s enable ondat
-
If you would like to contribute to the project, feel free to create a Pull Request;
- Fork the upstream repository.
- Clone the recently forked repository to your workstation.
- Navigate into the repository and create a branch and checkout into the new branch.
- Make changes that you would like to contribute, then add and commit changes to the repository.
- Push the changes you made in the local branch to your remote fork.
- Create a Pull Request against the upstream repository.
-
When working on the bash
enable
anddisable
scripts, a recommendation would be to leverage ShellCheck, which is a static analysis tool for checking shell scripts for bugs, warnings and providing suggestions to address issues found. -
For the Python unit tests, a recommendation would be to use Black, which is an uncompromising Python code formatter that is useful for consistent code styling.