Skip to content

Instantly share code, notes, and snippets.

@evanshortiss
Last active July 16, 2019 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evanshortiss/98378058b89b068029cc60fdd65031c6 to your computer and use it in GitHub Desktop.
Save evanshortiss/98378058b89b068029cc60fdd65031c6 to your computer and use it in GitHub Desktop.
#2- create MQTT service for AeroGear Showcase deployed using the aerogear/mobile-services-installer setup script
apiVersion: v1
kind: Service
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: sync-app-showcase-server
name: mosquitto-mqtt-broker
spec:
ports:
- name: 1883-tcp
port: 1883
protocol: TCP
targetPort: 1883
selector:
app: sync-app-showcase-server
deploymentconfig: mosquitto-mqtt-broker
status:
loadBalancer: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment