Skip to content

Instantly share code, notes, and snippets.

@xlight05
Last active February 22, 2019 08:04
Show Gist options
  • Save xlight05/f2bc51b955bfd6c2e96d11617683e118 to your computer and use it in GitHub Desktop.
Save xlight05/f2bc51b955bfd6c2e96d11617683e118 to your computer and use it in GitHub Desktop.
apiVersion: mesh.cellery.io/v1alpha1
kind: Cell
metadata:
name: employee
spec:
gatewayTemplate:
spec:
http:
- context: employee
definitions:
- path: /details
method: GET
backend: employee
global: true
servicesTemplates:
- metadata:
name: employee
spec:
replicas: 1
container:
image: docker.io/celleryio/sampleapp-employee
ports:
- containerPort: 8080
servicePort: 80
- metadata:
name: salary
spec:
replicas: 1
container:
image: docker.io/celleryio/sampleapp-salary
ports:
- containerPort: 8080
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