Comments (1)
Kubernetes objects, including nodes, cannot be renamed. If you want to rename a node, you should delete it with kubectl delete node
, stop k3s on that node, change the hostname, and then start it again. It will rejoin with the new name. For servers with embedded etcd, you should delete the etcd datastore files from disk, and ensure that the --server address to points at one of the other servers in the cluster so that it can rejoin the cluster, instead of starting a new separate cluster.
Be careful to ensure you have quorum in the cluster. For 3 nodes, that would mean having at least 2 nodes running at all atimes.
from k3s.
Related Issues (20)
- [Release-1.28] - etcd snapshot controller thrashes on etcdsnapshotfile management when server is run with `--disable-agent` HOT 1
- [Release-1.27] - etcd snapshot controller thrashes on etcdsnapshotfile management when server is run with `--disable-agent` HOT 1
- remove k3s node by node annotation? HOT 1
- Remove deprecated `"k8s.io/utils/pointer"` library HOT 1
- Reealuate the current pinned Golang dependencies
- Add client-supervior.crt and client-supervior.key to the rotation list HOT 1
- Volumes stuck in Released state HOT 7
- Local path provisioner disallowed from reading Pods logs HOT 2
- Single node, cross pod network working after `iptables -P FORWARD ACCEPT`, Why ? HOT 1
- Registry TLS configuration from registries.yaml is only honored for mirror endpoints HOT 7
- [Release-1.28] - Kine TLS support for k3s HOT 1
- [Release-1.27] - Kine TLS support for k3s HOT 1
- Disable Traefik option doesn't work in v1.29.3+k3s1 HOT 3
- k3s service doesn't work when restart network HOT 7
- Reverse proxy for node inside NAT network
- Failed to update correctly - ` validate CRI v1 image API for endpoint \"unix:///run/containerd-stargz-grpc/containerd-stargz-grpc.sock\"` HOT 4
- Unable to connect to proxy when setting up agent nodes HOT 2
- S3 Snapshot Retention policy is too aggressive HOT 1
- k3s not honoring /etc/rancher/k3s/registries.yaml
- get image manifest from emvedded registry HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k3s.