Skip to content

wongearl/k8sutil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages