Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

equinor/gordo-controller

Repository files navigation

gordo-controller

Gordo controller

CI

Archival Notice

Date: 26.03.2025

Reason: This repository has been archived due to changes in the project's architecture. The current implementation is no longer maintained and developed.

Developer manual

Run tests locally

Install and start minikube.

Run k8s API proxy:

kubectl proxy --port=8080

Export necessary env variables:

export KUBERNETES_SERVICE_HOST=localhost
export KUBERNETES_SERVICE_PORT=8080

Build the docker image:

eval $(minikube docker-env)
docker build -f Dockerfile-controller -t equinor/gordo-controller:latest .
kubectl apply -k k8s/base

Run tests:

cargo test --tests -- --test-threads=1

Environment variables

Name Type Description
DEPLOY_IMAGE String Deploy Job docker image. Example: docker.io/gordo/gordo-deploy
DEPLOY_REPOSITORY String Deploy Job docker image without registry. Example: gordo-infrastructure/gordo-deploy
SERVER_PORT Integer HTTP server listening port. Example: 8080
SERVER_HOST String HTTP server listening host. Example: localhost
DOCKER_REGISTRY String Docker registry. Example: ghcr.io
DEFAULT_DEPLOY_ENVIRONMENT HashMap Default gordo's environment variables. Example: {"ARGO_SERVICE_ACCOUNT": "workflow-runner"}
RESOURCES_LABELS HashMap Deploy Job labels. Example: {"app": "gordo_deployment"}
DEPLOY_JOB_RO_FS Boolean Set up .security_context.read_only_root_filesystem for deploy Job if true

About

Kubernetes controller for the Gordo CRD

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 7