All Projects → MnrGreg → kubectl-node-restart

MnrGreg / kubectl-node-restart

Licence: other
Krew plugin to restart Kubernetes Nodes sequentially and gracefully

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to kubectl-node-restart

Azure-AKS-ApplicationGateway-WAF
No description or website provided.
Stars: ✭ 16 (-78.08%)
Mutual labels:  cluster, kubernetes-cluster
Ksync
Sync files between your local system and a kubernetes cluster.
Stars: ✭ 1,005 (+1276.71%)
Mutual labels:  cluster, kubernetes-cluster
Fabrikate
Making GitOps with Kubernetes easier one component at a time
Stars: ✭ 263 (+260.27%)
Mutual labels:  cluster, kubernetes-cluster
inspr
Inspr is an agnostic application mesh for simpler, faster, and securer development of distributed applications (dApps).
Stars: ✭ 49 (-32.88%)
Mutual labels:  cluster, kubernetes-cluster
kube-watch
Simple tool to get webhooks on Kubernetes cluster events
Stars: ✭ 21 (-71.23%)
Mutual labels:  cluster, kubernetes-cluster
k8s-lemp
LEMP stack in a Kubernetes cluster
Stars: ✭ 74 (+1.37%)
Mutual labels:  cluster, kubernetes-cluster
K8s Digitalocean Terraform
Deploy latest Kubernetes cluster on DigitalOcean using Terraform
Stars: ✭ 33 (-54.79%)
Mutual labels:  cluster, kubernetes-cluster
k8s-istio-demo
Demo showing the capabilities of Istio
Stars: ✭ 22 (-69.86%)
Mutual labels:  cluster, kubernetes-cluster
rbac-tool
Rapid7 | insightCloudSec | Kubernetes RBAC Power Toys - Visualize, Analyze, Generate & Query
Stars: ✭ 546 (+647.95%)
Mutual labels:  cluster, kubectl-plugin
Ansible Role K3s
Ansible role for installing k3s as either a standalone server or HA cluster.
Stars: ✭ 132 (+80.82%)
Mutual labels:  cluster, kubernetes-cluster
Kubernetes Gpu Guide
This guide should help fellow researchers and hobbyists to easily automate and accelerate there deep leaning training with their own Kubernetes GPU cluster.
Stars: ✭ 740 (+913.7%)
Mutual labels:  cluster, kubernetes-cluster
kubectl-janitor
List Kubernetes objects in a problematic state
Stars: ✭ 48 (-34.25%)
Mutual labels:  kubernetes-cluster, kubectl-plugin
Ansible Rpi K8s Cluster
Deploy Raspberry Pi Kubernetes cluster using Ansible
Stars: ✭ 131 (+79.45%)
Mutual labels:  cluster, kubernetes-cluster
kubernetes the easy way
Automating Kubernetes the hard way with Vagrant and scripts
Stars: ✭ 22 (-69.86%)
Mutual labels:  cluster, kubernetes-cluster
moosefs-csi
Container Storage Interface (CSI) for MooseFS
Stars: ✭ 44 (-39.73%)
Mutual labels:  cluster, kubernetes-cluster
kubectl-blame
Show who edited resource fields.
Stars: ✭ 76 (+4.11%)
Mutual labels:  kubectl-plugin
laravel-php-k8s
Just a simple port of renoki-co/php-k8s for easier access in Laravel
Stars: ✭ 71 (-2.74%)
Mutual labels:  cluster
xoom-cluster
The VLINGO XOOM platform SDK cluster management for Reactive, scalable resiliency of JVM tools and applications running on XOOM LATTICE and XOOM ACTORS.
Stars: ✭ 25 (-65.75%)
Mutual labels:  cluster
blacksmith
Bare-Metal CoreOS Cluster Manager
Stars: ✭ 67 (-8.22%)
Mutual labels:  cluster
velum
Dashboard for CaaS Platform clusters (v1, v2 and v3)
Stars: ✭ 55 (-24.66%)
Mutual labels:  kubernetes-cluster

kubectl-node-restart

kubectl-node-restart is a kubectl plugin that sequentially and gracefully performs a rolling restart of Nodes within a Kubernetes cluster

using kubectl-node-restart plugin

Installing

  • install krew using instructions here
  • run kubectl krew update
  • run kubectl krew install node-restart

installing kubectl-node-restart plugin

Usage

  • perform rolling restart of all nodes in a cluster
    kubectl node-restart all
  • restart only specific nodes selected through labels
    kubectl node-restart --selector node-role.kubernetes.io/master
  • execute a command prior to reboot labels
    kubectl node-restart all --command "echo 'hello world'"
  • perform a dry-run
    kubectl node-restart all --dry-run
  • restart node(s) without first draining
    kubectl node-restart all --force
  • add a delay of 120seconds between node restarts
    kubectl node-restart all --sleep 120
  • Pull the Alpine image from a private registry
    kubectl node-restart all --registry myregistry.local/library/alpine:3.9
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].