https://github.com/conplementAG/cops-controller
8.2K
This is the Kubernetes Controller implementation for Conplement CoreOps specific Kubernetes extensions. Can be seen as a backend to the companion project copsctl
This project is "based" on metacontroller and written in C#, mainly for three reasons:
Check the instructions on the release page.
For developing, we use Visual Studio Code and Azure Dev Spaces (running inside our CoreOps clusters).
Create / update your cops cluster to the latest state. Metacontroller, which is required for this controller to work, is delivered out of the box.
Install / setup Azure DevSpaces on your cluster, incl. your DevSpace
az aks use-dev-spaces -g ... -n ... --space space_name
If the command above fails (like to linux), then you can use the azds controller create -tn ... -n ... -g ... command instead.
Install the Azure DevSpaces CLI and run:
azds space select --name your_space_name
Deploy the custom resource definitions kubectl apply -f deployment/crds
Install / setup Visual Studio Code with following extensions:
Also, you might have issues with C# and .NET Core unless you install the dotnet core build tools as well: https://github.com/OmniSharp/omnisharp-roslyn/issues/1311#issuecomment-428361674
Run donet restore / dotnet build and you are ready to go. For Azure DevSpace, either run azds up or simply start debugging through VS Code (launch configuration for Azure DevSpaces is included with the repository).
Hints on development:
kubectl logs metacontroller-0 -n metacontroller -f or a similar command.Release is created by starting the Azure DevOps release pipeline. Follow the instructions documented in the pipeline itself.
Content type
Image
Digest
sha256:a81952478…
Size
53.2 MB
Last updated
2 months ago
docker pull conplementag/cops-controller:v1.11.0