175 lines
3.9 KiB
YAML
175 lines
3.9 KiB
YAML
apiVersion: v1
|
|
items:
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: mariadb
|
|
name: mariadb
|
|
spec:
|
|
clusterIP: None
|
|
ports:
|
|
- name: headless
|
|
port: 55555
|
|
targetPort: 0
|
|
selector:
|
|
io.kompose.service: mariadb
|
|
status:
|
|
loadBalancer: {}
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
kompose.service.type: nodeport
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: phpmyadmin
|
|
name: phpmyadmin
|
|
spec:
|
|
ports:
|
|
- name: "80"
|
|
port: 80
|
|
targetPort: 80
|
|
- name: "443"
|
|
port: 443
|
|
targetPort: 443
|
|
selector:
|
|
io.kompose.service: phpmyadmin
|
|
type: NodePort
|
|
status:
|
|
loadBalancer: {}
|
|
- apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
creationTimestamp: null
|
|
name: mariadb
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: mariadb
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: ALLOW_EMPTY_PASSWORD
|
|
value: "yes"
|
|
image: bitnami/mariadb:latest
|
|
name: mariadb
|
|
resources: {}
|
|
volumeMounts:
|
|
- mountPath: /bitnami/mariadb
|
|
name: phpmyadmin-mariadb-data
|
|
restartPolicy: Always
|
|
volumes:
|
|
- name: phpmyadmin-mariadb-data
|
|
persistentVolumeClaim:
|
|
claimName: phpmyadmin-mariadb-data
|
|
status: {}
|
|
- apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: phpmyadmin-mariadb-data
|
|
name: phpmyadmin-mariadb-data
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 100Mi
|
|
status: {}
|
|
- apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
kompose.service.type: nodeport
|
|
creationTimestamp: null
|
|
name: phpmyadmin
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: phpmyadmin
|
|
spec:
|
|
containers:
|
|
- image: bitnami/phpmyadmin:latest
|
|
name: phpmyadmin
|
|
ports:
|
|
- containerPort: 80
|
|
- containerPort: 443
|
|
resources: {}
|
|
volumeMounts:
|
|
- mountPath: /bitnami/apache
|
|
name: phpmyadmin-apache-data
|
|
- mountPath: /bitnami/php
|
|
name: phpmyadmin-php-data
|
|
- mountPath: /bitnami/phpmyadmin
|
|
name: phpmyadmin-phpmyadmin-data
|
|
restartPolicy: Always
|
|
volumes:
|
|
- name: phpmyadmin-apache-data
|
|
persistentVolumeClaim:
|
|
claimName: phpmyadmin-apache-data
|
|
- name: phpmyadmin-php-data
|
|
persistentVolumeClaim:
|
|
claimName: phpmyadmin-php-data
|
|
- name: phpmyadmin-phpmyadmin-data
|
|
persistentVolumeClaim:
|
|
claimName: phpmyadmin-phpmyadmin-data
|
|
status: {}
|
|
- apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: phpmyadmin-apache-data
|
|
name: phpmyadmin-apache-data
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 100Mi
|
|
status: {}
|
|
- apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: phpmyadmin-php-data
|
|
name: phpmyadmin-php-data
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 100Mi
|
|
status: {}
|
|
- apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: phpmyadmin-phpmyadmin-data
|
|
name: phpmyadmin-phpmyadmin-data
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 100Mi
|
|
status: {}
|
|
kind: List
|
|
metadata: {}
|
|
|