Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anexia-it/k8s-anexia-ccm
https://github.com/anexia-it/k8s-anexia-ccm
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anexia-it/k8s-anexia-ccm
- Owner: anexia-it
- License: apache-2.0
- Created: 2021-07-01T07:48:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T05:38:18.000Z (3 months ago)
- Last Synced: 2024-08-02T08:47:39.200Z (3 months ago)
- Language: Go
- Size: 680 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
[![CI Build & Test](https://github.com/anexia-it/k8s-anexia-ccm/actions/workflows/push.yml/badge.svg?branch=main&event=push)](https://github.com/anexia-it/k8s-anexia-ccm/actions/workflows/push.yml)
[![Code coverage](https://api.codeclimate.com/v1/badges/ca30474da3d30d5abca3/test_coverage)](https://codeclimate.com/github/anexia-it/k8s-anexia-ccm/test_coverage)# Kubernetes cloud-controller-manager for Anexia Cloud
## Development quickstart
Requires a Go (>= 1.18) toolchain and `make`. For compiling and testing, use the `make` targets
`k8s-anexia-ccm` (default target) and `test`. Targets for running and interactive debugging are
`run` and `debug`, but you need some more setup first:* create API key for Anexia Engine
* create cluster in Anexia Kubernetes Service
* copy `envrc-sample` to `.envrc`, fill your values and run `direnv allow`
- alternatively, you can export `ANEXIA_TOKEN` with your token and `KKP_HUMAN_READABLE_NAME` with your cluster's nameInteractive debugging requires [`delve`](https://github.com/go-delve/delve) to be installed in path.
Running (and debugging) is handled by `hack/anxkube-dev-run`, which first retrieves configs, command line arguments
and co from the seed cluster, pauses the Cluster object and scales in-cluster CCM down to 0 - make sure you revert
that when not using your cluster only for development.Because of that magic, you need `kubectl` for running and debug and it has to be configured for the correct seed
cluster as current context. The script also has more dependencies, but it will tell you.