7. Sharing one MicroK8S for several repositories
-
Notes
-
Prerequisites
-
Sharing Cluster under same group
Connect first one MicroK8S cluster on one selected repository. In this example ref-product-service-base-image-v1
Do this according guide

You can check current settings of cluster from here:

Make sure you can see active connection to Kubernetes cluster of yours.

Now you should add file in location which you see on screen

This file is needed to be in repository which is having active cluster connection. So adding this file you can share connection to other repositories under group.
.gitlab/agents/new-hope/config.yaml

user_access:
access_as:
agent: {}
projects:
- id: TRASH-TESTS/ref-product-presta-shop-code-v1
- id: TRASH-TESTS/ref-product-service-base-image-v1
- id: TRASH-TESTS
If you check now other repositories cluster status you should see this:
