k8s-api-test

command module
v0.0.0-...-6c277c9 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: Unlicense Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址