task: Install ordering - fix

Open
#454 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
kubernetes

Research direction

The issue shows Kubernetes pods starting before their required infrastructure is ready, including a missing pm-openfga-operator-kubeconfig secret; it names no repository files or tests. First read the installation and deployment configuration that defines component ordering, then trace how prerequisites and the root shard become ready. Done means dependent components start only after their required infrastructure is ready and the installation behavior is tested.

Written by the indexing model from the issue text.

Description

Overview

Current install process is very much "Trow everything to the wall" and hope it sticks:

platform-mesh-system   platform-mesh-prerequisites-cloudnative-pg-775d58d5c7-r5djb       1/1     Running             0             5m44s
platform-mesh-system   platform-mesh-prerequisites-keycloak-operator-8d75558b-c7vbf      1/1     Running             0             5m44s
platform-mesh-system   platform-mesh-prerequisites-ocm-k8s-toolkit-controller-man8wk56   1/1     Running             0             5m44s
platform-mesh-system   platform-mesh-prerequisites-traefik-86b588bccf-8ctkp              1/1     Running             0             3m30s
platform-mesh-system   pm-keycloak-operator-6c8d49cdb4-vvqtr                             0/1     Init:0/1            0             72s
platform-mesh-system   pm-keycloak-operator-initializer-9d7577b94-zf2ql                  0/1     ContainerCreating   0             72s
platform-mesh-system   pm-keycloak-operator-terminator-7cb7bbfcb-rth78                   0/1     ContainerCreating   0             72s
platform-mesh-system   pm-openfga-authz-webhook-657bf7cd9b-9jfrk                         0/1     ContainerCreating   0             55s
platform-mesh-system   pm-openfga-operator-bbdfbffc-mtrjx                                0/1     ContainerCreating   0             2m11s
platform-mesh-system   pm-openfga-operator-generator-764797b9c-8krrm                     0/1     ContainerCreating   0             2m11s
platform-mesh-system   pm-openfga-operator-initializer-576ddc9596-74vsq                  0/1     ContainerCreating   0             2m11s
platform-mesh-system   pm-openfga-operator-system-64f87bf6bc-q62nw                       0/1     ContainerCreating   0             2m11s
platform-mesh-system   pm-openfga-operator-terminator-68f6f85979-jj9d9                   0/1     ContainerCreating   0             2m11s
platform-mesh-system   portal-7bf74575-c2ltl                                             0/1     Init:0/1            0             19s
platform-mesh-system   root-kcp-6ffb65cfcd-vmss5                                         1/1     Running             1 (68s ago)   2m31s
platform-mesh-system   root-proxy-54d4965cb6-97brm                                       1/1     Running             1 (40s ago)   2m31s
platform-mesh-system   source-controller-b4c9bfd44-ltcjm                                 1/1     Running             0             5m44s
platform-mesh-system   cache-server-cache-server-54c7df8f-gwgsc                          1/1     Running             3 (48s ago)   2m34s


and sometimes it does not:

  Normal   Scheduled    11m                 default-scheduler  Successfully assigned platform-mesh-system/pm-openfga-operator-bbdfbffc-jt5s2 to platform-mesh-control-plane
  Warning  FailedMount  84s (x13 over 11m)  kubelet            MountVolume.SetUp failed for volume "external-api-server" : secret "pm-openfga-operator-kubeconfig" not found

because root shard or kcp or other infra components gets not ready yet,...

Implementation Details

No response

Completion Checklist
  • Code implemented and tested
  • Documentation updated
  • Changes reviewed
Dominant language
No language data
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from platform-mesh/backlog

All issues in platform-mesh/backlog

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.