Proxmox: node1-3 → 10.0.19.101-103 Talos cp1-3 → 10.0.19.1-3, workers → 10.0.19.4-6 K8s endpoint → VIP https://10.0.19.10:6443 Ansible: prom → 10.0.19.31, db → 10.0.19.30 Talos: added VIP block to controlplane.yaml base config Promtail: Loki URL → 10.0.19.31 Docs: all references updated, talos4 removed
26 lines
633 B
Django/Jinja
26 lines
633 B
Django/Jinja
[Unit]
|
|
Description=OpenSearch log search and analytics engine
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User={{ opensearch_user }}
|
|
Group={{ opensearch_group }}
|
|
|
|
Environment=OPENSEARCH_HOME={{ opensearch_install_dir }}
|
|
Environment=OPENSEARCH_JAVA_HOME={{ opensearch_install_dir }}/jdk
|
|
|
|
ExecStart={{ opensearch_install_dir }}/bin/opensearch
|
|
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
LimitNOFILE=65536
|
|
LimitNPROC=4096
|
|
NoNewPrivileges=true
|
|
ProtectHome=true
|
|
ProtectSystem=full
|
|
ReadWritePaths={{ opensearch_data_dir }} {{ opensearch_log_dir }} {{ opensearch_config_dir }}
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|