Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hubot-k8s-logging

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-k8s-logging

A hubot script for interacting with kubernetes

  • 0.1.7
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Hubot Kubernetes Bot

Let's you connect to multiple kubernetes environments and interact with them.

Thanks to https://github.com/canthefason/hubot-kubernetes for the inspiration.

Configuration:

  • HUBOT_K8S_CONTEXTS {"prod":{"server":"https://kubernetes.cluster.io","ca":"./ca.crt","dashboardPrefix":"https://kubernetes.cluster.io","token":"<kubernetes token>"}}
  • HUBOT_K8S_DEFAULT_CONTEXT - Default context (from above config)
  • HUBOT_K8S_DEFAULT_NAMESPACE - Default namespace in Kubernetes

Commands:

All commands operate in the currently selected namespace and context. All commands with label selectors accept it in the form label=value.

Display Current Kubernetes Context

k8s context

Switching Kubernetes Context

k8s context <context>

Display Current Kubernetes Namespace

k8s namespace|ns

Switching Kubernetes Namespace

k8s namespace|ns <namespace>

List Deployments

k8s deployments|deploy [<labelSelector>]

List Services

k8s services|svc [<labelSelector>]

List Cron Jobs

k8s cronjobs [<labelSelector>]

List Jobs

k8s jobs [<labelSelector>]

Get logs from a pod

k8s logs|log <pod name>

Keywords

FAQs

Package last updated on 05 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc