apps(youtubethumbnails): Added to seija
Signed-off-by: prettysunflower <me@prettysunflower.moe>
This commit is contained in:
36
apps/seija/youtubethumbnails/deployment.yaml
Normal file
36
apps/seija/youtubethumbnails/deployment.yaml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: youtubethumbnails
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: youtubethumbnails
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: youtubethumbnails
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: youtubethumbnails
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: youtubethumbnails
|
||||||
|
image: git.prettysunflower.moe/prettysunflower/youtubethumbnails:latest
|
||||||
|
ports:
|
||||||
|
- containerPort: 3333
|
||||||
|
name: http
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
|
runAsNonRoot: true
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
capabilities:
|
||||||
|
drop:
|
||||||
|
- ALL
|
||||||
|
seccompProfile:
|
||||||
|
type: RuntimeDefault
|
||||||
|
dnsPolicy: "ClusterFirst"
|
||||||
|
dnsConfig:
|
||||||
|
nameservers:
|
||||||
|
- 100.94.59.38
|
3
apps/seija/youtubethumbnails/kustomization.yaml
Normal file
3
apps/seija/youtubethumbnails/kustomization.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
resources:
|
||||||
|
- deployment.yaml
|
||||||
|
- svc.yaml
|
12
apps/seija/youtubethumbnails/svc.yaml
Normal file
12
apps/seija/youtubethumbnails/svc.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: youtubethumbnails
|
||||||
|
spec:
|
||||||
|
type: NodePort
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: youtubethumbnails
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 80
|
||||||
|
targetPort: http
|
Reference in New Issue
Block a user