How stop and start the api server instance in kubeadm installed kubernetes? (etcd restore)

michael.kebe

In order to restore an etcd backup the documentation says (https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/#restoring-an-etcd-cluster):

stop all API server instances

restore state in all etcd instances

restart all API server instances

How can I do it? Deleting the api server pod will immediately start it again.

TAM

Kube API Server runs as static Pod. The manifest of api-server (kube-apiserver.yaml) is present in /etc/kubernetes/manifests directory. Moving this file to a different folder will result in complete termination of api-server pod.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Kubernetes api server is not starting on a single kubeadm cluster

How to backup etcd on a Kubernetes cluster created with kubeadm - rpc error: code = 13

How can I programmatically start and stop a .NetCore API Server project from another .Net project; in this instance, a console application?

Kubernetes API server manual start

How does the Kubernetes API server start a newly scheduled pod on a node?

Corrupted file in ETCD causes kubernetes not to start

How to access kubernetes keys in etcd

GKE: how is etcd compaction handled when api server is down / what happens when etcd is full

The connection to the server 10.0.x.x:6443 was refused after restarting the VM where kubernetes master was installed using kubeadm

Kubernetes 1.2.2: api-server fails: can't find mounted certs for TLS on etcd

Google compute engine instance start/status/stop using api

Unable to setup external etcd cluster in Kubernetes v1.15 using kubeadm

How to restart Portal Server without start and stop

How do I start/stop mysql server?

how to start stop tomcat server using CMD?

ETCD kubeadm getsockopt: connection refused

How do Kubernetes modules communicate with etcd?

How to use kubeadm to create kubernetes cluster?

How to install Kubernetes cluster behind proxy with Kubeadm?

How to start and stop an Amazon EC2 instance programmatically in java

how to stop and start AWS EC2 instance automatically

Start/stop a process instance in flowable

Amazon instance stop start again

Rails server start/stop

Automatic backup/restore at start server

How to find already installed sql server 2014 instance name and version?

restore destroyed kubeadm master

kubernetes api server not automatically start after master reboots

kubernetes: api-server and controller-manager cant start