add flyimg
This commit is contained in:
parent
252b08c205
commit
47094b3dca
21
apps/production/flyimg/flyimg.yaml
Normal file
21
apps/production/flyimg/flyimg.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: flyimg
|
||||||
|
namespace: public-services
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: flyimg
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: flyimg
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: flyimg-container
|
||||||
|
image: flyimg/flyimg
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
20
infrastructure/traefik/external-services/img.fascinated.cc.yml → apps/production/flyimg/ingress.yaml
20
infrastructure/traefik/external-services/img.fascinated.cc.yml → apps/production/flyimg/ingress.yaml
@ -1,20 +1,8 @@
|
|||||||
kind: Service
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: img-proxy-external
|
|
||||||
namespace: traefik
|
|
||||||
spec:
|
|
||||||
type: ExternalName
|
|
||||||
externalName: 10.0.50.185
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
port: 8080
|
|
||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: img-proxy-external-ingress
|
name: capacitor-external-ingress
|
||||||
namespace: traefik
|
namespace: public-services
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: traefik-external
|
kubernetes.io/ingress.class: traefik-external
|
||||||
spec:
|
spec:
|
||||||
@ -27,7 +15,7 @@ spec:
|
|||||||
- name: default-headers
|
- name: default-headers
|
||||||
namespace: traefik
|
namespace: traefik
|
||||||
services:
|
services:
|
||||||
- name: img-proxy-external
|
- name: flyimg
|
||||||
port: 8080
|
port: 80
|
||||||
tls:
|
tls:
|
||||||
secretName: fascinated-cc
|
secretName: fascinated-cc
|
6
apps/production/flyimg/kustomization.yaml
Normal file
6
apps/production/flyimg/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: public-services
|
||||||
|
resources:
|
||||||
|
- flyimg.yaml
|
6
apps/production/kustomization.yaml
Normal file
6
apps/production/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: public-services
|
||||||
|
resources:
|
||||||
|
- public-services-namespace.yaml
|
5
apps/production/public-services-namespace.yaml
Normal file
5
apps/production/public-services-namespace.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: public-services
|
Reference in New Issue
Block a user