Skip to content

Commit 274e399

Browse files
committed
Final changes to have a working sample up to before starting chaincode containers
Signed-off-by: munapower <mmunaro@hotmail.com>
1 parent 2e820f5 commit 274e399

File tree

5 files changed

+20
-19
lines changed

5 files changed

+20
-19
lines changed

samples/deployment/k8s/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ Show all pods
165165
# list all pods
166166
kubectl get pods -n hyperledger
167167
```
168+
Before moving on ensure that all the pods status appears as running. You might have to wait a while for them to be at that status.
168169

169170
Org1
170171
```bash

samples/deployment/k8s/core.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ chaincode:
565565
# - path: /builders/external
566566
# name: fpc-c
567567
- name: ccaas_builder
568-
path: /opt/hyperledger/ccaas_builder/ccaas/bin
568+
path: /opt/hyperledger/ccaas_builder
569569
propagateEnvironment:
570570
- CHAINCODE_AS_A_SERVICE_BUILDER_CONFIG
571571
- CORE_PEER_ID

samples/deployment/k8s/org1/org1-peer0-deployment.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ spec:
7676
- mountPath: /etc/hyperledger/fabric/core.yaml
7777
name: peer0-config
7878
subPath: core.yaml
79-
- mountPath: /builders/external/bin/
80-
name: external-builder
79+
# - mountPath: /builders/external/bin/
80+
# name: external-builder
8181
restartPolicy: Always
8282
volumes:
8383
- name: peer0-org1-claim1
@@ -98,10 +98,10 @@ spec:
9898
items:
9999
- key: core.yaml
100100
path: core.yaml
101-
- name: external-builder
102-
hostPath:
103-
path: /fpc/fabric/externalBuilder/chaincode_server/bin
104-
type: Directory
101+
# - name: external-builder
102+
# hostPath:
103+
# path: /fpc/fabric/externalBuilder/chaincode_server/bin
104+
# type: Directory
105105
---
106106
apiVersion: v1
107107
kind: Service

samples/deployment/k8s/org2/org2-peer0-deployment.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ spec:
7474
- mountPath: /etc/hyperledger/fabric/core.yaml
7575
name: peer0-config
7676
subPath: core.yaml
77-
- mountPath: /builders/external/bin/
78-
name: external-builder
77+
# - mountPath: /builders/external/bin/
78+
# name: external-builder
7979
restartPolicy: Always
8080
volumes:
8181
- name: peer0-org2-claim1
@@ -96,10 +96,10 @@ spec:
9696
items:
9797
- key: core.yaml
9898
path: core.yaml
99-
- name: external-builder
100-
hostPath:
101-
path: /fpc/fabric/externalBuilder/chaincode_server/bin
102-
type: Directory
99+
# - name: external-builder
100+
# hostPath:
101+
# path: /fpc/fabric/externalBuilder/chaincode_server/bin
102+
# type: Directory
103103
---
104104
apiVersion: v1
105105
kind: Service

samples/deployment/k8s/org3/org3-peer0-deployment.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ spec:
7474
- mountPath: /etc/hyperledger/fabric/core.yaml
7575
name: peer0-config
7676
subPath: core.yaml
77-
- mountPath: /builders/external/bin/
78-
name: external-builder
77+
# - mountPath: /builders/external/bin/
78+
# name: external-builder
7979
restartPolicy: Always
8080
volumes:
8181
- name: peer0-org3-claim1
@@ -96,10 +96,10 @@ spec:
9696
items:
9797
- key: core.yaml
9898
path: core.yaml
99-
- name: external-builder
100-
hostPath:
101-
path: /fpc/fabric/externalBuilder/chaincode_server/bin
102-
type: Directory
99+
# - name: external-builder
100+
# hostPath:
101+
# path: /fpc/fabric/externalBuilder/chaincode_server/bin
102+
# type: Directory
103103
---
104104
apiVersion: v1
105105
kind: Service

0 commit comments

Comments
 (0)