Skip to content

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

pytimer/k8sutil

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