This commit is contained in:
Mans Ziesel 2024-09-22 13:29:38 +02:00
parent c3aacf77d3
commit ad22fe5f3b
5 changed files with 36 additions and 9 deletions

View File

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argo-app-ip-mziesel-nl
namespace: argocd
spec:
destination:
name: ''
namespace: default
server: https://kubernetes.default.svc
source:
path: ip-mziesel-nl
repoURL: https://git.mziesel.nl/mans/argocd-test
targetRevision: HEAD
sources: []
project: default
syncPolicy:
automated:
prune: true
selfHeal: true

View File

@ -1,16 +1,25 @@
apiVersion: v1
kind: Service
metadata:
name: traefik-service
name: traefik-dashboard-service
spec:
type: LoadBalancer
ports:
- name: web
targetPort: web
port: 80
- name: dashbaord
port: 8080
- port: 8080
targetPort: dashboard
selector:
app: traefik
---
apiVersion: v1
kind: Service
metadata:
name: traefik-web-service
spec:
type: LoadBalancer
ports:
- targetPort: web
port: 80
selector:
app: traefik

View File

@ -22,7 +22,7 @@ spec:
args:
- --api.insecure
- --providers.kubernetesingress
- --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik-service
- --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik-web-service
ports:
- name: web
containerPort: 80

View File

@ -2,7 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: whoami
namespace: whoami
spec:
replicas: 3
revisionHistoryLimit: 3

View File

@ -2,7 +2,6 @@ apiVersion: v1
kind: Service
metadata:
name: whoami
namespace: whoami
spec:
type: NodePort
ports: