Nacos
Coordination servicenacos
Dynamic service discovery and configuration service with ephemeral instance registration by default.
- Provider
- default
- Category
- Operations
- Official docs
- https://nacos.io/en/docs/latest/guide/user/auth/
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| authEnabled | boolean | — | no | false | inherited |
| configManagement | boolean | — | no | true | inherited |
| consensus | enum | none | raft | paxos | zab | no | none | inherited |
| consistencyMode | enum | ephemeral | persistent | no | ephemeral | inherited |
| managed | boolean | — | no | false | ▸ false |
| nodes | integer | — | no | — | inherited |
| replicated | boolean | — | no | false | inherited |
| role | enum | metadata | lock | discovery | placement | sharding | leader-election | config | yes | — | ▸ discovery |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
shared-dependency-without-redundancy
The design requires redundant discovery, but this DNS or coordination service, which everything depends on, runs on a single provider or a single replica. Its failure is the whole system's failure.
- — all of these hold:
- — the design requirement `availability.discoveryRedundant` is true
- — any of these hold:
- — the node's `redundantProviders` is false
- — the node's `replicated` is false
stateful-engine-pinned-to-single-zone
A matching engine, coordination service or event store living in exactly one availability zone, with no failover and no replication, is lost with that zone. Everything that depends on it stops with it.
- — all of these hold:
- — the node sits inside exactly 1 availability-zone group
- — any of these hold:
- — the node's `failover` is "none"
- — the node's `replicated` is false
- — the node's `replication` is "none"
nodes:
- { id: "nacos", component: "nacos" }Microservices Enginealibaba-mseAWS Cloud Mapaws-cloud-mapAzure Arcazure-arcAzure Device Registryazure-device-registryDurable Objectscloudflare-durable-objectsApache Helixapache-helixConsulconsulGeneric coordination servicecoordination-serviceetcdetcdEurekaeurekaOxiaoxiaApache ZooKeeperzookeeperService Directorygoogle-service-directoryEndpointsk8s-endpointsOpenStack Blazaropenstack-blazarOpenStack Cyborgopenstack-cyborgOpenStack Placementopenstack-placement
# yaml-language-server: $schema=../../schema/component.schema.json # Nacos: dynamic service discovery and configuration service. Registered instances are # ephemeral by default (Distro/AP path, not Raft) and "System Parameters" documents # nacos.core.auth.enabled defaulting to false. schemaVersion: "1" type: "component" id: "nacos" kind: "coordination-service" provider: "default" docs: "https://nacos.io/en/docs/latest/guide/user/auth/" defaults: role: "discovery" managed: false properties: consistencyMode: type: "enum" values: ["ephemeral", "persistent"] default: "ephemeral" configManagement: type: "boolean" default: true authEnabled: type: "boolean" default: false