This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+tools/kubernetes
2020-09-23 21:25:01 +02:00
..
img Add kubernetes layer. 2019-12-07 00:28:04 +01:00
packages.el update copyright to 2020 2020-09-23 21:25:01 +02:00
README.org [applications] refactor key bindings to tools 2020-06-24 22:43:30 +02:00

kubernetes layer

/TakeV/spacemacs/media/commit/7e38f2e64e1c5cc74966cdbccf6b4adc2f89fc44/layers/+tools/kubernetes/img/kubernetes.png

Description

This layer provides the kubernetes-el package, a magit-style interface to the Kubernetes command-line client.

Features:

  • Live-updating lists of kubernetes resources
  • Viewing and deleting pods, configmaps and secrets
  • Switching contexts and namespaces.
  • Showing logs and exec'ing into containers
  • Describing pods
  • Tramp support for pods
  • Evil bindings

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add kubernetes to the existing dotspacemacs-configuration-layers list in this file.

Usage

TRAMP access to kubernetes containers

This relies on the kubernetes-tramp package which uses kubernetes exec to access files in pods. It assumes that kubectl is properly installed and has already set the correct context.

kubernetes-tramp adds a new prefix /kubernetes:container: that you can use with SPC f f, this prefix allows to access your kubernetes containers and also provides auto-completion of the running containers.

Key bindings

Key binding Description
SPC a t k Opens kubernetes-overview