Skip to content

Instantly share code, notes, and snippets.

@e-minguez
Last active September 26, 2023 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save e-minguez/8cedb7f36287669cffa73a89be2a7757 to your computer and use it in GitHub Desktop.
Save e-minguez/8cedb7f36287669cffa73a89be2a7757 to your computer and use it in GitHub Desktop.
metallb and endpoint copier operator
---
apiVersion: v1
kind: Namespace
metadata:
name: metallb-system
spec: {}
---
apiVersion: v1
kind: Namespace
metadata:
name: endpoint-copier-operator
spec: {}
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: metallb
namespace: metallb-system
spec:
repo: https://metallb.github.io/metallb/
chart: metallb
targetNamespace: metallb-system
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: endpoint-copier-operator
namespace: endpoint-copier-operator
spec:
repo: https://suse-edge.github.io/endpoint-copier-operator
chart: endpoint-copier-operator
targetNamespace: endpoint-copier-operator
---
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: api-ip
namespace: metallb-system
spec:
addresses:
- 192.168.122.5/32
avoidBuggyIPs: true
serviceAllocation:
namespaces:
- default
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: api-ip-l2-adv
namespace: metallb-system
spec:
ipAddressPools:
- api-ip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment