corda/experimental/kubernetes/templates/pods/ha-node.yml

43 lines
912 B
YAML
Raw Normal View History

apiVersion: v1
kind: Pod
metadata:
name: {{ name }}
labels:
app: hanode
spec:
imagePullSecrets:
- name: regsecret
containers:
- name: hanode
image: {{ image }}
imagePullPolicy: Always
env:
- name: "COMPATIBILITY_ZONE_URL"
value: "http://doorman:1300"
volumeMounts:
- mountPath: /app/artemis
name: artemis
- mountPath: /app/cordapps
name: cordapps
- mountPath: /app/certificates
name: certificates
- mountPath: /truststore
name: truststore
readOnly: true
ports:
- containerPort: 10002
- containerPort: 10003
volumes:
- name: artemis
persistentVolumeClaim:
claimName: artemis
- name: cordapps
persistentVolumeClaim:
claimName: cordapps
- name: certificates
persistentVolumeClaim:
claimName: certificates
- name: truststore
secret:
secretName: truststore-3.0.0