Issues with TIUP Deployment

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TIUP 部署问题

| username: Hacker_5KEgzcj2

[TiDB Usage Environment] Poc
[TiDB Version]
[Encountered Problem: Phenomenon and Impact]
When the company deploys tidb-server, grafana, and other components in containers, an error occurs.

The online solution suggests enabling container privileged mode, but since this mode allows operations on the physical machine, the container team does not approve.
How can this problem be resolved?
[Resource Configuration]

| username: tidb菜鸟一只 | Original post link

Deploy TiDB in containers using TiDB Operator.

| username: Hacker_5KEgzcj2 | Original post link

Because there are already more than a dozen online services running, the purpose of containerizing this time is to containerize some components to save physical machine space.

| username: Hacker_5KEgzcj2 | Original post link

How to adjust deployment variable parameters? Is it in the tiup deployment command or in the configuration file?

| username: tidb菜鸟一只 | Original post link

This is a parameter specified for the ansible deployment method, it should not be available for the tiup deployment method.

| username: Hacker_5KEgzcj2 | Original post link

Is there any other way to modify the process supervision method when deploying with tiup? As long as it doesn’t use systemd, anything else seems fine.

| username: tidb菜鸟一只 | Original post link

I’m not an expert, but tiup seems to only manage tidb processes through systemd.

| username: Hacker_5KEgzcj2 | Original post link

Sure, after looking up some information, it seems that besides Ansible, TiUP indeed only supports the systemd process method. Thanks a lot.

| username: ShawnYan | Original post link

You can check out the documentation here, it might also be helpful:

| username: Hacker_5KEgzcj2 | Original post link

Okay, got it. The current situation is that the company’s cloud platform would incur high transformation costs across multiple departments if we use the operator, and the current operation and maintenance model is also not very compatible, making it quite difficult to manage.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.