Added Deployment.yaml

Switched service to NodePort to expose out to rainforest
This commit is contained in:
Evan Richardson
2018-09-03 23:03:42 -07:00
parent bb31cd0287
commit 6bf47f8a52
2 changed files with 38 additions and 3 deletions

View File

@@ -1,11 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: py-eagle
name: py-eagle-mqtt
labels:
app: py-eagle-mqtt
spec:
selector:
app: py-eagle
app: py-eagle-mqtt
type: NodePort
ports:
- name: py-eagle
port: 22042
targetPort: py-eagle
nodePort: 31242