github.com/IBM-Blockchain/fabric-operator@v1.0.4/definitions/peer/chaincode-launcher.yaml (about) 1 # 2 # Copyright contributors to the Hyperledger Fabric Operator project 3 # 4 # SPDX-License-Identifier: Apache-2.0 5 # 6 # Licensed under the Apache License, Version 2.0 (the "License"); 7 # you may not use this file except in compliance with the License. 8 # You may obtain a copy of the License at: 9 # 10 # http://www.apache.org/licenses/LICENSE-2.0 11 # 12 # Unless required by applicable law or agreed to in writing, software 13 # distributed under the License is distributed on an "AS IS" BASIS, 14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 # See the License for the specific language governing permissions and 16 # limitations under the License. 17 # 18 name: "chaincode-launcher" 19 imagePullPolicy: Always 20 securityContext: 21 privileged: false 22 readOnlyRootFileSystem: false 23 runAsNonRoot: true 24 runAsUser: 7051 25 capabilities: 26 drop: 27 - ALL 28 ports: 29 - name: fileserver 30 containerPort: 22222 31 - name: grpc 32 containerPort: 11111 33 livenessProbe: 34 httpGet: 35 path: /healthz 36 port: fileserver 37 scheme: HTTP 38 initialDelaySeconds: 30 39 timeoutSeconds: 5 40 failureThreshold: 6 41 readinessProbe: 42 httpGet: 43 path: /healthz 44 port: fileserver 45 scheme: HTTP 46 initialDelaySeconds: 26 47 timeoutSeconds: 5 48 periodSeconds: 5 49 resources: 50 requests: 51 cpu: 0.1 52 memory: "100Mi" 53 limits: 54 cpu: 2 55 memory: "2Gi" 56 env: 57 - name: "LICENSE" 58 value: "accept" 59 - name: FILE_SERVER_LISTEN_IP 60 value: "0.0.0.0" 61 - name: FILE_SERVER_BASE_IP 62 valueFrom: 63 fieldRef: 64 fieldPath: status.podIP