Skip to content

Collection-Workload-Configuration: Integration

This MR aims to make Collection-Workload-Configuration K8s-ready: First, testing locally. Then in Docker network.

Currently, I get the following WARNINGS/ERRORS:

  • "ERRO[0340] Could not retrieve resources from OpenStack Compute: could not discover servers: could not authorize openstack: could not get OpenStack auth options from environment: Missing environment variable [OS_AUTH_URL] service=collection-workload" - Should we add them? And how (secretly)?
    • For now that error is ok: The configuration will comes from the Dashboard and currently, we have no OpenStack environment for testing. This is postponed till we have an OpenStack environemnt in our Dev-Cluster.
  • Same with K8s
    • There are currently no problems
  • "azure.go:92] WARNING: the azure auth plugin is deprecated in v1.22+, unavailable in v1.25+; use https://github.com/Azure/kubelogin instead."
  • For Docker integration, remove "127.0.0.1" (DefaultAddr) in net.Listen()
  • Use CM specific Config
  • Add validator func for service configuration
  • Do we let workload.Config in service/collection/workload/server.go or do we put it to api/collection/collection.go as the IntegrityConfig?
Edited by Cristina Pauna

Merge request reports

Loading