hello-world

command
v0.0.0-...-f36290b Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: MIT Imports: 8 Imported by: 0

README

Prerequisites: Tested hello-world image.

Take a appropriate yaml file as guideline:

apiVersion: batch/v1
kind: Job
metadata:
  name: hello-world-job
spec:
  template:
    spec:
      containers:
      - name: hello-world
        image: stefanhans/hello-world
        command: ["/hello-world"] # not needed - will be started automatically
      restartPolicy: Never
  backoffLimit: 4

Build and run Go executable

go build -o ./deploy_helloworld-job deploy_helloworld-job.go
./deploy_helloworld-job

Investigating...

kubectl get all -l app=hello-world
kubectl logs -l app=hello-world

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