add wishlist
This commit is contained in:
parent
95ecc1db15
commit
4acd2f5805
57
clank/apps/prod/wishlist/app.yaml
Normal file
57
clank/apps/prod/wishlist/app.yaml
Normal file
@ -0,0 +1,57 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: wishlist-ingress
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
traefik.ingress.kubernetes.io/router.tls.certresolver: le
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- wishlist.kjuulh.app
|
||||
rules:
|
||||
- host: wishlist.kjuulh.app
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: wishlist-service
|
||||
port:
|
||||
number: 80
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: wishlist-deployment
|
||||
labels:
|
||||
app: wishlist
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: wishlist
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: wishlist
|
||||
spec:
|
||||
containers:
|
||||
- name: wishlist
|
||||
image: kasperhermansen/wishlist-2022
|
||||
ports:
|
||||
- containerPort: 80
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: wishlist-service
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
targetPort: 80
|
||||
selector:
|
||||
run: wishlist
|
@ -5,11 +5,11 @@ metadata:
|
||||
name: podinfo
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 5m0s
|
||||
interval: 10m0s
|
||||
retryInterval: 30s
|
||||
path: ./kustomize
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: podinfo
|
||||
targetNamespace: default
|
||||
|
||||
|
15
clank/clusters/prod/wishlist/app.yaml
Normal file
15
clank/clusters/prod/wishlist/app.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: wishlist
|
||||
namespace: wishlist
|
||||
spec:
|
||||
interval: 10m0s
|
||||
retryInterval: 30s
|
||||
path: ./clank/apps/prod/wishlist
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: apps
|
||||
targetNamespace: default
|
Loading…
Reference in New Issue
Block a user