metallb
This commit is contained in:
parent
7dfc5e6262
commit
14e474c5bd
@ -11,6 +11,7 @@ spec:
|
|||||||
app.kubernetes.io/instance: traefik
|
app.kubernetes.io/instance: traefik
|
||||||
app.kubernetes.io/name: traefik
|
app.kubernetes.io/name: traefik
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
loadBalancerIP: 10.0.69.250
|
||||||
externalTrafficPolicy: Local
|
externalTrafficPolicy: Local
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
|
@ -51,14 +51,6 @@ spec:
|
|||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
timeoutSeconds: 2
|
timeoutSeconds: 2
|
||||||
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu: 1000m
|
|
||||||
memory: 1000Mi
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 50Mi
|
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- name: web
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
|
0
apps/production/metallb/ipaddresspool.yaml
Normal file
0
apps/production/metallb/ipaddresspool.yaml
Normal file
8
apps/production/metallb/kustomization.yaml
Normal file
8
apps/production/metallb/kustomization.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: metallb-system
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- ipaddresspool.yaml
|
||||||
|
- l2advertisement.yaml
|
5
apps/production/metallb/l2advertisement.yaml
Normal file
5
apps/production/metallb/l2advertisement.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: L2Advertisement
|
||||||
|
metadata:
|
||||||
|
name: default
|
||||||
|
namespace: metallb-system
|
10
apps/production/metallb/namespace.yaml
Normal file
10
apps/production/metallb/namespace.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: metallb-system
|
||||||
|
labels:
|
||||||
|
security.openshift.io/scc.podSecurityLabelSync: "false"
|
||||||
|
pod-security.kubernetes.io/enforce: privileged
|
||||||
|
pod-security.kubernetes.io/warn: privileged
|
||||||
|
pod-security.kubernetes.io/audit: privileged
|
@ -11,12 +11,13 @@ spec:
|
|||||||
args:
|
args:
|
||||||
- "--entryPoints.web.address=:8000/tcp"
|
- "--entryPoints.web.address=:8000/tcp"
|
||||||
- "--entryPoints.websecure.address=:8443/tcp"
|
- "--entryPoints.websecure.address=:8443/tcp"
|
||||||
- "--entryPoints.traefik.address=:9000/tcp"
|
|
||||||
- "--api=true"
|
|
||||||
- "--api.dashboard=true"
|
|
||||||
- "--ping=true"
|
- "--ping=true"
|
||||||
|
- "--global.sendanonymoususage=false"
|
||||||
|
- "--global.checknewversion=false"
|
||||||
|
- "--serversTransport.insecureSkipVerify=true"
|
||||||
|
- "--log.level=INFO"
|
||||||
- "--providers.kubernetescrd"
|
- "--providers.kubernetescrd"
|
||||||
- "--providers.kubernetescrd.allowCrossNamespace=true"
|
- "--providers.kubernetescrd.allowCrossNamespace=true"
|
||||||
- "--certificatesresolvers.myresolver.acme.storage=/data/acme.json"
|
- "--providers.kubernetescrd.allowExternalNameServices=true"
|
||||||
- "--certificatesresolvers.myresolver.acme.tlschallenge=true"
|
- "--providers.kubernetesingress.allowCrossNamespace=true"
|
||||||
- "--certificatesresolvers.myresolver.acme.email=jakub.hajek+webinar@traefik.io"
|
- "--providers.kubernetesingress.allowExternalNameServices=true"
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,27 +0,0 @@
|
|||||||
# This manifest was generated by flux. DO NOT EDIT.
|
|
||||||
---
|
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
|
||||||
kind: GitRepository
|
|
||||||
metadata:
|
|
||||||
name: flux-system
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
interval: 1m0s
|
|
||||||
ref:
|
|
||||||
branch: master
|
|
||||||
secretRef:
|
|
||||||
name: flux-system
|
|
||||||
url: https://git.fascinated.cc/fascinated/home-ops.git
|
|
||||||
---
|
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
||||||
kind: Kustomization
|
|
||||||
metadata:
|
|
||||||
name: flux-system
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
interval: 10m0s
|
|
||||||
path: ./
|
|
||||||
prune: true
|
|
||||||
sourceRef:
|
|
||||||
kind: GitRepository
|
|
||||||
name: flux-system
|
|
@ -1,5 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- gotk-components.yaml
|
|
||||||
- gotk-sync.yaml
|
|
Reference in New Issue
Block a user