parent
a55f86bbda
commit
a9f7b67b0b
@ -0,0 +1,42 @@ |
|||||||
|
apiVersion: apps/v1 |
||||||
|
kind: Deployment |
||||||
|
metadata: |
||||||
|
annotations: |
||||||
|
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert |
||||||
|
kompose.version: 1.26.1 (a9d05d509) |
||||||
|
creationTimestamp: null |
||||||
|
labels: |
||||||
|
io.kompose.service: api |
||||||
|
name: api |
||||||
|
spec: |
||||||
|
replicas: 1 |
||||||
|
selector: |
||||||
|
matchLabels: |
||||||
|
io.kompose.service: api |
||||||
|
strategy: {} |
||||||
|
template: |
||||||
|
metadata: |
||||||
|
annotations: |
||||||
|
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert |
||||||
|
kompose.version: 1.26.1 (a9d05d509) |
||||||
|
creationTimestamp: null |
||||||
|
labels: |
||||||
|
io.kompose.service: api |
||||||
|
spec: |
||||||
|
containers: |
||||||
|
- env: |
||||||
|
- name: DATABASE_HOSTNAME |
||||||
|
value: db |
||||||
|
- name: DATABASE_NAME |
||||||
|
- name: DATABASE_PASSWORD |
||||||
|
- name: DATABASE_PORT |
||||||
|
value: "3306" |
||||||
|
- name: DATABASE_USERNAME |
||||||
|
image: espacecollabbackendapi |
||||||
|
name: api |
||||||
|
ports: |
||||||
|
- containerPort: 80 |
||||||
|
- containerPort: 443 |
||||||
|
resources: {} |
||||||
|
restartPolicy: Always |
||||||
|
status: {} |
@ -0,0 +1,22 @@ |
|||||||
|
apiVersion: v1 |
||||||
|
kind: Service |
||||||
|
metadata: |
||||||
|
annotations: |
||||||
|
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert |
||||||
|
kompose.version: 1.26.1 (a9d05d509) |
||||||
|
creationTimestamp: null |
||||||
|
labels: |
||||||
|
io.kompose.service: api |
||||||
|
name: api |
||||||
|
spec: |
||||||
|
ports: |
||||||
|
- name: "5000" |
||||||
|
port: 5000 |
||||||
|
targetPort: 80 |
||||||
|
- name: "5001" |
||||||
|
port: 5001 |
||||||
|
targetPort: 443 |
||||||
|
selector: |
||||||
|
io.kompose.service: api |
||||||
|
status: |
||||||
|
loadBalancer: {} |
@ -0,0 +1,14 @@ |
|||||||
|
apiVersion: v1 |
||||||
|
kind: PersistentVolumeClaim |
||||||
|
metadata: |
||||||
|
creationTimestamp: null |
||||||
|
labels: |
||||||
|
io.kompose.service: data-volume |
||||||
|
name: data-volume |
||||||
|
spec: |
||||||
|
accessModes: |
||||||
|
- ReadWriteOnce |
||||||
|
resources: |
||||||
|
requests: |
||||||
|
storage: 100Mi |
||||||
|
status: {} |
@ -0,0 +1,14 @@ |
|||||||
|
apiVersion: v1 |
||||||
|
kind: PersistentVolumeClaim |
||||||
|
metadata: |
||||||
|
creationTimestamp: null |
||||||
|
labels: |
||||||
|
io.kompose.service: db-claim1 |
||||||
|
name: db-claim1 |
||||||
|
spec: |
||||||
|
accessModes: |
||||||
|
- ReadWriteOnce |
||||||
|
resources: |
||||||
|
requests: |
||||||
|
storage: 100Mi |
||||||
|
status: {} |
@ -0,0 +1,49 @@ |
|||||||
|
apiVersion: apps/v1 |
||||||
|
kind: Deployment |
||||||
|
metadata: |
||||||
|
annotations: |
||||||
|
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert |
||||||
|
kompose.version: 1.26.1 (a9d05d509) |
||||||
|
creationTimestamp: null |
||||||
|
labels: |
||||||
|
io.kompose.service: db |
||||||
|
name: db |
||||||
|
spec: |
||||||
|
replicas: 1 |
||||||
|
selector: |
||||||
|
matchLabels: |
||||||
|
io.kompose.service: db |
||||||
|
strategy: |
||||||
|
type: Recreate |
||||||
|
template: |
||||||
|
metadata: |
||||||
|
annotations: |
||||||
|
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert |
||||||
|
kompose.version: 1.26.1 (a9d05d509) |
||||||
|
creationTimestamp: null |
||||||
|
labels: |
||||||
|
io.kompose.service: db |
||||||
|
spec: |
||||||
|
containers: |
||||||
|
- env: |
||||||
|
- name: MYSQL_DATABASE |
||||||
|
- name: MYSQL_PASSWORD |
||||||
|
- name: MYSQL_ROOT_PASSWORD |
||||||
|
- name: MYSQL_USERNAME |
||||||
|
image: mariadb:10.7.1 |
||||||
|
name: db |
||||||
|
resources: {} |
||||||
|
volumeMounts: |
||||||
|
- mountPath: /var/lib/mysql |
||||||
|
name: data-volume |
||||||
|
- mountPath: /docker-entrypoint-initdb.d/init.sql |
||||||
|
name: db-claim1 |
||||||
|
restartPolicy: Always |
||||||
|
volumes: |
||||||
|
- name: data-volume |
||||||
|
persistentVolumeClaim: |
||||||
|
claimName: data-volume |
||||||
|
- name: db-claim1 |
||||||
|
persistentVolumeClaim: |
||||||
|
claimName: db-claim1 |
||||||
|
status: {} |
@ -0,0 +1,33 @@ |
|||||||
|
apiVersion: apps/v1 |
||||||
|
kind: Deployment |
||||||
|
metadata: |
||||||
|
annotations: |
||||||
|
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert |
||||||
|
kompose.version: 1.26.1 (a9d05d509) |
||||||
|
creationTimestamp: null |
||||||
|
labels: |
||||||
|
io.kompose.service: front |
||||||
|
name: front |
||||||
|
spec: |
||||||
|
replicas: 1 |
||||||
|
selector: |
||||||
|
matchLabels: |
||||||
|
io.kompose.service: front |
||||||
|
strategy: {} |
||||||
|
template: |
||||||
|
metadata: |
||||||
|
annotations: |
||||||
|
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert |
||||||
|
kompose.version: 1.26.1 (a9d05d509) |
||||||
|
creationTimestamp: null |
||||||
|
labels: |
||||||
|
io.kompose.service: front |
||||||
|
spec: |
||||||
|
containers: |
||||||
|
- image: collab-front |
||||||
|
name: front |
||||||
|
ports: |
||||||
|
- containerPort: 80 |
||||||
|
resources: {} |
||||||
|
restartPolicy: Always |
||||||
|
status: {} |
@ -0,0 +1,19 @@ |
|||||||
|
apiVersion: v1 |
||||||
|
kind: Service |
||||||
|
metadata: |
||||||
|
annotations: |
||||||
|
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert |
||||||
|
kompose.version: 1.26.1 (a9d05d509) |
||||||
|
creationTimestamp: null |
||||||
|
labels: |
||||||
|
io.kompose.service: front |
||||||
|
name: front |
||||||
|
spec: |
||||||
|
ports: |
||||||
|
- name: "8083" |
||||||
|
port: 8083 |
||||||
|
targetPort: 80 |
||||||
|
selector: |
||||||
|
io.kompose.service: front |
||||||
|
status: |
||||||
|
loadBalancer: {} |
Loading…
Reference in new issue