Skip to content

Instantly share code, notes, and snippets.

@xlight05
Created February 20, 2019 04:41
Show Gist options
  • Save xlight05/cd49d601020ed0d56f7bcaed7298d645 to your computer and use it in GitHub Desktop.
Save xlight05/cd49d601020ed0d56f7bcaed7298d645 to your computer and use it in GitHub Desktop.
apiVersion: mesh.cellery.io/v1alpha1
kind: Cell
metadata:
name: hr
spec:
gatewayTemplate:
spec:
http:
- context: info
definitions:
- path: /
method: GET
backend: hr
global: true
servicesTemplates:
- metadata:
name: hr
spec:
replicas: 1
container:
image: docker.io/celleryio/sampleapp-hr:v1.0
ports:
- containerPort: 8080
env:
- name: employeegw_url
value: employee--gateway-service
- name: stockgw_url
value: stock-options--gateway-service
servicePort: 80
- metadata:
name: debug
spec:
replicas: 1
container:
image: docker.io/mirage20/k8s-debug-tools
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment