Skip to content

A Cluster API implementation to create Kubernetes clusters for Linode

License

Notifications You must be signed in to change notification settings

cbzzz/cluster-api-provider-linode

 
 

Repository files navigation

Go Report Card Go Reference Go Build and Test CI CodeQL Docker Image Build CI PRs Welcome

Cluster API Provider Linode

A Cluster API implementation for the Linode to create kubernetes clusters.

Local development

Enable git hooks

To enable automatic code validation on code push, execute the following commands:

PATH="$PWD/bin:$PATH" make husky && husky install

If you temporary would like to disable git hook, set SKIP_GIT_PUSH_HOOK value:

SKIP_GIT_PUSH_HOOK=1 git push

Local development with Tilt

For local development execute the following make target:

LINODE_TOKEN=<YOUR LINODE TOKEN> make tilt-cluster

This command creates a Kind cluster, and deploys resources via Tilt. You can freely change the code and wait for Tilt to update provider.

E2E testing

For local development execute the following make target:

LINODE_TOKEN=<YOUR LINODE TOKEN> make e2etest

This command creates a Kind cluster, and executes all the defined tests.

Please ensure you have increased maximum open files on your host: https://kind.sigs.k8s.io/docs/user/known-issues/#pod-errors-due-to-too-many-open-files

About

A Cluster API implementation to create Kubernetes clusters for Linode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 87.0%
  • Makefile 10.4%
  • Starlark 1.2%
  • Dockerfile 1.1%
  • Shell 0.3%