https://github.com/rushi47/service-mirror-prototype
Kubernetes operator for service mirroring.
https://github.com/rushi47/service-mirror-prototype
client-go client-go-sample golang kubernetes operator rust
Last synced: about 2 months ago
JSON representation
Kubernetes operator for service mirroring.
- Host: GitHub
- URL: https://github.com/rushi47/service-mirror-prototype
- Owner: rushi47
- Created: 2023-04-11T04:11:08.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-19T08:57:28.000Z (almost 2 years ago)
- Last Synced: 2024-06-21T06:18:08.184Z (11 months ago)
- Topics: client-go, client-go-sample, golang, kubernetes, operator, rust
- Language: Go
- Homepage:
- Size: 114 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Kubernetes operator for service mirroring - [WIP]
---This operator has been written to prototype the aggregation layer for [Service Mirror](https://linkerd.io/2020/02/25/multicluster-kubernetes-with-service-mirroring/).
As mentioned in the issue : https://github.com/linkerd/linkerd2/issues/10747, if Services are mirrored from multiple target cluster, currently Service Mirror create cardinal index for each Target cluster ex X-target1, x-target1.
Using this operator, there will be one additional Service created and managed, to aggregate Services from all this target clusters (along side mirrored services).
Ex. x-global it will EndpointSlices from x-target1, x-target2...#### HOW TO SETUP
---
We use [`just`](https://just.systems/man/en/) to do local setup.* `just k3d-create` : Command creates 3 k3d local cluster and it also do chaining calls to setup multicluster environment
for linkerd.* `just run` (`go run main.go` ): Should fireup operator and it will loop for Services labelled using `mirror.linkerd.io/mirrored-service`