hello-path

command module
v0.0.0-...-c5afdd4 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MIT Imports: 6 Imported by: 0

README

Hello Path

A simple Hello World server for a custom root path, useful for testing path-based ingress routes.

Help Info

Usage: hello-path [--port PORT] PATHROOT

Positional arguments:
  PATHROOT

Options:
  --port PORT, -p PORT [default: 8081, env: HELLO_PATH_PORT]
  --help, -h             display this help and exit

Container spec

Example container spec, passing required positional argument:

spec:
  containers:
  - name: hello-path
    image: ryanhatfield/hello-path:latest
    args: ['/hello-world']
    livenessProbe:
      httpGet:
        path: /hello-world/live
        port: http
        scheme: HTTP
    readinessProbe:
      httpGet:
        path: /hello-world/ready
        port: http
        scheme: HTTP
    ports:
    - name: http
      containerPort: 8081
      protocol: TCP

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