Skip to content

Instantly share code, notes, and snippets.

@DazWilkin
Created February 18, 2018 21:10
Show Gist options
  • Save DazWilkin/8244a54263c45b937799ebbfc8517d14 to your computer and use it in GitHub Desktop.
Save DazWilkin/8244a54263c45b937799ebbfc8517d14 to your computer and use it in GitHub Desktop.
Coral Health blockchain in Go … on K8s ;-)
---
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: coralhealth
labels:
run: coralhealth
annotations:
deployment.kubernetes.io/revision: '1'
spec:
replicas: 1
selector:
matchLabels:
run: coralhealth
template:
metadata:
labels:
run: coralhealth
spec:
containers:
- name: coralhealth
image: [[YOUR-REPOSITORY]]/coralhealth
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
protocol: TCP
volumeMounts:
- name: config-volume
mountPath: "/config"
volumes:
- name: config-volume
configMap:
name: coralhealth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment