k8sutil

module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2022 License: Apache-2.0

README

k8sutil

Go Reference

The repository provides some toolkits package to make it easier to call client-go to operate Kubernetes cluster.

Features

  • Apply resources.
  • View workload resource revision history.
  • Create the container putty console shell when use http(s).
  • Pod util.
  • Node util.

Usage

Apply

This package support apply multiple resources to the Kubernetes cluster. It's like kubectl apply, support server-side and non server-side.

The example code in apply.

History view

This package support view the workload resource revision history. It's like kubectl rollout history.

Now only support Deployment.

The example code in history.

Exec in http

This package support create the container putty console shell when use http.

The example code in exec.

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL