Skip to content

[Feature Request] add Implementation Notes to scs-0214-v2 (as Supplement) #535

Open

Description

@mbuechse

Let people know how to implement it... I'm not sure what can reasonably be said, maybe just outline how we do it for KaaS v1 and KaaS v2? Of course, this issue has to wait until we know ourselves.

Activity

  1. added
    enhancement
    SCS is standardized
    SCS-VP10
    on Mar 21, 2024
  2. added this to the R7 (v8.0.0) milestone on Mar 21, 2024
  3. added
    Container
    on Jun 7, 2024
  4. tsmado commented on Nov 12, 2024

    @tsmado

    The implementation notes should describe the correct solution, how to deploy a cluster compliant with the standard v2 and compliance with the k8s-node-distribution-check.py tests. The inspiration how to achieve the node distribution and mainly the tag for host id on the worker nodes is being tested based on the solution used in cluster-stack repository, where the node labeling is done using ansible ( https://github.com/SovereignCloudStack/cluster-stacks/blob/main/playbooks/tasks/label_nodes.yaml ). I am currently testing it in gx-scs with a cluster spawned by capi/capo, when the cluster will configured for all tests to pass, the steps to achieve such cluster config state will be added to the implementation notes of the standard.

  5. tsmado commented on Nov 14, 2024

    @tsmado

    The solution to have correct implementation guidelines is still to be written, since I faced several issues. I tried 2 different approaches:

    • Using the Kubernetes Cluster API Provider OpenStack and the corresponding guide. After some troubleshooting, I was able to spawn a control-plane in gx-scs. The problem faced was, that none of the workers was able to start and after some digging I found the possible issue in the logs of a pod in capi-system:
      “Reconciler error” err=“failed to get client: failed to create cluster accessor: error creating http client and mapper for remote cluster "default/ts-testcluster": error creating client for remote cluster "default/ts-testcluster": cluster is not reachable: client rate limiter Wait returned an error: context deadline exceeded - error from a previous attempt: EOF” controller=“machine” controllerGroup=“cluster.x-k8s.io” controllerKind=“Machine” Machine=“default/ts-testcluster-control-plane-84qxt” namespace=“default” name=“ts-testcluster-control-plane-84qxt”

    • Using cluster-stacks and also going by the corresponding guide I managed to get similar results, again being able to spawn the cluster-control-plane but with no success regarding the worker nodes. Also the error logs were of the same kind as above. The control plane instance that was starded reported this issue:
      No valid host was found. There are not enough hosts available.

    Other step that we tried was to reduce the used flavor of instances from SCS-2V-4-50 to SCS-1V-4-10 but this didn't bring any improvements on the upper mentioned issue. Next steps will be to try spawning the development cluster under a clear project in the gx-scs, because we suspect there might be some benefit for using a project without any other resources created.

  6. self-assigned this
    on Nov 14, 2024
  7. moved this from Backlog to Doing in Sovereign Cloud Stackon Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ContainerSCS is standardizedSCS-VP10enhancement

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions