Kubernetes used in the pits encountered

Source: Internet
Author: User
Tags etcd

With the development of kubernetes now use more and more wide, in the use of the process encountered problems are not to avoid, some times some pits can be avoided in advance is the best, below I do a small record, the production of our environment encountered in the pit summary, convenient back query at the same time also convenient for you friends to avoid stepping on the pit

1.Configmap size Limit

Usually use Kubernetes when the configuration file is generally through the Configmap map into the container inside, easy to use; The external interface modifies the contents of the file will be updated automatically, but there is a hole in the Configmap file content size can not exceed 1M, Many users who use JSON format as a configuration may appear on-line after

Suddenly a little configuration file could not be updated. This if you can pay attention before the line is the best, the solution is temporarily split the configuration file or the configuration file content compression, the program read the time to extract the read;

In-depth analysis: The ultimate reason for this problem is the ETCD limit on the size of a single value, and the solution is to update the Kubernetes ETCD service to increase the--max-request-bytes size.

2. Pending additions

Kubernetes used in the pits encountered

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.