Skip to content
forked from pytimer/k8sutil

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

License

Notifications You must be signed in to change notification settings

metellica/k8sutil

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%