Skip to content

Instantly share code, notes, and snippets.

@Pothulapati
Last active February 15, 2019 15:20
Show Gist options
  • Save Pothulapati/7618a786141346c518d45ac0e6028af1 to your computer and use it in GitHub Desktop.
Save Pothulapati/7618a786141346c518d45ac0e6028af1 to your computer and use it in GitHub Desktop.
---
apiVersion: v1
items:
- apiVersion: apps/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
name: web
namespace: emojivoto
spec:
replicas: 1
selector:
matchLabels:
app: web-svc
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: web-svc
spec:
containers:
- env:
- name: WEB_PORT
value: "80"
- name: EMOJISVC_HOST
value: emoji-svc.emojivoto:8080
- name: VOTINGSVC_HOST
value: voting-svc.emojivoto:8080
- name: INDEX_BUNDLE
value: dist/index_bundle.js
image: buoyantio/emojivoto-web:v3
name: web-svc
ports:
- containerPort: 80
name: http
resources: {}
status: {}
- apiVersion: apps/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
name: emoji
namespace: emojivoto
spec:
replicas: 1
selector:
matchLabels:
app: emoji-svc
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: emoji-svc
spec:
containers:
- env:
- name: GRPC_PORT
value: "8080"
image: buoyantio/emojivoto-emoji-svc:v3
name: emoji-svc
ports:
- containerPort: 8080
name: grpc
protocol: TCP
resources: {}
status: {}
- #Empty Resource 1
- #Empty Resource 2
kind: List
metadata: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment