Created
February 20, 2019 04:41
-
-
Save xlight05/cd49d601020ed0d56f7bcaed7298d645 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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