In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Ali Cloud container is fixed to a node.
This article mainly records the fixed nodes in the swarm orchestration template:
1. Swarm orchestration template-v2
Version: '3.2'services: appweb: image:' registry-vpc.cn-hangzhou.aliyuncs.com/****_docker/*' ports:-'7980 appweb 7980 restart: always deploy: placement: # Note constraints:-node.id = = mojxv2tciyc87w5kbaivywcu3 # * * this is used to specify the node ip** networks:-multi-host-network labels: aliyun.scale: '1' aliyun.log_store_appweb: stdout # # aliyun log service collection standard output networks: multi-host-network: external: true
2. How to query node.id on Ali Cloud container
1. Enter the swram- node page of Ali Cloud CCS.
two。 Select the node ip to be fixed and enter. The arrow indicates the node ip node.id.
3. This requirement is used to add whitelist functionality.
Summary
The above is the Aliyun docker container introduced by the editor to be applied to a certain node to record. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. Thank you very much for your support to the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.