Skip to content

Commit

Permalink
specify connection types for service ports
Browse files Browse the repository at this point in the history
  • Loading branch information
MicaiahReid committed Sep 29, 2023
1 parent cf93d86 commit 5dfe2a2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions templates/services/bitcoind-chain-coordinator.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ metadata:
namespace: "{namespace}"
spec:
ports:
- name: p2p
- name: tcp-p2p
port: 18444
protocol: TCP
targetPort: 18444
- name: rpc
- name: tcp-rpc
port: 18443
protocol: TCP
targetPort: 18443
- name: coordinator-in
- name: http-coordinator-in
port: 20445
protocol: TCP
targetPort: 20445
- name: coordinator-con
- name: http-coordinator-con
port: 20446
protocol: TCP
targetPort: 20446
Expand Down
6 changes: 3 additions & 3 deletions templates/services/stacks-blockchain-api.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ metadata:
namespace: "{namespace}"
spec:
ports:
- name: api
- name: http-api
port: 3999
protocol: TCP
targetPort: 3999
- name: postgres
port: 5432
port: tcp-5432
protocol: TCP
targetPort: 5432
- name: eventport
- name: tcp-eventport
port: 3700
protocol: TCP
targetPort: 3700
Expand Down
4 changes: 2 additions & 2 deletions templates/services/stacks-blockchain.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ metadata:
namespace: "{namespace}"
spec:
ports:
- name: p2p
- name: tcp-p2p
port: 20444
protocol: TCP
- name: rpc
- name: http-rpc
port: 20443
protocol: TCP
selector:
Expand Down

0 comments on commit 5dfe2a2

Please sign in to comment.