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
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: traefik-service
|
name: traefik-dashboard-service
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- port: 8080
|
||||||
targetPort: web
|
|
||||||
port: 80
|
|
||||||
- name: dashbaord
|
|
||||||
port: 8080
|
|
||||||
targetPort: dashboard
|
targetPort: dashboard
|
||||||
selector:
|
selector:
|
||||||
app: traefik
|
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:
|
args:
|
||||||
- --api.insecure
|
- --api.insecure
|
||||||
- --providers.kubernetesingress
|
- --providers.kubernetesingress
|
||||||
- --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik-service
|
- --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik-web-service
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- name: web
|
||||||
containerPort: 80
|
containerPort: 80
|
||||||
|
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: whoami
|
name: whoami
|
||||||
namespace: whoami
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 3
|
replicas: 3
|
||||||
revisionHistoryLimit: 3
|
revisionHistoryLimit: 3
|
||||||
|
@ -2,7 +2,6 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: whoami
|
name: whoami
|
||||||
namespace: whoami
|
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: NodePort
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
Reference in New Issue
Block a user