In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
one
two
three
four
five
six
seven
nine
ten
eleven
twelve
thirteen
fourteen
fifteen
sixteen
seventeen
eighteen
nineteen
twenty
The future outlook includes the following parts:
Startup item management, which corresponds to applications that have sequential dependencies on startup, is a strong demand. At present, docker compose supports the management of startup sequence among multiple components through depends_on tags.
K8s does not support specifying the startup order. You can only use init_container to detect the dependent service before starting the instance container, and then start the corresponding container after the dependent service is detected.
2. Log aggregation under application, in fact, monitoring data aggregation should also be included here. This requirement should be an extension of the system based on service group management, which can further strengthen the ability of service group management.
3. The invocation relationship shows that this requirement further highlights the dependency between services in the application. Further tracking of the call chain is also a strong demand.
The public template and application market, which is a higher-level form of application orchestration. The container deployment of general software can be realized quickly through the application market.
Next is the content of the interactive question and answer:
Q: for the service presentation (not deployed) under the application, is the yaml resource not created, or is the number of replicas 0?
W: the undeployed state is that the yaml resource has not been created yet
Q: can Tencent Cloud share the Kubernetes application choreography process in the form of blog or video?
W: next, we will make the Kubernetes application choreography process into a blog to share, and then we will also make a video to share with you.
Q: which component is used in Tencent Cloud K8s network?
W: we use global routing to connect directly with the VPC network of Tencent Cloud CCS.
Q: when using configmap, you need to restart the service after the configuration has been modified. How does the change of Tencent Cloud CCS configuration file trigger the restart of the service?
W: through the mode of the trigger, the update of the service can be triggered when the configuration is modified.
Q: as mentioned earlier, you can combine the CI/CD process to generate a new image through CI compilation, modify the parameters of the image tag in the configuration item, and automatically trigger the update of the corresponding service. Are there any detailed examples in this section?
W: we will put the detailed examples in the Tencent Cloud CCS help document, which can also be seen behind Tencent Cloud sharing Forum-Tencent Cloud Pavilion.
Q: how does the application configuration achieve version control?
W: for each configuration file, we support the creation of a new version by default for each modification, with a unique version number
Q: how to update the services in the application?
W: the generally recommended update method is to modify the configuration first and a new version of the configuration will be generated so that the change can be recorded in the configuration. Then update the version of the application summary profile. Trigger or manually update the corresponding service.
After changing the version of the configuration file, we will compare which services have changed and need to be updated.
Q: how to update the services in the application?
W: the generally recommended update method is to modify the configuration first and a new version of the configuration will be generated so that the change can be recorded in the configuration. Then update the version of the application summary profile. Trigger or manually update the corresponding service.
After changing the version of the configuration file, we will compare which services have changed and need to be updated.
Q: what are the advantages and disadvantages of whether the external access cluster is forwarded to pod through Nginx or through the dns service of K8s?
W: external access, which supports two ways.
One is directly forwarded to the corresponding Pod through the LB of the service, but the access method needs to be specified as external access when the service is created (corresponding to the LoadBanace mode in K8s).
The other is through ingress. This approach will have a unified LB as the entry point. Then configure the corresponding backend domain name forwarding rules. External access can be forwarded to the back-end service in accordance with the configured rules.
Q: it is mentioned above that application template + application configuration = application instance, can such an application template correspond to multiple application configurations and generate multiple application instances? For example, to generate 200 instances, how to write ci is more appropriate?
W: this is OK, and we provide cluster isolation and namespace isolation. It is convenient to create multiple application instances.
Q: what are the monitoring and indicators for the expansion and reduction of applications?
W: we refer to the scheme of community HPA for automatic capacity expansion and reduction. Metrics currently consider CPU and memory.
Q: what does a stateful container do?
W: there are three ways you can see: one is the Stateful resource recommended by the community + headles service, and the other is to split each instance of the service into a separate headless service.
The third is to adopt the operater method proposed by CoreOS. PVC is generally recommended for storage, but other storage methods are also available.
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.