Wolfgang Hottgenroth c32816c9dd
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
fix config
2024-01-26 21:29:35 +01:00

63 lines
1.1 KiB
Cheetah

apiVersion: apps/v1
kind: Deployment
metadata:
name: jupyter
labels:
app: jupyter
spec:
replicas: 1
selector:
matchLabels:
app: jupyter
template:
metadata:
labels:
app: jupyter
spec:
containers:
- name: jupyter
image: %IMAGE%
ports:
- containerPort: 8888
protocol: TCP
env:
- name: JUPYTER_PORT
value: 8888
---
apiVersion: v1
kind: Service
metadata:
name: jupyter
spec:
type: ClusterIP
selector:
app: jupyter
ports:
- name: http
targetPort: 8888
port: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: jupyter
annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging-http
spec:
tls:
- hosts:
- jupyter.hottis.de
secretName: jupyter-cert
rules:
- host: jupyter.hottis.de
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: jupyter
port:
number: 80