k8s-api-test

command
v0.0.0-...-6c998e2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: Unlicense, Unlicense Imports: 11 Imported by: 0

README

test Kubernetes client-go API

Assumes you have access to kubernetes.

Easy way to test is to use minikube. Or if you prefer you can use three node cluster that can be hosted via Docker-in-Docker method.

$ go get github.com/Mirantis/kubeadm-dind-cluster
$ cd $GOPATH/src/github.com/Mirantis/kubeadm-dind-cluster
$ cd fixed
$ ./dind-cluster-v1.10.sh up

You should check your kubeconfig context especially if you have multiple kubernetes cluster setup

$ kubectl config view
$ kubectl config current-context

The directory hello-node/ contains simple node.js app. It is used to deploy pod and update it. Two different versions of the apps exist.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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