Skip to content

Instantly share code, notes, and snippets.

@zubietaroberto
Created September 10, 2018 16:37
Show Gist options
  • Save zubietaroberto/d2c902d65da54c53d43a8f9649b26a09 to your computer and use it in GitHub Desktop.
Save zubietaroberto/d2c902d65da54c53d43a8f9649b26a09 to your computer and use it in GitHub Desktop.
Vechain Thor k8s
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.15.0 (HEAD)
creationTimestamp: null
labels:
io.kompose.service: thor
name: thor
spec:
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: thor
spec:
containers:
- args:
- --verbosity
- "5"
- --network
- test
- --api-addr=0.0.0.0:8669
- --api-cors
- app://-, decent-bet-client, http://platform-test.decent.bet, https://platform-test.decent.bet,
http://localhost:3100, http://localhost:3007, https://api-test.decent.bet,
https://api.decent.bet
image: vechain/thor:v1.0.2
name: thor
ports:
- containerPort: 8669
- containerPort: 11235
protocol: UDP
- containerPort: 11235
resources: {}
restartPolicy: Always
status: {}
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.15.0 (HEAD)
creationTimestamp: null
labels:
io.kompose.service: thor
name: thor
spec:
ports:
- name: "80"
port: 80
targetPort: 8669
- name: "11235"
port: 11235
protocol: UDP
targetPort: 11235
- name: 11235-tcp
port: 11235
targetPort: 11235
selector:
io.kompose.service: thor
status:
loadBalancer: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment