mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 09:59:43 +00:00
services: remove jupyter, mysql, quake, torxy, wiki
This commit is contained in:
parent
87c374d36b
commit
3b6c0f428c
6 changed files with 0 additions and 293 deletions
|
|
@ -11,11 +11,4 @@ spec:
|
||||||
commonName: gorilych.ru
|
commonName: gorilych.ru
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- gorilych.ru
|
- gorilych.ru
|
||||||
- confluence.gorilych.ru
|
|
||||||
- git.gorilych.ru
|
|
||||||
- jira.gorilych.ru
|
|
||||||
- jupyter.gorilych.ru
|
|
||||||
- router.gorilych.ru
|
- router.gorilych.ru
|
||||||
- seafile.gorilych.ru
|
|
||||||
- grafana.gorilych.ru
|
|
||||||
- wiki.gorilych.ru
|
|
||||||
|
|
|
||||||
|
|
@ -1,80 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: jupyter
|
|
||||||
labels:
|
|
||||||
app: jupyter
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: jupyter
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: jupyter
|
|
||||||
spec:
|
|
||||||
hostname: jupyter
|
|
||||||
volumes:
|
|
||||||
- name: jupyter
|
|
||||||
hostPath:
|
|
||||||
path: /home/jupyter
|
|
||||||
type: DirectoryOrCreate
|
|
||||||
containers:
|
|
||||||
- name: jupyter
|
|
||||||
image: gorilych/jupyter:v0.0.3
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
env:
|
|
||||||
- name: LANG
|
|
||||||
value: ru
|
|
||||||
- name: LD_LIBRARY_PATH
|
|
||||||
value: /opt/conda/lib
|
|
||||||
args:
|
|
||||||
- start-notebook.sh
|
|
||||||
- "--ip='*'"
|
|
||||||
- "--port=8888"
|
|
||||||
- "--no-browser"
|
|
||||||
- "--config=/home/jovyan/work/.config.py"
|
|
||||||
ports:
|
|
||||||
- containerPort: 8888
|
|
||||||
name: jupyter
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /home/jovyan/work
|
|
||||||
name: jupyter
|
|
||||||
---
|
|
||||||
kind: Service
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: jupyter
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app: jupyter
|
|
||||||
ports:
|
|
||||||
- name: jupyter
|
|
||||||
protocol: TCP
|
|
||||||
port: 80
|
|
||||||
targetPort: jupyter
|
|
||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: jupyter
|
|
||||||
annotations:
|
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: 32m
|
|
||||||
spec:
|
|
||||||
tls:
|
|
||||||
- secretName: san-gorilych-ru-tls
|
|
||||||
hosts:
|
|
||||||
- jupyter.gorilych.ru
|
|
||||||
rules:
|
|
||||||
- host: jupyter.gorilych.ru
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- pathType: ImplementationSpecific
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: jupyter
|
|
||||||
port:
|
|
||||||
number: 80
|
|
||||||
|
|
||||||
|
|
@ -1,49 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: mariadb
|
|
||||||
labels:
|
|
||||||
app: mariadb
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: mariadb
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: mariadb
|
|
||||||
spec:
|
|
||||||
volumes:
|
|
||||||
# mkdir -p /data/mariadb
|
|
||||||
# chown 999.999 /data/mariadb
|
|
||||||
- name: mariadb
|
|
||||||
hostPath:
|
|
||||||
path: /data/mariadb
|
|
||||||
type:
|
|
||||||
containers:
|
|
||||||
- name: mariadb
|
|
||||||
image: mariadb
|
|
||||||
env:
|
|
||||||
- name: MYSQL_ROOT_PASSWORD_FILE
|
|
||||||
value: /var/lib/mysql/rootpwd
|
|
||||||
ports:
|
|
||||||
- containerPort: 3306
|
|
||||||
name: mysql
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /var/lib/mysql
|
|
||||||
name: mariadb
|
|
||||||
---
|
|
||||||
kind: Service
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: mysql
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app: mariadb
|
|
||||||
ports:
|
|
||||||
- name: mysql
|
|
||||||
protocol: TCP
|
|
||||||
port: 3306
|
|
||||||
targetPort: mysql
|
|
||||||
|
|
@ -1,51 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: quake
|
|
||||||
labels:
|
|
||||||
app: quake
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: quake
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: quake
|
|
||||||
spec:
|
|
||||||
volumes:
|
|
||||||
- name: data
|
|
||||||
hostPath:
|
|
||||||
path: /data/quake
|
|
||||||
type: DirectoryOrCreate
|
|
||||||
containers:
|
|
||||||
- name: quake
|
|
||||||
image: jberrenberg/quake3
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
args:
|
|
||||||
- +exec
|
|
||||||
- server.cfg
|
|
||||||
volumeMounts:
|
|
||||||
- name: data
|
|
||||||
mountPath: /home/ioq3srv/.q3a/baseq3
|
|
||||||
ports:
|
|
||||||
- name: quake
|
|
||||||
protocol: UDP
|
|
||||||
containerPort: 27960
|
|
||||||
---
|
|
||||||
kind: Service
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: quake
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app: quake
|
|
||||||
ports:
|
|
||||||
- name: quake
|
|
||||||
protocol: UDP
|
|
||||||
port: 27960
|
|
||||||
targetPort: quake
|
|
||||||
nodePort: 30960
|
|
||||||
type: NodePort
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: torxy
|
|
||||||
labels:
|
|
||||||
app: torxy
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: torxy
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: torxy
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: torxy
|
|
||||||
image: rdsubhas/tor-privoxy-alpine
|
|
||||||
ports:
|
|
||||||
- containerPort: 8118
|
|
||||||
name: privoxy
|
|
||||||
---
|
|
||||||
kind: Service
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: torxy
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app: torxy
|
|
||||||
ports:
|
|
||||||
- name: privoxy
|
|
||||||
protocol: TCP
|
|
||||||
port: 8118
|
|
||||||
targetPort: privoxy
|
|
||||||
nodePort: 31881
|
|
||||||
type: NodePort
|
|
||||||
|
|
||||||
|
|
@ -1,68 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: wiki
|
|
||||||
labels:
|
|
||||||
app: wiki
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: wiki
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: wiki
|
|
||||||
spec:
|
|
||||||
hostname: wiki
|
|
||||||
volumes:
|
|
||||||
- name: data
|
|
||||||
hostPath:
|
|
||||||
path: /data/wiki
|
|
||||||
type: DirectoryOrCreate
|
|
||||||
containers:
|
|
||||||
- name: wiki
|
|
||||||
image: requarks/wiki:2.4
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
env:
|
|
||||||
- name: CONFIG_FILE
|
|
||||||
value: /data/config.yml
|
|
||||||
ports:
|
|
||||||
- containerPort: 3000
|
|
||||||
name: http
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /data
|
|
||||||
name: data
|
|
||||||
---
|
|
||||||
kind: Service
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: wiki
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app: wiki
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
targetPort: http
|
|
||||||
port: 80
|
|
||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: wiki
|
|
||||||
spec:
|
|
||||||
tls:
|
|
||||||
- secretName: san-gorilych-ru-tls
|
|
||||||
hosts:
|
|
||||||
- wiki.gorilych.ru
|
|
||||||
rules:
|
|
||||||
- host: wiki.gorilych.ru
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- pathType: ImplementationSpecific
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: wiki
|
|
||||||
port:
|
|
||||||
name: http
|
|
||||||
Loading…
Reference in a new issue