mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
Update media
This commit is contained in:
+40
-40
@@ -155,47 +155,47 @@ spec:
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: youtube-dl
|
||||
labels:
|
||||
app: youtube-dl
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: youtube-dl-port
|
||||
protocol: TCP
|
||||
name: web
|
||||
selector:
|
||||
app: qbit
|
||||
# apiVersion: v1
|
||||
# kind: Service
|
||||
# metadata:
|
||||
# name: youtube-dl
|
||||
# labels:
|
||||
# app: youtube-dl
|
||||
# spec:
|
||||
# type: ClusterIP
|
||||
# ports:
|
||||
# - port: 80
|
||||
# targetPort: youtube-dl-port
|
||||
# protocol: TCP
|
||||
# name: web
|
||||
# selector:
|
||||
# app: qbit
|
||||
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: youtube-dl-ingress
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
kubernetes.io/tls-acme: "true"
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- dl.junv.cc
|
||||
secretName: youtube-dl-tls
|
||||
rules:
|
||||
- host: dl.junv.cc
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: youtube-dl
|
||||
port:
|
||||
number: 80
|
||||
# ---
|
||||
# apiVersion: networking.k8s.io/v1
|
||||
# kind: Ingress
|
||||
# metadata:
|
||||
# name: youtube-dl-ingress
|
||||
# annotations:
|
||||
# kubernetes.io/ingress.class: "nginx"
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
# spec:
|
||||
# tls:
|
||||
# - hosts:
|
||||
# - dl.junv.cc
|
||||
# secretName: youtube-dl-tls
|
||||
# rules:
|
||||
# - host: dl.junv.cc
|
||||
# http:
|
||||
# paths:
|
||||
# - path: /
|
||||
# pathType: Prefix
|
||||
# backend:
|
||||
# service:
|
||||
# name: youtube-dl
|
||||
# port:
|
||||
# number: 80
|
||||
---
|
||||
|
||||
apiVersion: networking.k8s.io/v1
|
||||
|
||||
Reference in New Issue
Block a user