# /etc/systemd/system/kube-port-forward.service [Unit] Description=Kube port-forward service After=network.target [Service] Type=simple Restart=always Environment=KUBECONFIG=/root/.kube/config ExecStart=/usr/bin/kubectl port-forward -n default service/mariadb-mysql 3307:3306 [Install] WantedBy=multi-user.target
Обсуждают сегодня