clean up cyberchef k3s stack
This commit is contained in:
parent
2699466236
commit
200ad9a7ba
2 changed files with 10 additions and 13 deletions
|
@ -1,20 +1,19 @@
|
|||
---
|
||||
# https://opensource.com/article/20/3/kubernetes-traefik
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: mysite-cyberchef
|
||||
name: cyberchef
|
||||
labels:
|
||||
app: mysite-cyberchef
|
||||
app: cyberchef
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: mysite-cyberchef
|
||||
app: cyberchef
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: mysite-cyberchef
|
||||
app: cyberchef
|
||||
spec:
|
||||
containers:
|
||||
- name: cyberchef
|
||||
|
@ -25,10 +24,10 @@ spec:
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mysite-cyberchef-service
|
||||
name: cyberchef
|
||||
spec:
|
||||
selector:
|
||||
app: mysite-cyberchef
|
||||
app: cyberchef
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
|
@ -37,10 +36,9 @@ spec:
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: mysite-cyberchef-ingress
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "traefik"
|
||||
name: cyberchef
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
rules:
|
||||
- host: cyberchef.kun.is
|
||||
http:
|
||||
|
@ -49,6 +47,6 @@ spec:
|
|||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: mysite-cyberchef-service
|
||||
name: cyberchef
|
||||
port:
|
||||
number: 80
|
|
@ -73,9 +73,8 @@ apiVersion: networking.k8s.io/v1
|
|||
kind: Ingress
|
||||
metadata:
|
||||
name: freshrss
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "traefik"
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
rules:
|
||||
- host: freshrss.k3s.kun.is
|
||||
http:
|
||||
|
|
Loading…
Reference in a new issue