Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Charts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
魏国强
Charts
Commits
cba40a21
Commit
cba40a21
authored
Nov 20, 2021
by
Muhammad Rehan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finalize networking manifests: nodeport + clusterIP services
parent
3179fabc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
10 deletions
+32
-10
test/machinaris/1.0.11/charts/common-2105.0.0.tgz
test/machinaris/1.0.11/charts/common-2105.0.0.tgz
+0
-0
test/machinaris/1.0.11/ix_values.yaml
test/machinaris/1.0.11/ix_values.yaml
+24
-8
test/machinaris/1.0.11/templates/coins-deployment.yaml
test/machinaris/1.0.11/templates/coins-deployment.yaml
+1
-1
test/machinaris/1.0.11/templates/service.yaml
test/machinaris/1.0.11/templates/service.yaml
+7
-1
No files found.
test/machinaris/1.0.11/charts/common-2105.0.0.tgz
View file @
cba40a21
No preview for this file type
test/machinaris/1.0.11/ix_values.yaml
View file @
cba40a21
...
...
@@ -11,7 +11,9 @@ appVolumeMounts:
mountPath
:
/plots
coins
:
-
name
:
cactus
apiPort
:
8936
apiPort
:
nodePort
:
90001
targetPort
:
8936
ports
:
-
protocol
:
TCP
containerPort
:
8936
...
...
@@ -20,7 +22,9 @@ coins:
-
protocol
:
TCP
containerPort
:
11447
-
name
:
chives
apiPort
:
8931
apiPort
:
nodePort
:
90002
targetPort
:
8931
ports
:
-
protocol
:
TCP
containerPort
:
8931
...
...
@@ -29,7 +33,9 @@ coins:
-
protocol
:
TCP
containerPort
:
9647
-
name
:
flax
apiPort
:
8928
apiPort
:
nodePort
:
90003
targetPort
:
8928
ports
:
-
protocol
:
TCP
containerPort
:
8928
...
...
@@ -38,7 +44,9 @@ coins:
-
protocol
:
TCP
containerPort
:
6885
-
name
:
flora
apiPort
:
8936
apiPort
:
nodePort
:
90004
targetPort
:
8932
ports
:
-
protocol
:
TCP
containerPort
:
8932
...
...
@@ -47,7 +55,9 @@ coins:
-
protocol
:
TCP
containerPort
:
18647
-
name
:
hddcoin
apiPort
:
8936
apiPort
:
nodePort
:
90005
targetPort
:
8930
ports
:
-
protocol
:
TCP
containerPort
:
8930
...
...
@@ -56,7 +66,9 @@ coins:
-
protocol
:
TCP
containerPort
:
28447
-
name
:
nchain
apiPort
:
8936
apiPort
:
nodePort
:
90006
targetPort
:
8929
ports
:
-
protocol
:
TCP
containerPort
:
8929
...
...
@@ -65,7 +77,9 @@ coins:
-
protocol
:
TCP
containerPort
:
38447
-
name
:
stacoin
apiPort
:
8936
apiPort
:
nodePort
:
90007
targetPort
:
8934
ports
:
-
protocol
:
TCP
containerPort
:
8934
...
...
@@ -74,7 +88,9 @@ coins:
-
protocol
:
TCP
containerPort
:
1692
-
name
:
stor
apiPort
:
8936
apiPort
:
nodePort
:
90008
targetPort
:
8935
ports
:
-
protocol
:
TCP
containerPort
:
8935
...
...
test/machinaris/1.0.11/templates/coins-deployment.yaml
View file @
cba40a21
...
...
@@ -36,7 +36,7 @@ spec:
{{
$envList = mustAppend $envList (dict "name" "TZ" "value" $ref.Values.timezone)
}}
{{
$envList = mustAppend $envList (dict "name" "worker_address" "value" $ref.Values.nodeIP)
}}
{{
$envList = mustAppend $envList (dict "name" "controller_host" "value" $ref.Values.nodeIP)
}}
{{
$envList = mustAppend $envList (dict "name" "worker_api_port" "value" $coin.apiPort)
}}
{{
$envList = mustAppend $envList (dict "name" "worker_api_port" "value" $coin.apiPort
.targetPort
)
}}
{{
$envList = mustAppend $envList (dict "name" "blockchains" "value" $coin.name)
}}
{{
$envList = mustAppend $envList (dict "name" "plots_dir" "value" $ref.Values.appVolumeMounts.plots.mountPath)
}}
{{
$envList = mustAppend $envList (dict "name" "mode" "value" "fullnode")
}}
...
...
test/machinaris/1.0.11/templates/service.yaml
View file @
cba40a21
...
...
@@ -7,12 +7,18 @@
---
{{
$this
:
= .
}}
{{
range $coin
:
= $this.Values.coins
}}
{{
$_
:
= set $this "common" (dict "nameSuffix" $coin.name)
}}
{{
$ports
:
= list
}}
{{
$_
:
= set $this "common" (dict "nameSuffix" $coin.name)
}}
{{
range $port
:
= $coin.ports
}}
{{
$ports = mustAppend $ports (dict "name" (printf "%v-%v" $coin.name $port.containerPort) "port" $port.containerPort "targetPort" $port.containerPort)
}}
{{
end
}}
{{
$_
:
= set $this "commonService" (dict "ports" $ports "type" "ClusterIP" )
}}
{{
include "common.classes.service" $this
}}
---
{{
$ports
:
= list
}}
{{
$_
:
= set $this "common" (dict "nameSuffix" $coin.name)
}}
{{
$ports = mustAppend $ports (dict "name" $coin.name "port" $coin.apiPort.nodePort "nodePort" $coin.apiPort.nodePort "targetPort" $coin.apiPort.targetPort)
}}
{{
$_
:
= set $this "commonService" (dict "ports" $ports "type" "NodePort" "nameSuffix" "api")
}}
{{
include "common.classes.service" $this
}}
---
{{
end
}}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment