Compare commits
3 Commits
8d964a57bc
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
ca76c79260
|
|||
|
ac7997d02f
|
|||
|
78f7b942ac
|
14
external-name.yml
Normal file
14
external-name.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: broker
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: emqx01-anonymous-cluster-internal
|
||||
namespace: broker
|
||||
spec:
|
||||
type: ExternalName
|
||||
externalName: mosquitto-broker-mqtt-anon-cluster.mosquitto.svc.cluster.local
|
||||
|
||||
49
migration.md
Normal file
49
migration.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# Broker-Clients im Cluster
|
||||
|
||||
## First step:
|
||||
|
||||
- [x] remove all existing services in namespace broker
|
||||
- [x] create externalName emqx01-anonymous-cluster-internal.broker.svc.cluster.local in namespace broker
|
||||
- [x] check whether services in namespace mosquitto get addresses
|
||||
- [x] check whether applications connect via externalName to mosquitto
|
||||
- [x] delete broker namespace and re-deploy externalName including namespace
|
||||
- [x] delete helm chart emqx
|
||||
- [x] delete DNS name dashboard.broker.hottis.de
|
||||
|
||||
## Second step:
|
||||
|
||||
Change applications
|
||||
|
||||
### homea/digitaltwin
|
||||
- [ ] configMap in install-yml.tmpl anpassen und nur configMap neu applyen
|
||||
|
||||
### homea/ma
|
||||
- [ ] config.json in Repo anpassen und neu deployen
|
||||
|
||||
### homea/snmp-mqtt
|
||||
- [ ] config.json in Repo anpassen und pushconfig.sh ausführen
|
||||
|
||||
### homea/tsm-mqtt
|
||||
- [ ] config.json in Repo anpassen und pushconfig.sh ausführen
|
||||
|
||||
### homea/zigbee2mqtt
|
||||
- [ ] configmap.yml in Repo anpassen und neu applyen
|
||||
|
||||
### homea2/abstraction
|
||||
- [ ] configmap.yml in Repo anpassen und neu applyen
|
||||
|
||||
### homea2/api
|
||||
- [ ] wie abstraction
|
||||
|
||||
### homea2/pulsegen
|
||||
- [ ] wie abstraction
|
||||
|
||||
### homea-ctrl-1/pv-controller
|
||||
- [ ] config.yaml in Repo anpassen und neu applyen
|
||||
|
||||
### udi/default-udi
|
||||
- [ ] deployment/instances/udi/default/config.json anpassen und conigMap default-udi-conf im Namespace udi neu applyen (siehe deploy.sh)
|
||||
|
||||
### externalName
|
||||
- [ ] delete namespace broker including externalName
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
# Broker-Clients im Cluster
|
||||
|
||||
## homea/digitaltwin
|
||||
- configMap in install-yml.tmpl anpassen und nur configMap neu applyen
|
||||
|
||||
## homea/ma
|
||||
- config.json in Repo anpassen und neu deployen
|
||||
|
||||
## homea/snmp-mqtt
|
||||
- config.json in Repo anpassen und pushconfig.sh ausführen
|
||||
|
||||
## homea/tsm-mqtt
|
||||
- config.json in Repo anpassen und pushconfig.sh ausführen
|
||||
|
||||
## homea/zigbee2mqtt
|
||||
- configmap.yml in Repo anpassen und neu applyen
|
||||
|
||||
## homea2/abstraction
|
||||
- configmap.yml in Repo anpassen und neu applyen
|
||||
|
||||
## homea2/api
|
||||
- wie abstraction
|
||||
|
||||
## homea2/pulsegen
|
||||
- wie abstraction
|
||||
|
||||
## homea-ctrl-1/pv-controller
|
||||
- config.yaml in Repo anpassen und neu applyen
|
||||
|
||||
## udi/default-udi
|
||||
- deployment/instances/udi/default/config.json anpassen und conigMap default-udi-conf im Namespace udi neu applyen (siehe deploy.sh)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
pid_file /tmp/mosquitto.pid
|
||||
log_dest stdout
|
||||
log_type all
|
||||
log_type warning
|
||||
|
||||
persistence true
|
||||
persistence_location /mosquitto/data
|
||||
@@ -10,20 +10,20 @@ per_listener_settings true
|
||||
listener 1884
|
||||
protocol mqtt
|
||||
allow_anonymous true
|
||||
acl_file /mosquitto/config/aclfile
|
||||
# acl_file /mosquitto/config/aclfile
|
||||
|
||||
listener 1883
|
||||
protocol mqtt
|
||||
allow_anonymous false
|
||||
password_file /mosquitto/config/pwfile
|
||||
acl_file /mosquitto/config/aclfile
|
||||
# acl_file /mosquitto/config/aclfile
|
||||
|
||||
listener 8883
|
||||
protocol mqtt
|
||||
tls_version tlsv1.2
|
||||
allow_anonymous false
|
||||
password_file /mosquitto/config/pwfile
|
||||
acl_file /mosquitto/config/aclfile
|
||||
# acl_file /mosquitto/config/aclfile
|
||||
certfile /mosquitto/config/ssl/server.crt
|
||||
keyfile /mosquitto/config/ssl/server.key
|
||||
dhparamfile /mosquitto/config/dhparam.pem
|
||||
|
||||
Reference in New Issue
Block a user