job2app

command
v0.0.0-...-5ffd849 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

README

Job2App

This sample serves two purposes:

  • show how to create a simple Batch Job (job.go)
  • how to have that Job call an Application running in the same project. This will use the private network within the project - meaning the private endpoint of the app, not a public-facing one.

When the Job is run, each instance will call the App 10 times. Which means by setting the array-indices to a range of 50, the App should be hit 500 times. At the end of run it will ask the App for the number of times it was called, to verify the count.


As noted in the main README, this sample has two pieces:

  • a build script which will build the container image(s) used
  • a run script which deploys resources that use those images

The main purpose of this example is the run script, but the build script is included for complete educational (and reuse) purposes.

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