Last active
September 5, 2022 17:50
-
-
Save Lasithih/dd5a757f0f2e5ca1c9048933ea01d508 to your computer and use it in GitHub Desktop.
EMQX Kubernetes Deployment YAML files
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: apps.emqx.io/v1beta3 | |
kind: EmqxBroker | |
metadata: | |
name: emqx | |
namespace: emqx | |
labels: | |
"app": "emqx" | |
spec: | |
emqxTemplate: | |
image: emqx/emqx:4.4.7 |
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: apps.emqx.io/v1beta3 | |
kind: EmqxBroker | |
metadata: | |
name: emqx | |
namespace: emqx | |
labels: | |
app: "emqx-broker" | |
spec: | |
emqxTemplate: | |
image: emqx/emqx:4.4.7 | |
serviceTemplate: | |
spec: | |
type: LoadBalancer |
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
replicaCount: 1 | |
skipCRDs: false | |
resources: | |
limits: | |
cpu: 100m | |
memory: 100Mi | |
requests: | |
cpu: 100m | |
memory: 30Mi |
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: apps.emqx.io/v1beta3 | |
kind: EmqxBroker | |
metadata: | |
name: emqx | |
namespace: emqx | |
labels: | |
app: "emqx-broker" | |
spec: | |
persistent: | |
storageClassName: default | |
resources: | |
requests: | |
storage: 4Gi | |
accessModes: | |
- ReadWriteOnce | |
emqxTemplate: | |
image: emqx/emqx:4.4.7 | |
serviceTemplate: | |
spec: | |
type: LoadBalancer |
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: apps.emqx.io/v1beta3 | |
kind: EmqxBroker | |
metadata: | |
name: emqx | |
namespace: emqx | |
labels: | |
app: "emqx-broker" | |
spec: | |
persistent: | |
storageClassName: default | |
resources: | |
requests: | |
storage: 4Gi | |
accessModes: | |
- ReadWriteOnce | |
emqxTemplate: | |
image: emqx/emqx:4.4.7 | |
serviceTemplate: | |
spec: | |
type: LoadBalancer | |
config: | |
allow_anonymous: 'false' | |
zone.internal.allow_anonymous: 'false' |
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: apps.emqx.io/v1beta3 | |
kind: EmqxPlugin | |
metadata: | |
name: emqx-auth-mnesia | |
namespace: emqx | |
spec: | |
selector: | |
app: "emqx-broker" | |
pluginName: emqx_auth_mnesia | |
config: | |
auth.mnesia.password_hash: sha256 | |
auth.user.1.username: "mediumuser" | |
auth.user.1.password: "medium1234" | |
auth.user.2.username: "seconduser" | |
auth.user.2.password: "12seconduser34" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment