mirror of
https://github.com/truenas/charts.git
synced 2026-04-09 21:59:10 +08:00
Upgraded catalog item(s)
This commit upgrades machinaris, minio catalog item(s).
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
Machinaris
|
||||
=====
|
||||
|
||||
[MACHINARIS](https://github.com/guydavis/machinaris) is an easy-to-use WebUI for Chia plotting and farming. Includes Chia, Plotman, MadMax, Chiadog, and Flax in a single Docker image.
|
||||
|
||||
Introduction
|
||||
------------
|
||||
|
||||
This chart bootstraps MACHINARIS deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
@@ -1,4 +0,0 @@
|
||||
Machinaris
|
||||
=====
|
||||
|
||||
[MACHINARIS](https://github.com/guydavis/machinaris) is an easy-to-use WebUI for Chia plotting and farming. Includes Chia, Plotman, MadMax, Chiadog, and Flax in a single Docker image.
|
||||
Binary file not shown.
@@ -1,5 +0,0 @@
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: ghcr.io/guydavis/machinaris
|
||||
tag: v0.6.1
|
||||
updateStrategy: Recreate
|
||||
@@ -1,190 +0,0 @@
|
||||
groups:
|
||||
- name: "Networking"
|
||||
description: "Configure Networking for Machinaris"
|
||||
- name: "Machinaris Configuration"
|
||||
description: "Machinaris configuration"
|
||||
- name: "Storage"
|
||||
description: "Configure Storage for Machinaris"
|
||||
- name: "Machinaris Environment Variables"
|
||||
description: "Set the environment that will be visible to the container"
|
||||
- name: "Resource Limits"
|
||||
description: "Set CPU/memory limits for Kubernetes Pod"
|
||||
|
||||
portals:
|
||||
web_portal:
|
||||
protocols:
|
||||
- "http"
|
||||
host:
|
||||
- "$node_ip"
|
||||
ports:
|
||||
- "$variable-machinaris_ui_port"
|
||||
|
||||
questions:
|
||||
- variable: timezone
|
||||
label: "Configure timezone"
|
||||
group: "Machinaris Configuration"
|
||||
description: "Configure timezone for machinaris"
|
||||
schema:
|
||||
type: string
|
||||
$ref:
|
||||
- "definitions/timezone"
|
||||
|
||||
- variable: nodeIP
|
||||
description: "LAN IP address of your TrueNAS server"
|
||||
group: "Machinaris Configuration"
|
||||
label: "Worker Address"
|
||||
schema:
|
||||
type: string
|
||||
$ref:
|
||||
- "definitions/nodeIP"
|
||||
|
||||
- variable: machinaris_ui_port
|
||||
label: "Machinaris Web UI"
|
||||
group: "Networking"
|
||||
description: "Web UI Port for Machinaris"
|
||||
schema:
|
||||
type: int
|
||||
min: 9000
|
||||
max: 65535
|
||||
default: 9003
|
||||
- variable: appVolumeMounts
|
||||
label: "Machinaris Storage"
|
||||
group: "Storage"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: config
|
||||
label: "Configuration Volume"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: datasetName
|
||||
label: "Configuration Volume Dataset Name"
|
||||
schema:
|
||||
type: string
|
||||
hidden: true
|
||||
$ref:
|
||||
- "normalize/ixVolume"
|
||||
show_if: [["hostPathEnabled", "=", false]]
|
||||
default: "config"
|
||||
editable: false
|
||||
- variable: mountPath
|
||||
label: "Configuration Mount Path"
|
||||
description: "Path where the volume will be mounted inside the pod"
|
||||
schema:
|
||||
type: path
|
||||
hidden: true
|
||||
editable: true
|
||||
default: "/root/.chia"
|
||||
- variable: hostPathEnabled
|
||||
label: "Enable Custom Host Path for Machinaris Configuration Volume"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
show_subquestions_if: true
|
||||
subquestions:
|
||||
- variable: hostPath
|
||||
label: "Host Path for Machinaris Configuration Volume"
|
||||
schema:
|
||||
type: hostpath
|
||||
required: true
|
||||
- variable: plots
|
||||
label: "Plot Volume"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: datasetName
|
||||
label: "Plots Volume Name"
|
||||
schema:
|
||||
type: string
|
||||
hidden: true
|
||||
$ref:
|
||||
- "normalize/ixVolume"
|
||||
show_if: [["hostPathEnabled", "=", false]]
|
||||
default: "plots"
|
||||
editable: false
|
||||
- variable: mountPath
|
||||
label: "Plots Mount Path"
|
||||
description: "Path where the volume will be mounted inside the pod"
|
||||
schema:
|
||||
type: path
|
||||
hidden: true
|
||||
editable: false
|
||||
default: "/plots"
|
||||
- variable: hostPathEnabled
|
||||
label: "Enable Custom Host Path for Machinaris Plots Volume"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
show_subquestions_if: true
|
||||
subquestions:
|
||||
- variable: hostPath
|
||||
label: "Host Path for Machinaris Plots Volume"
|
||||
schema:
|
||||
type: hostpath
|
||||
required: true
|
||||
|
||||
- variable: extraAppVolumeMounts
|
||||
label: "Machinaris Extra Host Path Volumes"
|
||||
group: "Storage"
|
||||
schema:
|
||||
type: list
|
||||
items:
|
||||
- variable: extraAppVolume
|
||||
label: "Machinaris Host Path Volume"
|
||||
description: "Add an extra host path volume for machinaris application"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: mountPath
|
||||
label: "Mount Path in Pod"
|
||||
description: "Path where the volume will be mounted inside the pod"
|
||||
schema:
|
||||
type: path
|
||||
required: true
|
||||
- variable: hostPath
|
||||
label: "Host Path"
|
||||
description: "Host path"
|
||||
schema:
|
||||
type: hostpath
|
||||
required: true
|
||||
|
||||
- variable: environmentVariables
|
||||
label: "Environment Variables for Machinaris"
|
||||
group: "Machinaris Environment Variables"
|
||||
schema:
|
||||
type: list
|
||||
default: []
|
||||
items:
|
||||
- variable: environmentVariable
|
||||
label: "Environment Variable"
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: name
|
||||
label: "Name"
|
||||
schema:
|
||||
type: string
|
||||
- variable: value
|
||||
label: "Value"
|
||||
schema:
|
||||
type: string
|
||||
- variable: enableResourceLimits
|
||||
label: "Enable Pod resource limits"
|
||||
group: "Resource Limits"
|
||||
schema:
|
||||
type: boolean
|
||||
- variable: cpuLimit
|
||||
label: "CPU limit"
|
||||
group: "Resource Limits"
|
||||
schema:
|
||||
type: string
|
||||
show_if: [["enableResourceLimits", "=", true]]
|
||||
valid_chars: "^\\d+(?:\\.\\d+(?!.*m$)|m?$)"
|
||||
- variable: memLimit
|
||||
label: "Memory limit"
|
||||
group: "Resource Limits"
|
||||
schema:
|
||||
type: string
|
||||
show_if: [["enableResourceLimits", "=", true]]
|
||||
valid_chars: "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$"
|
||||
@@ -1,15 +0,0 @@
|
||||
appVolumeMounts:
|
||||
config:
|
||||
emptyDir: true
|
||||
mountPath: /data
|
||||
plots:
|
||||
emptyDir: true
|
||||
mountPath: /plots
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: ghcr.io/guydavis/machinaris
|
||||
tag: v0.6.1
|
||||
machinaris_ui_port: 31003
|
||||
timezone: America/Edmonton
|
||||
updateStrategy: Recreate
|
||||
nodeIP: 127.0.0.1
|
||||
@@ -1,5 +1,5 @@
|
||||
apiVersion: v1
|
||||
appVersion: v0.6.7
|
||||
appVersion: v0.6.8
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../library/common/2112.0.0
|
||||
@@ -14,4 +14,4 @@ keywords:
|
||||
name: machinaris
|
||||
sources:
|
||||
- https://github.com/guydavis/machinaris
|
||||
version: 1.1.0
|
||||
version: 1.1.1
|
||||
181
charts/machinaris/1.1.1/ix_values.yaml
Normal file
181
charts/machinaris/1.1.1/ix_values.yaml
Normal file
@@ -0,0 +1,181 @@
|
||||
apiPort: 8927
|
||||
btcgreen:
|
||||
apiPort: 8938
|
||||
farmerPort: 18655
|
||||
ports:
|
||||
- containerPort: 8938
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 9282
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 18655
|
||||
name: farming
|
||||
protocol: TCP
|
||||
cactus:
|
||||
apiPort: 8936
|
||||
farmerPort: 11447
|
||||
ports:
|
||||
- containerPort: 8936
|
||||
hostPort: 8936
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 11444
|
||||
hostPort: 11444
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 11447
|
||||
hostPort: 11447
|
||||
name: farming
|
||||
protocol: TCP
|
||||
chives:
|
||||
apiPort: 8931
|
||||
farmerPort: 9647
|
||||
ports:
|
||||
- containerPort: 8931
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 9699
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 9647
|
||||
name: farming
|
||||
protocol: TCP
|
||||
coins:
|
||||
- cactus
|
||||
- chives
|
||||
- cryptodoge
|
||||
- flax
|
||||
- flora
|
||||
- hddcoin
|
||||
- maize
|
||||
- nchain
|
||||
- staicoin
|
||||
- stor
|
||||
- btcgreen
|
||||
cryptodoge:
|
||||
apiPort: 8937
|
||||
farmerPort: 16895
|
||||
ports:
|
||||
- containerPort: 8937
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 15994
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 16895
|
||||
name: farming
|
||||
protocol: TCP
|
||||
farmerPort: 8447
|
||||
flax:
|
||||
apiPort: 8928
|
||||
farmerPort: 6885
|
||||
ports:
|
||||
- containerPort: 8928
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 6888
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 6885
|
||||
name: farming
|
||||
protocol: TCP
|
||||
flora:
|
||||
apiPort: 8932
|
||||
farmerPort: 18647
|
||||
ports:
|
||||
- containerPort: 8932
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 18644
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 18647
|
||||
name: farming
|
||||
protocol: TCP
|
||||
hddcoin:
|
||||
apiPort: 8930
|
||||
farmerPort: 28447
|
||||
ports:
|
||||
- containerPort: 8930
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 28444
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 28447
|
||||
name: farming
|
||||
protocol: TCP
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: ghcr.io/guydavis/machinaris
|
||||
tag: v0.6.8
|
||||
maize:
|
||||
apiPort: 8933
|
||||
farmerPort: 8647
|
||||
ports:
|
||||
- containerPort: 8933
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 8644
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 8647
|
||||
name: farming
|
||||
protocol: TCP
|
||||
nchain:
|
||||
apiPort: 8929
|
||||
farmerPort: 38447
|
||||
ports:
|
||||
- containerPort: 8929
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 58445
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 38447
|
||||
name: farming
|
||||
protocol: TCP
|
||||
ports:
|
||||
- containerPort: 8444
|
||||
hostPort: 8444
|
||||
name: chia-network
|
||||
protocol: TCP
|
||||
- containerPort: 8926
|
||||
name: machinaris-ui
|
||||
protocol: TCP
|
||||
- containerPort: 8927
|
||||
hostPort: 8927
|
||||
name: machinaris-api
|
||||
protocol: TCP
|
||||
- containerPort: 8447
|
||||
hostPort: 8447
|
||||
name: farming
|
||||
protocol: TCP
|
||||
staicoin:
|
||||
apiPort: 8934
|
||||
farmerPort: 1692
|
||||
ports:
|
||||
- containerPort: 8934
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 1999
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 1692
|
||||
name: farming
|
||||
protocol: TCP
|
||||
stor:
|
||||
apiPort: 8935
|
||||
farmerPort: 8337
|
||||
ports:
|
||||
- containerPort: 8935
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 8668
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 8337
|
||||
name: farming
|
||||
protocol: TCP
|
||||
updateStrategy: Recreate
|
||||
@@ -1,33 +1,4 @@
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: ghcr.io/guydavis/machinaris
|
||||
tag: v0.6.7
|
||||
|
||||
machinaris_ui_port: 31003
|
||||
machinarisApiPort: 8927
|
||||
|
||||
apiPort: 8927
|
||||
farmerPort: 8447
|
||||
ports:
|
||||
- name: chia-network
|
||||
protocol: TCP
|
||||
containerPort: 8444
|
||||
hostPort: 8444
|
||||
- name: machinaris-ui
|
||||
protocol: TCP
|
||||
containerPort: 8926
|
||||
- name: machinaris-api
|
||||
protocol: TCP
|
||||
containerPort: 8927
|
||||
hostPort: 8927
|
||||
- protocol: TCP
|
||||
containerPort: 8447
|
||||
hostPort: 8447
|
||||
|
||||
timezone: America/Edmonton
|
||||
updateStrategy: Recreate
|
||||
nodeIP: 127.0.0.1
|
||||
|
||||
appVolumeMounts:
|
||||
config:
|
||||
emptyDir: true
|
||||
@@ -38,31 +9,25 @@ appVolumeMounts:
|
||||
plotting:
|
||||
emptyDir: true
|
||||
mountPath: /plotting
|
||||
|
||||
environmentVariables:
|
||||
- name: mode
|
||||
value: fullnode
|
||||
|
||||
coins:
|
||||
- cactus
|
||||
|
||||
cactusEnabled: true
|
||||
cactus:
|
||||
apiPort: 8936
|
||||
environmentVariables:
|
||||
- name: mode
|
||||
value: plotter
|
||||
farmerPort: 11447
|
||||
ports:
|
||||
- name: api
|
||||
protocol: TCP
|
||||
containerPort: 8936
|
||||
hostPort: 8936
|
||||
- name: blockchain
|
||||
protocol: TCP
|
||||
containerPort: 11444
|
||||
hostPort: 11444
|
||||
- name: farming
|
||||
protocol: TCP
|
||||
containerPort: 11447
|
||||
hostPort: 11447
|
||||
- containerPort: 8936
|
||||
hostPort: 8936
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 11444
|
||||
hostPort: 11444
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 11447
|
||||
hostPort: 11447
|
||||
name: farming
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
cactus-config:
|
||||
emptyDir: true
|
||||
@@ -72,10 +37,37 @@ cactus:
|
||||
mountPath: /root/.chia/mnemonic.txt
|
||||
readOnly: true
|
||||
subPath: mnemonic.txt
|
||||
environmentVariables:
|
||||
- name: mode
|
||||
value: plotter
|
||||
|
||||
enableResourceLimits: true
|
||||
cactusEnabled: true
|
||||
coins:
|
||||
- cactus
|
||||
cpuLimit: 0.5
|
||||
enableResourceLimits: true
|
||||
environmentVariables:
|
||||
- name: mode
|
||||
value: fullnode
|
||||
farmerPort: 8447
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: ghcr.io/guydavis/machinaris
|
||||
tag: v0.6.8
|
||||
machinarisApiPort: 8927
|
||||
machinaris_ui_port: 31003
|
||||
memLimit: 1G
|
||||
nodeIP: 127.0.0.1
|
||||
ports:
|
||||
- containerPort: 8444
|
||||
hostPort: 8444
|
||||
name: chia-network
|
||||
protocol: TCP
|
||||
- containerPort: 8926
|
||||
name: machinaris-ui
|
||||
protocol: TCP
|
||||
- containerPort: 8927
|
||||
hostPort: 8927
|
||||
name: machinaris-api
|
||||
protocol: TCP
|
||||
- containerPort: 8447
|
||||
hostPort: 8447
|
||||
protocol: TCP
|
||||
timezone: America/Edmonton
|
||||
updateStrategy: Recreate
|
||||
@@ -1,5 +1,5 @@
|
||||
apiVersion: v1
|
||||
appVersion: '2021-12-29'
|
||||
appVersion: '2022-01-03'
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../library/common/2112.0.0
|
||||
@@ -16,4 +16,4 @@ sources:
|
||||
- https://github.com/minio/minio
|
||||
- https://github.com/minio/charts
|
||||
upstream_version: 8.0.5
|
||||
version: 1.4.13
|
||||
version: 1.4.14
|
||||
@@ -1,4 +1,4 @@
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: minio/minio
|
||||
tag: RELEASE.2021-12-29T06-49-06Z
|
||||
tag: RELEASE.2022-01-03T18-22-58Z
|
||||
@@ -13,7 +13,7 @@ extraArgs: []
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: minio/minio
|
||||
tag: RELEASE.2021-12-29T06-49-06Z
|
||||
tag: RELEASE.2022-01-03T18-22-58Z
|
||||
minioDomain: null
|
||||
service:
|
||||
consolePort: 32325
|
||||
@@ -1,194 +0,0 @@
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: ghcr.io/guydavis/machinaris
|
||||
tag: v0.6.7
|
||||
updateStrategy: Recreate
|
||||
|
||||
apiPort: 8927
|
||||
farmerPort: 8447
|
||||
ports:
|
||||
- name: chia-network
|
||||
protocol: TCP
|
||||
containerPort: 8444
|
||||
hostPort: 8444
|
||||
- name: machinaris-ui
|
||||
protocol: TCP
|
||||
containerPort: 8926
|
||||
- name: machinaris-api
|
||||
protocol: TCP
|
||||
containerPort: 8927
|
||||
hostPort: 8927
|
||||
- name: farming
|
||||
protocol: TCP
|
||||
containerPort: 8447
|
||||
hostPort: 8447
|
||||
|
||||
coins:
|
||||
- cactus
|
||||
- chives
|
||||
- cryptodoge
|
||||
- flax
|
||||
- flora
|
||||
- hddcoin
|
||||
- maize
|
||||
- nchain
|
||||
- staicoin
|
||||
- stor
|
||||
- btcgreen
|
||||
|
||||
cactus:
|
||||
apiPort: 8936
|
||||
farmerPort: 11447
|
||||
ports:
|
||||
- name: api
|
||||
protocol: TCP
|
||||
containerPort: 8936
|
||||
hostPort: 8936
|
||||
- name: blockchain
|
||||
protocol: TCP
|
||||
containerPort: 11444
|
||||
hostPort: 11444
|
||||
- name: farming
|
||||
protocol: TCP
|
||||
containerPort: 11447
|
||||
hostPort: 11447
|
||||
|
||||
chives:
|
||||
apiPort: 8931
|
||||
farmerPort: 9647
|
||||
ports:
|
||||
- name: api
|
||||
protocol: TCP
|
||||
containerPort: 8931
|
||||
- name: blockchain
|
||||
protocol: TCP
|
||||
containerPort: 9699
|
||||
- name: farming
|
||||
protocol: TCP
|
||||
containerPort: 9647
|
||||
|
||||
cryptodoge:
|
||||
apiPort: 8937
|
||||
farmerPort: 16895
|
||||
ports:
|
||||
- name: api
|
||||
protocol: TCP
|
||||
containerPort: 8937
|
||||
- name: blockchain
|
||||
protocol: TCP
|
||||
containerPort: 15994
|
||||
- name: farming
|
||||
protocol: TCP
|
||||
containerPort: 16895
|
||||
|
||||
flax:
|
||||
apiPort: 8928
|
||||
farmerPort: 6885
|
||||
ports:
|
||||
- name: api
|
||||
protocol: TCP
|
||||
containerPort: 8928
|
||||
- name: blockchain
|
||||
protocol: TCP
|
||||
containerPort: 6888
|
||||
- name: farming
|
||||
protocol: TCP
|
||||
containerPort: 6885
|
||||
|
||||
flora:
|
||||
apiPort: 8932
|
||||
farmerPort: 18647
|
||||
ports:
|
||||
- name: api
|
||||
protocol: TCP
|
||||
containerPort: 8932
|
||||
- name: blockchain
|
||||
protocol: TCP
|
||||
containerPort: 18644
|
||||
- name: farming
|
||||
protocol: TCP
|
||||
containerPort: 18647
|
||||
|
||||
hddcoin:
|
||||
apiPort: 8930
|
||||
farmerPort: 28447
|
||||
ports:
|
||||
- name: api
|
||||
protocol: TCP
|
||||
containerPort: 8930
|
||||
- name: blockchain
|
||||
protocol: TCP
|
||||
containerPort: 28444
|
||||
- name: farming
|
||||
protocol: TCP
|
||||
containerPort: 28447
|
||||
|
||||
maize:
|
||||
apiPort: 8933
|
||||
farmerPort: 8647
|
||||
ports:
|
||||
- name: api
|
||||
protocol: TCP
|
||||
containerPort: 8933
|
||||
- name: blockchain
|
||||
protocol: TCP
|
||||
containerPort: 8644
|
||||
- name: farming
|
||||
protocol: TCP
|
||||
containerPort: 8647
|
||||
|
||||
nchain:
|
||||
apiPort: 8929
|
||||
farmerPort: 38447
|
||||
ports:
|
||||
- name: api
|
||||
protocol: TCP
|
||||
containerPort: 8929
|
||||
- name: blockchain
|
||||
protocol: TCP
|
||||
containerPort: 58445
|
||||
- name: farming
|
||||
protocol: TCP
|
||||
containerPort: 38447
|
||||
|
||||
staicoin:
|
||||
apiPort: 8934
|
||||
farmerPort: 1692
|
||||
ports:
|
||||
- name: api
|
||||
protocol: TCP
|
||||
containerPort: 8934
|
||||
- name: blockchain
|
||||
protocol: TCP
|
||||
containerPort: 1999
|
||||
- name: farming
|
||||
protocol: TCP
|
||||
containerPort: 1692
|
||||
|
||||
stor:
|
||||
apiPort: 8935
|
||||
farmerPort: 8337
|
||||
ports:
|
||||
- name: api
|
||||
protocol: TCP
|
||||
containerPort: 8935
|
||||
- name: blockchain
|
||||
protocol: TCP
|
||||
containerPort: 8668
|
||||
- name: farming
|
||||
protocol: TCP
|
||||
containerPort: 8337
|
||||
|
||||
btcgreen:
|
||||
apiPort: 8938
|
||||
farmerPort: 18655
|
||||
ports:
|
||||
- name: api
|
||||
protocol: TCP
|
||||
containerPort: 8938
|
||||
- name: blockchain
|
||||
protocol: TCP
|
||||
containerPort: 9282
|
||||
- name: farming
|
||||
protocol: TCP
|
||||
containerPort: 18655
|
||||
@@ -20,4 +20,4 @@
|
||||
.idea/
|
||||
*.tmproj
|
||||
# OWNERS file for Kubernetes
|
||||
OWNERS
|
||||
OWNERS
|
||||
@@ -1,5 +1,5 @@
|
||||
apiVersion: v1
|
||||
appVersion: v0.6.1
|
||||
appVersion: v0.6.8
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../library/common/2112.0.0
|
||||
@@ -14,4 +14,4 @@ keywords:
|
||||
name: machinaris
|
||||
sources:
|
||||
- https://github.com/guydavis/machinaris
|
||||
version: 1.0.11
|
||||
version: 1.1.1
|
||||
71
test/machinaris/1.1.1/README.md
Executable file
71
test/machinaris/1.1.1/README.md
Executable file
@@ -0,0 +1,71 @@
|
||||
Machinaris
|
||||
=====
|
||||
|
||||
[MACHINARIS](https://github.com/guydavis/machinaris) is an easy-to-use WebUI for Chia plotting and farming. This includes Chia, Plotman, MadMax, Chiadog under main node along with various coin-forks which can be enabled conditionally.
|
||||
|
||||
Coins include Cactus, Chives, CrypoDoge, Flax, Flora, HDDCoin, Maize, NChain, StaiCoin, Stor and BTCGreen.
|
||||
|
||||
Introduction
|
||||
------------
|
||||
|
||||
This chart bootstraps MACHINARIS deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
# Machinaris Defaults
|
||||
This section contains information about the defaults of Machinaris application for visibility.
|
||||
|
||||
## 1. Environment Variables
|
||||
Following are the default environment variables for Machinaris main node and the coin forks.
|
||||
|
||||
### Machinaris Node
|
||||
Machinaris main node comes with following default environment variables:
|
||||
|
||||
| Variable | Default Value | Description |
|
||||
| ---------------- | ----------------------------------------------------- | --------------------- |
|
||||
| TZ | Same as to User selected Timezone | Timezone information |
|
||||
| worker_address | Same as to LAN IP address | Worker Address |
|
||||
| blockchains | chia | Block Chain |
|
||||
| plots_dir | Same as to User selected plots volume | Plots Directory |
|
||||
| mode | fullnode | Machinaris Mode |
|
||||
|
||||
These values can be overridden while configuring Machinaris application.
|
||||
|
||||
### Coin Forks
|
||||
Coin forks also come with a set of default environment variables:
|
||||
|
||||
| Variable | Default Value | Description |
|
||||
| ---------------- | ----------------------------------------------------- | --------------------- |
|
||||
| TZ | Same as to User selected Timezone | Timezone information |
|
||||
| worker_address | Same as to LAN IP address | Worker Address |
|
||||
| blockchains | chia | BlockChain |
|
||||
| plots_dir | Same as to User selected plots volume | Plots Directory |
|
||||
| mode | fullnode | Machinaris Mode |
|
||||
| controller_host| Same as to LAN IP address | Controller Host |
|
||||
| worker_api_port| Coin's Workload REST API Port | Worker API Port |
|
||||
|
||||
These defaults can be overridden for each coin fork when you enable them through Machinaris application configuration.
|
||||
|
||||
## 2. Volumes
|
||||
|
||||
Before getting to defaults, please take the following note:
|
||||
>
|
||||
>If Custom Host Path is not enabled for a Volume Configuration then, application will use ix-volumes and create datasets inside for Host Path by default.
|
||||
>
|
||||
>The path for ix-volumes has the following composition:
|
||||
>```
|
||||
>/mnt/<pool_name>/ix-applications/releases/<application_name>/volumes/ix-volumes/
|
||||
>```
|
||||
>And with the dataset inside, would be like:
|
||||
>```
|
||||
>/mnt/<pool_name>/ix-applications/releases/<application_name>/volumes/ix-volumes/><dataset_name>
|
||||
>```
|
||||
>
|
||||
Following are the Volume Configurations for Machinaris main node & the coin-forks by default:
|
||||
|
||||
| Volume | hostPath (default value) | mountPath in container | Description |
|
||||
| ---------------------- | ----------------------------------------------------- | ----------------------- | ----------------------------------------------- |
|
||||
| `config` | `<ix-volumes>/config` | `/root/.chia` | Chia config for main node |
|
||||
| `plots` | `<ix-volumes>/plots` | `/plots` | Plots volume for main node & coin forks |
|
||||
| `plotting` | `<ix-volumes>/plotting` | `/plotting` | Plotting temp volume for main node & coin forks |
|
||||
| `<coinName>-config` | `<ix-volumes>/<coinName>-config` | `/root/.chia` | Chia config for each of the coin-fork containers|
|
||||
|
||||
Where `<ix-volumes>` is `/mnt/<pool_name>/ix-applications/releases/<application_name>/volumes/ix_volumes/` and `<coinName>` is one of the following: `[ cactus, chives, crypodoge, flax, flora, hddcoin, maize, nchain, staicoin, stor, btcgreen ]`.
|
||||
66
test/machinaris/1.1.1/app-readme.md
Normal file
66
test/machinaris/1.1.1/app-readme.md
Normal file
@@ -0,0 +1,66 @@
|
||||
Machinaris
|
||||
=====
|
||||
|
||||
[MACHINARIS](https://github.com/guydavis/machinaris) is an easy-to-use WebUI for Chia plotting and farming. This includes Chia, Plotman, MadMax, Chiadog under main node along with various coin-forks which can be enabled conditionally.
|
||||
|
||||
Coins include Cactus, Chives, CrypoDoge, Flax, Flora, HDDCoin, Maize, NChain, StaiCoin, Stor and BTCGreen.
|
||||
|
||||
# Machinaris Defaults
|
||||
This section contains information about the defaults of Machinaris application for visibility.
|
||||
|
||||
## 1. Environment Variables
|
||||
Following are the default environment variables for Machinaris main node and the coin forks.
|
||||
|
||||
### Machinaris Node
|
||||
Machinaris main node comes with following default environment variables:
|
||||
|
||||
| Variable | Default Value | Description |
|
||||
| ---------------- | ----------------------------------------------------- | --------------------- |
|
||||
| TZ | Same as to User selected Timezone | Timezone information |
|
||||
| worker_address | Same as to LAN IP address | Worker Address |
|
||||
| blockchains | chia | Block Chain |
|
||||
| plots_dir | Same as to User selected plots volume | Plots Directory |
|
||||
| mode | fullnode | Machinaris Mode |
|
||||
|
||||
These values can be overridden while configuring Machinaris application.
|
||||
|
||||
### Coin Forks
|
||||
Coin forks also come with a set of default environment variables:
|
||||
|
||||
| Variable | Default Value | Description |
|
||||
| ---------------- | ----------------------------------------------------- | --------------------- |
|
||||
| TZ | Same as to User selected Timezone | Timezone information |
|
||||
| worker_address | Same as to LAN IP address | Worker Address |
|
||||
| blockchains | chia | BlockChain |
|
||||
| plots_dir | Same as to User selected plots volume | Plots Directory |
|
||||
| mode | fullnode | Machinaris Mode |
|
||||
| controller_host| Same as to LAN IP address | Controller Host |
|
||||
| worker_api_port| Coin's Workload REST API Port | Worker API Port |
|
||||
|
||||
These defaults can be overridden for each coin fork when you enable them through Machinaris application configuration.
|
||||
|
||||
## 2. Volumes
|
||||
|
||||
Before getting to defaults, please take the following note:
|
||||
>
|
||||
>If Custom Host Path is not enabled for a Volume Configuration then, application will use ix-volumes and create datasets inside for Host Path by default.
|
||||
>
|
||||
>The path for ix-volumes has the following composition:
|
||||
>```
|
||||
>/mnt/<pool_name>/ix-applications/releases/<application_name>/volumes/ix-volumes/
|
||||
>```
|
||||
>And with the dataset inside, would be like:
|
||||
>```
|
||||
>/mnt/<pool_name>/ix-applications/releases/<application_name>/volumes/ix-volumes/><dataset_name>
|
||||
>```
|
||||
>
|
||||
Following are the Volume Configurations for Machinaris main node & the coin-forks by default:
|
||||
|
||||
| Volume | hostPath (default value) | mountPath in container | Description |
|
||||
| ---------------------- | ----------------------------------------------------- | ----------------------- | ----------------------------------------------- |
|
||||
| `config` | `<ix-volumes>/config` | `/root/.chia` | Chia config for main node |
|
||||
| `plots` | `<ix-volumes>/plots` | `/plots` | Plots volume for main node & coin forks |
|
||||
| `plotting` | `<ix-volumes>/plotting` | `/plotting` | Plotting temp volume for main node & coin forks |
|
||||
| `<coinName>-config` | `<ix-volumes>/<coinName>-config` | `/root/.chia` | Chia config for each of the coin-fork containers|
|
||||
|
||||
Where `<ix-volumes>` is `/mnt/<pool_name>/ix-applications/releases/<application_name>/volumes/ix_volumes/` and `<coinName>` is one of the following: `[ cactus, chives, crypodoge, flax, flora, hddcoin, maize, nchain, staicoin, stor, btcgreen ]`.
|
||||
BIN
test/machinaris/1.1.1/charts/common-2112.0.0.tgz
Normal file
BIN
test/machinaris/1.1.1/charts/common-2112.0.0.tgz
Normal file
Binary file not shown.
181
test/machinaris/1.1.1/ix_values.yaml
Normal file
181
test/machinaris/1.1.1/ix_values.yaml
Normal file
@@ -0,0 +1,181 @@
|
||||
apiPort: 8927
|
||||
btcgreen:
|
||||
apiPort: 8938
|
||||
farmerPort: 18655
|
||||
ports:
|
||||
- containerPort: 8938
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 9282
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 18655
|
||||
name: farming
|
||||
protocol: TCP
|
||||
cactus:
|
||||
apiPort: 8936
|
||||
farmerPort: 11447
|
||||
ports:
|
||||
- containerPort: 8936
|
||||
hostPort: 8936
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 11444
|
||||
hostPort: 11444
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 11447
|
||||
hostPort: 11447
|
||||
name: farming
|
||||
protocol: TCP
|
||||
chives:
|
||||
apiPort: 8931
|
||||
farmerPort: 9647
|
||||
ports:
|
||||
- containerPort: 8931
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 9699
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 9647
|
||||
name: farming
|
||||
protocol: TCP
|
||||
coins:
|
||||
- cactus
|
||||
- chives
|
||||
- cryptodoge
|
||||
- flax
|
||||
- flora
|
||||
- hddcoin
|
||||
- maize
|
||||
- nchain
|
||||
- staicoin
|
||||
- stor
|
||||
- btcgreen
|
||||
cryptodoge:
|
||||
apiPort: 8937
|
||||
farmerPort: 16895
|
||||
ports:
|
||||
- containerPort: 8937
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 15994
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 16895
|
||||
name: farming
|
||||
protocol: TCP
|
||||
farmerPort: 8447
|
||||
flax:
|
||||
apiPort: 8928
|
||||
farmerPort: 6885
|
||||
ports:
|
||||
- containerPort: 8928
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 6888
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 6885
|
||||
name: farming
|
||||
protocol: TCP
|
||||
flora:
|
||||
apiPort: 8932
|
||||
farmerPort: 18647
|
||||
ports:
|
||||
- containerPort: 8932
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 18644
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 18647
|
||||
name: farming
|
||||
protocol: TCP
|
||||
hddcoin:
|
||||
apiPort: 8930
|
||||
farmerPort: 28447
|
||||
ports:
|
||||
- containerPort: 8930
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 28444
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 28447
|
||||
name: farming
|
||||
protocol: TCP
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: ghcr.io/guydavis/machinaris
|
||||
tag: v0.6.8
|
||||
maize:
|
||||
apiPort: 8933
|
||||
farmerPort: 8647
|
||||
ports:
|
||||
- containerPort: 8933
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 8644
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 8647
|
||||
name: farming
|
||||
protocol: TCP
|
||||
nchain:
|
||||
apiPort: 8929
|
||||
farmerPort: 38447
|
||||
ports:
|
||||
- containerPort: 8929
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 58445
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 38447
|
||||
name: farming
|
||||
protocol: TCP
|
||||
ports:
|
||||
- containerPort: 8444
|
||||
hostPort: 8444
|
||||
name: chia-network
|
||||
protocol: TCP
|
||||
- containerPort: 8926
|
||||
name: machinaris-ui
|
||||
protocol: TCP
|
||||
- containerPort: 8927
|
||||
hostPort: 8927
|
||||
name: machinaris-api
|
||||
protocol: TCP
|
||||
- containerPort: 8447
|
||||
hostPort: 8447
|
||||
name: farming
|
||||
protocol: TCP
|
||||
staicoin:
|
||||
apiPort: 8934
|
||||
farmerPort: 1692
|
||||
ports:
|
||||
- containerPort: 8934
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 1999
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 1692
|
||||
name: farming
|
||||
protocol: TCP
|
||||
stor:
|
||||
apiPort: 8935
|
||||
farmerPort: 8337
|
||||
ports:
|
||||
- containerPort: 8935
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 8668
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 8337
|
||||
name: farming
|
||||
protocol: TCP
|
||||
updateStrategy: Recreate
|
||||
1623
test/machinaris/1.1.1/questions.yaml
Normal file
1623
test/machinaris/1.1.1/questions.yaml
Normal file
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,4 @@ dependencies:
|
||||
repository: file://../../../library/common/2112.0.0
|
||||
version: 2112.0.0
|
||||
digest: sha256:47115d9b91afe42c8537dcf0fd8224f2f7d1c775f9ff860efa68a6b57d17d1c0
|
||||
generated: "2021-12-06T21:40:37.075818+05:00"
|
||||
generated: "2021-12-06T19:55:04.707082+05:00"
|
||||
40
test/machinaris/1.1.1/templates/_helpers.tpl
Normal file
40
test/machinaris/1.1.1/templates/_helpers.tpl
Normal file
@@ -0,0 +1,40 @@
|
||||
{{/*
|
||||
Init container for coin deployments
|
||||
*/}}
|
||||
{{- define "initContainers" -}}
|
||||
{{- $values := . -}}
|
||||
{{- $machinarisApiUrl := (printf "http://%v:%v/" $values.nodeIP $values.apiPort) -}}
|
||||
initContainers:
|
||||
- name: init-{{ $values.coinName }}
|
||||
image: curlimages/curl:7.80.0
|
||||
command: ['sh', '-c', 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' {{ $machinarisApiUrl }})" != "200" ]]; do echo "Machinaris is offline. Retrying in 2 seconds.." && sleep 2; done']
|
||||
{{- end -}}
|
||||
|
||||
|
||||
{{/*
|
||||
Evironment variables (support for overrides)
|
||||
*/}}
|
||||
{{- define "allEnvironmentVariables" -}}
|
||||
{{- $finalEnvironmentVariables := .defaultEnv -}}
|
||||
{{- range $env := .environmentVariables -}}
|
||||
{{- $_ := set $finalEnvironmentVariables $env.name $env.value -}}
|
||||
{{- end -}}
|
||||
env:
|
||||
{{- range $envVariableName := keys $finalEnvironmentVariables }}
|
||||
- name: {{ $envVariableName | quote }}
|
||||
value: {{ (get $finalEnvironmentVariables $envVariableName) | quote }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
|
||||
{{/*
|
||||
Resource limits
|
||||
*/}}
|
||||
{{- define "resourceLimits" -}}
|
||||
{{- if .Values.enableResourceLimits -}}
|
||||
resources:
|
||||
limits:
|
||||
cpu: {{ .Values.cpuLimit }}
|
||||
memory: {{ .Values.memLimit }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
46
test/machinaris/1.1.1/templates/coins-deployment.yaml
Normal file
46
test/machinaris/1.1.1/templates/coins-deployment.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
{{- $ref := . }}
|
||||
{{- range $coinName := $ref.Values.coins }}
|
||||
{{- $coinEnabled := get $ref.Values (printf "%vEnabled" $coinName) }}
|
||||
{{- if $coinEnabled }}
|
||||
{{- $coin := get $ref.Values $coinName }}
|
||||
{{- $_ := set $ref "common" (dict "nameSuffix" $coinName) }}
|
||||
{{- $_ := set $coin.volumeMounts "plots" $ref.Values.appVolumeMounts.plots }}
|
||||
{{- $_ := set $coin.volumeMounts "plotting" $ref.Values.appVolumeMounts.plotting }}
|
||||
apiVersion: {{ template "common.capabilities.deployment.apiVersion" $ref }}
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ template "common.names.fullname" $ref }}
|
||||
labels: {{ include "common.labels" $ref | nindent 4 }}
|
||||
spec:
|
||||
strategy:
|
||||
type: {{ $ref.Values.updateStrategy }}
|
||||
selector:
|
||||
matchLabels: {{ include "common.labels.selectorLabels" $ref | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
name: {{ template "common.names.fullname" $ref }}
|
||||
labels: {{ include "common.labels.selectorLabels" $ref | nindent 8 }}
|
||||
spec:
|
||||
hostNetwork: true
|
||||
{{- include "initContainers" (dict "nodeIP" $ref.Values.nodeIP "apiPort" $ref.Values.machinarisApiPort "coinName" $coinName ) | nindent 6 }}
|
||||
containers:
|
||||
- name: {{ $ref.Chart.Name }}
|
||||
{{- include "resourceLimits" $ref | nindent 10 }}
|
||||
tty: true
|
||||
{{ include "common.containers.imageConfig" (dict "repository" $ref.Values.image.repository "tag" $ref.Values.image.tag "pullPolicy" $ref.Values.image.pullPolicy "postfix" $ref.common.nameSuffix) | nindent 10 }}
|
||||
{{ include "common.containers.configurePorts" $coin | nindent 10 }}
|
||||
volumeMounts: {{ include "common.storage.configureAppVolumeMountsInContainer" (dict "appVolumeMounts" $coin.volumeMounts "ixVolumes" $ref.Values.ixVolumes) | nindent 12 }}
|
||||
{{ range $index, $hostPathConfiguration := $ref.Values.extraAppVolumeMounts }}
|
||||
- name: extrappvolume-{{ $index }}
|
||||
mountPath: {{ $hostPathConfiguration.mountPath }}
|
||||
{{ end }}
|
||||
{{ include "allEnvironmentVariables" (dict "defaultEnv" (dict "TZ" $ref.Values.timezone "worker_address" $ref.Values.nodeIP "worker_api_port" $coin.apiPort "controller_api_port" $coin.apiPort "farmer_port" $coin.farmerPort "blockchains" $coinName "plots_dir" $ref.Values.appVolumeMounts.plots.mountPath "mode" "fullnode") "environmentVariables" $coin.environmentVariables) | nindent 10 }}
|
||||
volumes: {{ include "common.storage.configureAppVolumes" (dict "appVolumeMounts" $coin.volumeMounts "ixVolumes" $ref.Values.ixVolumes) | nindent 8 }}
|
||||
{{ range $index, $hostPathConfiguration := $ref.Values.extraAppVolumeMounts }}
|
||||
- name: extrappvolume-{{ $coinName }}-{{ $index }}
|
||||
hostPath:
|
||||
path: {{ $hostPathConfiguration.hostPath }}
|
||||
{{ end }}
|
||||
---
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -1,3 +1,6 @@
|
||||
{{- if hasKey . "common" }}
|
||||
{{- $_ := unset .common "nameSuffix" }}
|
||||
{{- end }}
|
||||
apiVersion: {{ template "common.capabilities.deployment.apiVersion" . }}
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@@ -17,12 +20,7 @@ spec:
|
||||
hostNetwork: true
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
{{ if .Values.enableResourceLimits }}
|
||||
resources:
|
||||
limits:
|
||||
cpu: {{ .Values.cpuLimit }}
|
||||
memory: {{ .Values.memLimit }}
|
||||
{{ end }}
|
||||
{{- include "resourceLimits" . | nindent 10 }}
|
||||
tty: true
|
||||
{{ include "common.containers.imageConfig" .Values.image | nindent 10 }}
|
||||
volumeMounts: {{ include "common.storage.configureAppVolumeMountsInContainer" .Values | nindent 12 }}
|
||||
@@ -30,22 +28,8 @@ spec:
|
||||
- name: extrappvolume-{{ $index }}
|
||||
mountPath: {{ $hostPathConfiguration.mountPath }}
|
||||
{{ end }}
|
||||
ports:
|
||||
- name: chia-network
|
||||
protocol: TCP
|
||||
containerPort: 8444
|
||||
hostPort: 8444
|
||||
- name: machinaris-ui
|
||||
protocol: TCP
|
||||
containerPort: 8926
|
||||
- name: machinaris-api
|
||||
protocol: TCP
|
||||
containerPort: 8927
|
||||
hostPort: 8927
|
||||
{{ $envList := (default list .Values.environmentVariables) }}
|
||||
{{ $envList = mustAppend $envList (dict "name" "TZ" "value" $.Values.timezone) }}
|
||||
{{ $envList = mustAppend $envList (dict "name" "worker_address" "value" $.Values.nodeIP) }}
|
||||
{{ include "common.containers.allEnvironmentVariables" (dict "environmentVariables" $envList) | nindent 10 }}
|
||||
{{ include "common.containers.configurePorts" .Values | nindent 10 }}
|
||||
{{ include "allEnvironmentVariables" (dict "defaultEnv" (dict "TZ" .Values.timezone "worker_address" .Values.nodeIP "worker_api_port" .Values.apiPort "controller_api_port" .Values.apiPort "farmer_port" .Values.farmerPort "blockchains" "chia" "plots_dir" .Values.appVolumeMounts.plots.mountPath "mode" "fullnode") "environmentVariables" .Values.environmentVariables) | nindent 10 }}
|
||||
volumes: {{ include "common.storage.configureAppVolumes" .Values | nindent 8 }}
|
||||
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
|
||||
- name: extrappvolume-{{ $index }}
|
||||
15
test/machinaris/1.1.1/templates/tests/cactus-check.yaml
Normal file
15
test/machinaris/1.1.1/templates/tests/cactus-check.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}-cactus-deployment-test"
|
||||
annotations:
|
||||
"helm.sh/hook": test
|
||||
spec:
|
||||
hostNetwork: true
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: {{ .Release.Name }}-cactus-deployment-test
|
||||
image: busybox
|
||||
# Note: Adding sleep 15, as even when cactus pod status is ready, I've seen API
|
||||
# taking a few seconds to be live and running.
|
||||
command: ['sh', '-c', 'sleep 30 && nc -vz {{ .Values.nodeIP }} {{ .Values.cactus.apiPort }}']
|
||||
13
test/machinaris/1.1.1/templates/tests/machinaris-check.yaml
Normal file
13
test/machinaris/1.1.1/templates/tests/machinaris-check.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}-machinaris-deployment-test"
|
||||
annotations:
|
||||
"helm.sh/hook": test
|
||||
spec:
|
||||
hostNetwork: true
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: {{ .Release.Name }}-machinaris-deployment-test
|
||||
image: busybox
|
||||
command: ['sh', '-c', 'nc -vz {{ .Values.nodeIP }} {{ .Values.machinarisApiPort }}']
|
||||
73
test/machinaris/1.1.1/test_values.yaml
Normal file
73
test/machinaris/1.1.1/test_values.yaml
Normal file
@@ -0,0 +1,73 @@
|
||||
apiPort: 8927
|
||||
appVolumeMounts:
|
||||
config:
|
||||
emptyDir: true
|
||||
mountPath: /root/.chia
|
||||
plots:
|
||||
emptyDir: true
|
||||
mountPath: /plots
|
||||
plotting:
|
||||
emptyDir: true
|
||||
mountPath: /plotting
|
||||
cactus:
|
||||
apiPort: 8936
|
||||
environmentVariables:
|
||||
- name: mode
|
||||
value: plotter
|
||||
farmerPort: 11447
|
||||
ports:
|
||||
- containerPort: 8936
|
||||
hostPort: 8936
|
||||
name: api
|
||||
protocol: TCP
|
||||
- containerPort: 11444
|
||||
hostPort: 11444
|
||||
name: blockchain
|
||||
protocol: TCP
|
||||
- containerPort: 11447
|
||||
hostPort: 11447
|
||||
name: farming
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
cactus-config:
|
||||
emptyDir: true
|
||||
mountPath: /root/.chia
|
||||
mnemonic:
|
||||
emptyDir: true
|
||||
mountPath: /root/.chia/mnemonic.txt
|
||||
readOnly: true
|
||||
subPath: mnemonic.txt
|
||||
cactusEnabled: true
|
||||
coins:
|
||||
- cactus
|
||||
cpuLimit: 0.5
|
||||
enableResourceLimits: true
|
||||
environmentVariables:
|
||||
- name: mode
|
||||
value: fullnode
|
||||
farmerPort: 8447
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: ghcr.io/guydavis/machinaris
|
||||
tag: v0.6.8
|
||||
machinarisApiPort: 8927
|
||||
machinaris_ui_port: 31003
|
||||
memLimit: 1G
|
||||
nodeIP: 127.0.0.1
|
||||
ports:
|
||||
- containerPort: 8444
|
||||
hostPort: 8444
|
||||
name: chia-network
|
||||
protocol: TCP
|
||||
- containerPort: 8926
|
||||
name: machinaris-ui
|
||||
protocol: TCP
|
||||
- containerPort: 8927
|
||||
hostPort: 8927
|
||||
name: machinaris-api
|
||||
protocol: TCP
|
||||
- containerPort: 8447
|
||||
hostPort: 8447
|
||||
protocol: TCP
|
||||
timezone: America/Edmonton
|
||||
updateStrategy: Recreate
|
||||
@@ -1,5 +1,5 @@
|
||||
apiVersion: v1
|
||||
appVersion: '2021-12-29'
|
||||
appVersion: '2022-01-03'
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../library/common/2112.0.0
|
||||
@@ -16,4 +16,4 @@ sources:
|
||||
- https://github.com/minio/minio
|
||||
- https://github.com/minio/charts
|
||||
upstream_version: 8.0.5
|
||||
version: 1.4.13
|
||||
version: 1.4.14
|
||||
@@ -1,4 +1,4 @@
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: minio/minio
|
||||
tag: RELEASE.2021-12-29T06-49-06Z
|
||||
tag: RELEASE.2022-01-03T18-22-58Z
|
||||
@@ -13,7 +13,7 @@ extraArgs: []
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
repository: minio/minio
|
||||
tag: RELEASE.2021-12-29T06-49-06Z
|
||||
tag: RELEASE.2022-01-03T18-22-58Z
|
||||
minioDomain: null
|
||||
service:
|
||||
consolePort: 32325
|
||||
Reference in New Issue
Block a user