Skip to content

Instantly share code, notes, and snippets.

@evanshortiss
Created July 11, 2019 23:03
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/4fe51d8a61cbb8739fadf9ec83649b82 to your computer and use it in GitHub Desktop.
Save evanshortiss/4fe51d8a61cbb8739fadf9ec83649b82 to your computer and use it in GitHub Desktop.
#1 - create MQTT deployment for AeroGear Showcase deployed using the aerogear/mobile-services-installer setup script
kind: DeploymentConfig
apiVersion: v1
name: mosquitto-mqtt-broker
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: sync-app-showcase-server
name: mosquitto-mqtt-broker
spec:
replicas: 1
selector:
app: sync-app-showcase-server
deploymentconfig: mosquitto-mqtt-broker
strategy:
resources: {}
template:
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: sync-app-showcase-server
deploymentconfig: mosquitto-mqtt-broker
spec:
containers:
- name: mosquitto-mqtt-broker
image: eclipse-mosquitto:latest
ports:
- containerPort: 1883
protocol: TCP
strategy:
type: Rolling
paused: false
revisionHistoryLimit: 2
minReadySeconds: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment