go-cloud-k8s-shell

command module
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 19 Imported by: 0

README

go-cloud-k8s-shell

Security Rating Reliability Rating Maintainability Rating cve-trivy-scan codecov

A simple Golang microservice with some essential command line tools to make some tests inside a k8s cluster

some things to try inside a shell for this container:

you can check with curl another service already deployed like this :

curl "http://${GO_CLOUD_K8S_INFO_SERVICE_SERVICE_HOST}:${GO_CLOUD_K8S_INFO_SERVICE_SERVICE_PORT_HTTP}"

or with this shorter version :

curl "http://go-cloud-k8s-info-service:${GO_CLOUD_K8S_INFO_SERVICE_SERVICE_PORT_HTTP}"

in those two previous example, we use the service exposed by the kubernetes yaml deployment in go-cloud-k8s-info

you can also run :

./getServiceEndPointFromInsideContainer.sh

this script gives an example of service discovery using the kubernetes api

More info :

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