add metallb
This commit is contained in:
parent
f0680b97af
commit
896869b3b3
5 changed files with 50 additions and 1 deletions
1
Vagrantfile
vendored
1
Vagrantfile
vendored
|
|
@ -134,5 +134,4 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
end
|
||||
|
||||
config.vm.provision "shell", inline: $provision, privileged: true
|
||||
config.vm.network "forwarded_port", guest: 9898, host: 9898
|
||||
end
|
||||
|
|
|
|||
34
apps/networking/metallb.yaml
Normal file
34
apps/networking/metallb.yaml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: metallb
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "1"
|
||||
spec:
|
||||
project: workshop
|
||||
ignoreDifferences:
|
||||
- group: apiextensions.k8s.io
|
||||
kind: CustomResourceDefinition
|
||||
jsonPointers:
|
||||
- /spec/conversion/webhook/clientConfig/caBundle
|
||||
sources:
|
||||
- repoURL: https://metallb.github.io/metallb
|
||||
chart: metallb
|
||||
targetRevision: "0.14.9"
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/manifests/networking/metallb/values.yaml
|
||||
- repoURL: https://github.com/shautvast/ops-demo
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: metallb-system
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
8
manifests/networking/L2Advertisement.yaml
Normal file
8
manifests/networking/L2Advertisement.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: metallb.io/v1beta1
|
||||
kind: L2Advertisement
|
||||
metadata:
|
||||
name: workshop-l2
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
ipAddressPools:
|
||||
- workshop-pool
|
||||
8
manifests/networking/metallb/metallb-config.yaml
Normal file
8
manifests/networking/metallb/metallb-config.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: metallb.io/v1beta1
|
||||
kind: IPAddressPool
|
||||
metadata:
|
||||
name: workshop-pool
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
addresses:
|
||||
- 192.168.56.200-192.168.56.220
|
||||
0
manifests/networking/metallb/values.yaml
Normal file
0
manifests/networking/metallb/values.yaml
Normal file
Loading…
Add table
Reference in a new issue