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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: mysite-cyberchef
|
name: cyberchef
|
||||||
labels:
|
labels:
|
||||||
app: mysite-cyberchef
|
app: cyberchef
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: mysite-cyberchef
|
app: cyberchef
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: mysite-cyberchef
|
app: cyberchef
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: cyberchef
|
- name: cyberchef
|
||||||
|
@ -25,10 +24,10 @@ spec:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: mysite-cyberchef-service
|
name: cyberchef
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: mysite-cyberchef
|
app: cyberchef
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 80
|
port: 80
|
||||||
|
@ -37,10 +36,9 @@ spec:
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: mysite-cyberchef-ingress
|
name: cyberchef
|
||||||
annotations:
|
|
||||||
kubernetes.io/ingress.class: "traefik"
|
|
||||||
spec:
|
spec:
|
||||||
|
ingressClassName: traefik
|
||||||
rules:
|
rules:
|
||||||
- host: cyberchef.kun.is
|
- host: cyberchef.kun.is
|
||||||
http:
|
http:
|
||||||
|
@ -49,6 +47,6 @@ spec:
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: mysite-cyberchef-service
|
name: cyberchef
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
|
@ -73,9 +73,8 @@ apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: freshrss
|
name: freshrss
|
||||||
annotations:
|
|
||||||
kubernetes.io/ingress.class: "traefik"
|
|
||||||
spec:
|
spec:
|
||||||
|
ingressClassName: traefik
|
||||||
rules:
|
rules:
|
||||||
- host: freshrss.k3s.kun.is
|
- host: freshrss.k3s.kun.is
|
||||||
http:
|
http:
|
||||||
|
|
Loading…
Reference in a new issue