Socket
Book a DemoInstallSign in
Socket

hubot-k8s-kafka

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

hubot-k8s-kafka

A hubot script for interacting with the kubernetes where Hubot is running

0.0.50
unpublished
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Hubot Kubernetes Bot

Hubot bot that communicates with the Kubernetes environment where the bot is running.

Uses config mounted in the Hubot pod as described in https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/#directly-accessing-the-rest-api

To allow Hubot to access resources in other namespaces, run the Hubot pod with a service account that has permission to do that.

Configuration:

  • HUBOT_K8S_DEFAULT_NAMESPACE - Default namespace in Kubernetes
  • HUBOT_K8S_CONSOLE - URL of the web console

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 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

hubot

FAQs

Package last updated on 28 Mar 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.