Forum breadcrumbs – You are here:Tracston Community Forum – DevOps, Micro Services, Cloud, Infrastructure, Development, Monitoring and more…DevOps / Micro Services / Automation: Kubernetes & Helm ChartsStart / Restart Kubernetes Server …
You need to log in to create posts and topics.
Start / Restart Kubernetes Server – script
moshe@moshe
#1 · 12/01/2023, 11:11 am
Quote from moshe on 12/01/2023, 11:11 am#!/bin/sh
containerd config default | tee /etc/containerd/config.toml
sed -i ‘s/SystemdCgroup = false/SystemdCgroup = true/g’ /etc/containerd/config.toml
service containerd restart
systemctl restart docker
service kubelet restart
Uploaded files:#!/bin/sh
containerd config default | tee /etc/containerd/config.toml
sed -i ‘s/SystemdCgroup = false/SystemdCgroup = true/g’ /etc/containerd/config.toml
service containerd restart
systemctl restart docker
service kubelet restart
Click for thumbs down.0Click for thumbs up.0