mirror of
https://github.com/openvk/openvk
synced 2024-12-27 11:01:28 +03:00
677e147688
* Kubernetes deployment * Update kubernetes deployment * Fix rewrite module load * Fix mysql-primary bootstrap * Fix mysql init-db apply order * Fix init-db.sql permissions * Fix MySQL missing *.sql import * Switch from MySQL to MariaDB * [skip ci] Example deployment update * Set root app in chandler configmap * Update missing php extension in base images * Update missing dependency in apache image * Remove default site configuration * [skip ci] Split Kubernetes deployments by type * Explicitly set persistent volume for openvk storage * [skip ci] Add README for Kubernetes * Replace old docker(-compose) files w/ new ones * Add README for docker usage * [skip ci] Update README.md and README_RU.md * [skip ci] Fix eventdb DB name * [skip ci] Kubernetes configmap: missing namespace * [skip ci] Fix typo * [skip ci] Ignore chandler.yml * [skip ci] Missing /var/log/openvk volume * [skip ci] Workaround for Docker <=20.10.6 * [skip ci] Handle permissions for apache2 * [skip ci] Initial Kafka support * [skip ci] Kafka values for Kubernetes
64 lines
No EOL
1 KiB
YAML
64 lines
No EOL
1 KiB
YAML
apiVersion: v1
|
|
items:
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: mariadb-primary-svc
|
|
namespace: openvk
|
|
spec:
|
|
ports:
|
|
- name: mysql
|
|
port: 3306
|
|
selector:
|
|
app: mariadb-primary
|
|
type: ClusterIP
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: mariadb-eventdb-svc
|
|
namespace: openvk
|
|
spec:
|
|
ports:
|
|
- name: mysql
|
|
port: 3306
|
|
selector:
|
|
app: mariadb-eventdb
|
|
type: ClusterIP
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: openvk-svc
|
|
namespace: openvk
|
|
spec:
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
selector:
|
|
app: openvk
|
|
type: ClusterIP
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: phpmyadmin-svc
|
|
namespace: openvk
|
|
spec:
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
selector:
|
|
app: phpmyadmin
|
|
type: ClusterIP
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: adminer-svc
|
|
namespace: openvk
|
|
spec:
|
|
ports:
|
|
- name: http
|
|
port: 8080
|
|
selector:
|
|
app: adminer
|
|
type: ClusterIP
|
|
kind: List
|
|
metadata: {} |