Compare commits

..

2 Commits

Author SHA1 Message Date
ac7997d02f migration status 2026-02-04 12:45:21 +01:00
78f7b942ac external name and migration plan 2026-02-04 12:42:02 +01:00
3 changed files with 53 additions and 24 deletions

14
external-name.yml Normal file
View 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

View File

@@ -1,33 +1,48 @@
# Broker-Clients im Cluster
## homea/digitaltwin
- configMap in install-yml.tmpl anpassen und nur configMap neu applyen
## First step:
## homea/ma
- config.json in Repo anpassen und neu deployen
- [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
## homea/snmp-mqtt
- config.json in Repo anpassen und pushconfig.sh ausführen
## Second step:
## homea/tsm-mqtt
- config.json in Repo anpassen und pushconfig.sh ausführen
Change applications
## homea/zigbee2mqtt
- configmap.yml in Repo anpassen und neu applyen
### homea/digitaltwin
- [ ] configMap in install-yml.tmpl anpassen und nur configMap neu applyen
## homea2/abstraction
- configmap.yml in Repo anpassen und neu applyen
### homea/ma
- [ ] config.json in Repo anpassen und neu deployen
## homea2/api
- wie abstraction
### homea/snmp-mqtt
- [ ] config.json in Repo anpassen und pushconfig.sh ausführen
## homea2/pulsegen
- wie abstraction
### homea/tsm-mqtt
- [ ] config.json in Repo anpassen und pushconfig.sh ausführen
## homea-ctrl-1/pv-controller
- config.yaml in Repo anpassen und neu applyen
### homea/zigbee2mqtt
- [ ] configmap.yml 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)
### 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

View File

@@ -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