Code Monkey home page Code Monkey logo

Comments (4)

cristipogacean avatar cristipogacean commented on July 26, 2024 1

@chunchiehdev, the opc plc simulation opc ua server is designed to act like a standalone containerized application. It is not designed to run in a k8s cluster as a distributed architecture. If you spin multiple instances just do this using separate deployments with replica set always to 1. Increasing replica setting to more than 1 will just end up in un-predictable behavior of the multiple instances of the opc plc. They are completely unaware about any peers deployed in the same cluster and act as independent standalone applications.

from iot-edge-opc-plc.

luiscantero avatar luiscantero commented on July 26, 2024

Can you please elaborate your use-case and explain the reason you want/need to run multiple replicas?
At first sight, this doesn't look like a supported scenario.

from iot-edge-opc-plc.

chunchiehdev avatar chunchiehdev commented on July 26, 2024

Thank you for your response.

By running multiple replicas, I aim to ensure that the OPC PLC service remains available even if one or more Pods fail.
Also distribute the client requests across different Pods to enhance performance.

Are there any best practices or solutions for synchronizing node values across multiple replicas in such a setup?

from iot-edge-opc-plc.

chunchiehdev avatar chunchiehdev commented on July 26, 2024

Thank you for the detailed explanation. Now I understand.

from iot-edge-opc-plc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.