test
This commit is contained in:
parent
c3aacf77d3
commit
ad22fe5f3b
20
application-manifests/ip-mziesel-nl-application.yaml
Normal file
20
application-manifests/ip-mziesel-nl-application.yaml
Normal 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
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: whoami
|
||||
namespace: whoami
|
||||
spec:
|
||||
replicas: 3
|
||||
revisionHistoryLimit: 3
|
||||
|
@ -2,7 +2,6 @@ apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: whoami
|
||||
namespace: whoami
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user