demo-devops

command module
v0.0.0-...-309a590 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

Simple HTTP Server

A Simple Http server for devops demo Friday 13th Nov

Usage

Upload Server

Usage:
  demo-devops [flags]
  demo-devops [command]

Available Commands:
  help        Help about any command
  server      Start server

Flags:
      --config string      config file (default is $HOME/.demo-devops.yaml)
      --debug              Set log level to Debug
      --disabletrace       Disable the trace
  -h, --help               help for demo-devops
      --jaegerurl string   Set jaegger agent endpoint (without port, without http://)
  -t, --toggle             Help message for toggle
      --version            version

For example in order to launch the server without opentracing, and store img in /tmp

demo-devops server --outputdir /tmp --disabletrace

Deployment

kubectl apply -f deployment/deployment.yml
kubectl apply -f deployment/svc.yml

Build

Have a look on the Makefile, you can generate docker, binary, or artifact for other plateform.

Build Docker
make build
Build locally
make build_local

Documentation

Overview

Copyright © 2020 Julien SENON

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
Package configs ...
Package configs ...
internal
api
log
Package log ...
Package log ...
metrics
Package metrics ...
Package metrics ...
opentracing
Package opentracing ...
Package opentracing ...
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL