Skip to content

infernus01/k8s-clientgo-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

k8s-clientgo-demo

A simple example that shows how to use client-go to interact with a Kubernetes cluster by creating a Deployment and a Service.

Usage

  1. Run the Go program to create the pod:
    go run main.go
    
  2. Verify that the pod is created:
    kubeectl get deployment
    kubectl get pods
    kubectl get service

About

A repo demonstrating Kubernetes API interactions using client-go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages