aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--k8s/app-claim0-persistentvolumeclaim.yaml14
-rw-r--r--k8s/app-deployment.yaml44
-rw-r--r--k8s/app-service.yaml19
-rw-r--r--k8s/bitcoin-claim0-persistentvolumeclaim.yaml14
-rw-r--r--k8s/bitcoin-deployment.yaml42
-rw-r--r--k8s/bitcoin-service.yaml22
-rw-r--r--k8s/electrs-liquid-claim0-persistentvolumeclaim.yaml14
-rw-r--r--k8s/electrs-liquid-deployment.yaml62
-rw-r--r--k8s/electrs-liquid-service.yaml22
-rw-r--r--k8s/esplora-liquid-deployment.yaml39
-rw-r--r--k8s/esplora-liquid-service.yaml19
-rw-r--r--k8s/la-claim0-persistentvolumeclaim.yaml14
-rw-r--r--k8s/la-deployment.yaml42
-rw-r--r--k8s/lb-claim0-persistentvolumeclaim.yaml14
-rw-r--r--k8s/lb-deployment.yaml42
-rw-r--r--k8s/liquid-claim0-persistentvolumeclaim.yaml14
-rw-r--r--k8s/liquid-deployment.yaml44
-rw-r--r--k8s/liquid-service.yaml28
-rw-r--r--k8s/maria-claim0-persistentvolumeclaim.yaml14
-rw-r--r--k8s/maria-deployment.yaml43
-rw-r--r--k8s/maria-service.yaml19
-rw-r--r--k8s/ui-deployment.yaml36
-rw-r--r--k8s/ui-service.yaml19
23 files changed, 640 insertions, 0 deletions
diff --git a/k8s/app-claim0-persistentvolumeclaim.yaml b/k8s/app-claim0-persistentvolumeclaim.yaml
new file mode 100644
index 00000000..f4d8470e
--- /dev/null
+++ b/k8s/app-claim0-persistentvolumeclaim.yaml
@@ -0,0 +1,14 @@
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ labels:
+ io.kompose.service: app-claim0
+ name: app-claim0
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
diff --git a/k8s/app-deployment.yaml b/k8s/app-deployment.yaml
new file mode 100644
index 00000000..c3a4ed2b
--- /dev/null
+++ b/k8s/app-deployment.yaml
@@ -0,0 +1,44 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: app
+ name: app
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: app
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: app
+ spec:
+ containers:
+ - env:
+ - name: NODE_ENV
+ value: development
+ image: asoltys/coinos-server
+ name: app
+ ports:
+ - containerPort: 3119
+ resources: {}
+ volumeMounts:
+ - mountPath: /app
+ name: app-claim0
+ restartPolicy: Always
+ volumes:
+ - name: app-claim0
+ persistentVolumeClaim:
+ claimName: app-claim0
+status: {}
diff --git a/k8s/app-service.yaml b/k8s/app-service.yaml
new file mode 100644
index 00000000..e23d7abf
--- /dev/null
+++ b/k8s/app-service.yaml
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Service
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: app
+ name: app
+spec:
+ ports:
+ - name: "3119"
+ port: 3119
+ targetPort: 3119
+ selector:
+ io.kompose.service: app
+status:
+ loadBalancer: {}
diff --git a/k8s/bitcoin-claim0-persistentvolumeclaim.yaml b/k8s/bitcoin-claim0-persistentvolumeclaim.yaml
new file mode 100644
index 00000000..8ea5e7d0
--- /dev/null
+++ b/k8s/bitcoin-claim0-persistentvolumeclaim.yaml
@@ -0,0 +1,14 @@
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ labels:
+ io.kompose.service: bitcoin-claim0
+ name: bitcoin-claim0
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
diff --git a/k8s/bitcoin-deployment.yaml b/k8s/bitcoin-deployment.yaml
new file mode 100644
index 00000000..21ae250f
--- /dev/null
+++ b/k8s/bitcoin-deployment.yaml
@@ -0,0 +1,42 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: bitcoin
+ name: bitcoin
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: bitcoin
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: bitcoin
+ spec:
+ containers:
+ - image: asoltys/bitcoin:latest
+ name: bitcoin
+ ports:
+ - containerPort: 18442
+ - containerPort: 18443
+ resources: {}
+ volumeMounts:
+ - mountPath: /config
+ name: bitcoin-claim0
+ restartPolicy: Always
+ volumes:
+ - name: bitcoin-claim0
+ persistentVolumeClaim:
+ claimName: bitcoin-claim0
+status: {}
diff --git a/k8s/bitcoin-service.yaml b/k8s/bitcoin-service.yaml
new file mode 100644
index 00000000..eac299be
--- /dev/null
+++ b/k8s/bitcoin-service.yaml
@@ -0,0 +1,22 @@
+apiVersion: v1
+kind: Service
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: bitcoin
+ name: bitcoin
+spec:
+ ports:
+ - name: "18442"
+ port: 18442
+ targetPort: 18442
+ - name: "18443"
+ port: 18443
+ targetPort: 18443
+ selector:
+ io.kompose.service: bitcoin
+status:
+ loadBalancer: {}
diff --git a/k8s/electrs-liquid-claim0-persistentvolumeclaim.yaml b/k8s/electrs-liquid-claim0-persistentvolumeclaim.yaml
new file mode 100644
index 00000000..43109416
--- /dev/null
+++ b/k8s/electrs-liquid-claim0-persistentvolumeclaim.yaml
@@ -0,0 +1,14 @@
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ labels:
+ io.kompose.service: electrs-liquid-claim0
+ name: electrs-liquid-claim0
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
diff --git a/k8s/electrs-liquid-deployment.yaml b/k8s/electrs-liquid-deployment.yaml
new file mode 100644
index 00000000..186f468d
--- /dev/null
+++ b/k8s/electrs-liquid-deployment.yaml
@@ -0,0 +1,62 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: electrs-liquid
+ name: electrs-liquid
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: electrs-liquid
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: electrs-liquid
+ spec:
+ containers:
+ - args:
+ - -vvvv
+ - --parent-network
+ - regtest
+ - --network
+ - liquidregtest
+ - --daemon-dir
+ - /config
+ - --daemon-rpc-addr
+ - liquid:7040
+ - --cookie
+ - admin1:123
+ - --http-addr
+ - 0.0.0.0:3002
+ - --electrum-rpc-addr
+ - 0.0.0.0:60401
+ - --cors
+ - '*'
+ command:
+ - /build/electrs
+ image: vulpemventures/electrs-liquid:latest
+ name: electrs-liquid
+ ports:
+ - containerPort: 60401
+ - containerPort: 3002
+ resources: {}
+ volumeMounts:
+ - mountPath: /config
+ name: electrs-liquid-claim0
+ restartPolicy: Always
+ volumes:
+ - name: electrs-liquid-claim0
+ persistentVolumeClaim:
+ claimName: electrs-liquid-claim0
+status: {}
diff --git a/k8s/electrs-liquid-service.yaml b/k8s/electrs-liquid-service.yaml
new file mode 100644
index 00000000..89289c9b
--- /dev/null
+++ b/k8s/electrs-liquid-service.yaml
@@ -0,0 +1,22 @@
+apiVersion: v1
+kind: Service
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: electrs-liquid
+ name: electrs-liquid
+spec:
+ ports:
+ - name: "60401"
+ port: 60401
+ targetPort: 60401
+ - name: "3002"
+ port: 3002
+ targetPort: 3002
+ selector:
+ io.kompose.service: electrs-liquid
+status:
+ loadBalancer: {}
diff --git a/k8s/esplora-liquid-deployment.yaml b/k8s/esplora-liquid-deployment.yaml
new file mode 100644
index 00000000..3d9c4204
--- /dev/null
+++ b/k8s/esplora-liquid-deployment.yaml
@@ -0,0 +1,39 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: esplora-liquid
+ name: esplora-liquid
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: esplora-liquid
+ strategy: {}
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: esplora-liquid
+ spec:
+ containers:
+ - env:
+ - name: API_URL
+ - name: IS_ELEMENTS
+ value: "1"
+ - name: NATIVE_ASSET_ID
+ value: 5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225
+ image: vulpemventures/esplora:latest
+ name: esplora-liquid
+ ports:
+ - containerPort: 5000
+ resources: {}
+ restartPolicy: Always
+status: {}
diff --git a/k8s/esplora-liquid-service.yaml b/k8s/esplora-liquid-service.yaml
new file mode 100644
index 00000000..530f2d96
--- /dev/null
+++ b/k8s/esplora-liquid-service.yaml
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Service
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: esplora-liquid
+ name: esplora-liquid
+spec:
+ ports:
+ - name: "5000"
+ port: 5000
+ targetPort: 5000
+ selector:
+ io.kompose.service: esplora-liquid
+status:
+ loadBalancer: {}
diff --git a/k8s/la-claim0-persistentvolumeclaim.yaml b/k8s/la-claim0-persistentvolumeclaim.yaml
new file mode 100644
index 00000000..d8c062a8
--- /dev/null
+++ b/k8s/la-claim0-persistentvolumeclaim.yaml
@@ -0,0 +1,14 @@
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ labels:
+ io.kompose.service: la-claim0
+ name: la-claim0
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
diff --git a/k8s/la-deployment.yaml b/k8s/la-deployment.yaml
new file mode 100644
index 00000000..2446eb36
--- /dev/null
+++ b/k8s/la-deployment.yaml
@@ -0,0 +1,42 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: la
+ name: la
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: la
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: la
+ spec:
+ containers:
+ - env:
+ - name: LIGHTNINGD_NETWORK
+ value: regtest
+ image: elementsproject/lightningd:latest
+ name: la
+ resources: {}
+ volumeMounts:
+ - mountPath: /root/.lightning
+ name: la-claim0
+ restartPolicy: Always
+ volumes:
+ - name: la-claim0
+ persistentVolumeClaim:
+ claimName: la-claim0
+status: {}
diff --git a/k8s/lb-claim0-persistentvolumeclaim.yaml b/k8s/lb-claim0-persistentvolumeclaim.yaml
new file mode 100644
index 00000000..2e77148f
--- /dev/null
+++ b/k8s/lb-claim0-persistentvolumeclaim.yaml
@@ -0,0 +1,14 @@
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ labels:
+ io.kompose.service: lb-claim0
+ name: lb-claim0
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
diff --git a/k8s/lb-deployment.yaml b/k8s/lb-deployment.yaml
new file mode 100644
index 00000000..40f2462d
--- /dev/null
+++ b/k8s/lb-deployment.yaml
@@ -0,0 +1,42 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: lb
+ name: lb
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: lb
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: lb
+ spec:
+ containers:
+ - env:
+ - name: LIGHTNINGD_NETWORK
+ value: regtest
+ image: elementsproject/lightningd:latest
+ name: lb
+ resources: {}
+ volumeMounts:
+ - mountPath: /root/.lightning
+ name: lb-claim0
+ restartPolicy: Always
+ volumes:
+ - name: lb-claim0
+ persistentVolumeClaim:
+ claimName: lb-claim0
+status: {}
diff --git a/k8s/liquid-claim0-persistentvolumeclaim.yaml b/k8s/liquid-claim0-persistentvolumeclaim.yaml
new file mode 100644
index 00000000..2d9030df
--- /dev/null
+++ b/k8s/liquid-claim0-persistentvolumeclaim.yaml
@@ -0,0 +1,14 @@
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ labels:
+ io.kompose.service: liquid-claim0
+ name: liquid-claim0
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
diff --git a/k8s/liquid-deployment.yaml b/k8s/liquid-deployment.yaml
new file mode 100644
index 00000000..560e14e1
--- /dev/null
+++ b/k8s/liquid-deployment.yaml
@@ -0,0 +1,44 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: liquid
+ name: liquid
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: liquid
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: liquid
+ spec:
+ containers:
+ - image: asoltys/liquid:latest
+ name: liquid
+ ports:
+ - containerPort: 7040
+ - containerPort: 18444
+ - containerPort: 18602
+ - containerPort: 18603
+ resources: {}
+ volumeMounts:
+ - mountPath: /config
+ name: liquid-claim0
+ restartPolicy: Always
+ volumes:
+ - name: liquid-claim0
+ persistentVolumeClaim:
+ claimName: liquid-claim0
+status: {}
diff --git a/k8s/liquid-service.yaml b/k8s/liquid-service.yaml
new file mode 100644
index 00000000..7ed4a542
--- /dev/null
+++ b/k8s/liquid-service.yaml
@@ -0,0 +1,28 @@
+apiVersion: v1
+kind: Service
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: liquid
+ name: liquid
+spec:
+ ports:
+ - name: "7040"
+ port: 7040
+ targetPort: 7040
+ - name: "18444"
+ port: 18444
+ targetPort: 18444
+ - name: "18602"
+ port: 18602
+ targetPort: 18602
+ - name: "18603"
+ port: 18603
+ targetPort: 18603
+ selector:
+ io.kompose.service: liquid
+status:
+ loadBalancer: {}
diff --git a/k8s/maria-claim0-persistentvolumeclaim.yaml b/k8s/maria-claim0-persistentvolumeclaim.yaml
new file mode 100644
index 00000000..55503cdb
--- /dev/null
+++ b/k8s/maria-claim0-persistentvolumeclaim.yaml
@@ -0,0 +1,14 @@
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ creationTimestamp: null
+ labels:
+ io.kompose.service: maria-claim0
+ name: maria-claim0
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Mi
+status: {}
diff --git a/k8s/maria-deployment.yaml b/k8s/maria-deployment.yaml
new file mode 100644
index 00000000..2d2de2a1
--- /dev/null
+++ b/k8s/maria-deployment.yaml
@@ -0,0 +1,43 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: maria
+ name: maria
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: maria
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: maria
+ spec:
+ containers:
+ - env:
+ - name: MARIADB_ROOT_PASSWORD
+ image: mariadb:10.6.1
+ name: mariadb
+ ports:
+ - containerPort: 3306
+ resources: {}
+ volumeMounts:
+ - mountPath: /var/lib/mysql
+ name: maria-claim0
+ restartPolicy: Always
+ volumes:
+ - name: maria-claim0
+ persistentVolumeClaim:
+ claimName: maria-claim0
+status: {}
diff --git a/k8s/maria-service.yaml b/k8s/maria-service.yaml
new file mode 100644
index 00000000..f4b7841b
--- /dev/null
+++ b/k8s/maria-service.yaml
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Service
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: maria
+ name: maria
+spec:
+ ports:
+ - name: "3307"
+ port: 3307
+ targetPort: 3306
+ selector:
+ io.kompose.service: maria
+status:
+ loadBalancer: {}
diff --git a/k8s/ui-deployment.yaml b/k8s/ui-deployment.yaml
new file mode 100644
index 00000000..363808ce
--- /dev/null
+++ b/k8s/ui-deployment.yaml
@@ -0,0 +1,36 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: ui
+ name: ui
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: ui
+ strategy: {}
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: ui
+ spec:
+ containers:
+ - env:
+ - name: NODE_ENV
+ value: production
+ image: asoltys/coinos-ui
+ name: ui
+ ports:
+ - containerPort: 8085
+ resources: {}
+ restartPolicy: Always
+status: {}
diff --git a/k8s/ui-service.yaml b/k8s/ui-service.yaml
new file mode 100644
index 00000000..52029050
--- /dev/null
+++ b/k8s/ui-service.yaml
@@ -0,0 +1,19 @@
+apiVersion: v1
+kind: Service
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: ui
+ name: ui
+spec:
+ ports:
+ - name: "8085"
+ port: 8085
+ targetPort: 8085
+ selector:
+ io.kompose.service: ui
+status:
+ loadBalancer: {}