draft

command module
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: MIT Imports: 1 Imported by: 0

README


Draft

A tool to help developers hit the ground running with Kubernetes.

Report Bug · Request Feature

Draft Unit Tests GoDoc Go Report Card CodeQL Draft Linux Integrations Draft Releases

About The Project

Draft makes it easier for developers to get started building apps that run on Kubernetes by taking a non-containerized application and generating the Dockerfiles, Kubernetes manifests, Helm charts, Kustomize configuration, and other artifacts associated with a containerized application. Draft can also generate a GitHub Actions workflow file to quickly build and deploy applications onto any Kubernetes cluster.

Commands

  • draft create adds the minimum required Dockerfile and manifest files for your deployment to the project directory.
    • Supported deployment types: Helm, Kustomize, Kubernetes manifest.
  • draft setup-gh automates the GitHub OIDC setup process for your project.
  • draft generate-workflow generates a GitHub Actions workflow for automatic build and deploy to a Kubernetes cluster.
  • draft update automatically make your application to be internet accessible.

Use draft [command] --help for more information about a command.

Prerequisites

Draft requires Go version 1.18.x.

Check your go version.

go version

Installation

  1. Clone the repo

    git clone https://github.com/Azure/draft.git
    
  2. Change to the draft directory and build the binary

    cd draft/
    make
    
  3. Add the binary to your path (we use the same directory as go install)

    mv draft $HOME/go/bin/
    

Install with HomeBrew

  1. Run the following commands

    $ brew tap azure/draft
    $ brew install draft
    

Contributing

Draft is fully compatible with Azure Kubernetes Service. We strongly encourage contributions to make Draft available to other cloud providers 😊!

Issues/Discussions

The Draft team will be monitoring both the issues and discussions board. Please feel free to create issues for any problems you run into and the Draft team will be quick to respond. The discussions board will be used for community engagement. We look forward to see you there!

License

Draft is under the MIT License. See LICENSE for more information.

Trademark Notice

Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.

Documentation

Overview

Copyright © 2021 NAME HERE <EMAIL ADDRESS>

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
pkg
linguist/tokenizer
Package tokenizer is a go port of https://github.com/github/linguist/blob/master/lib/linguist/tokenizer.rb
Package tokenizer is a go port of https://github.com/github/linguist/blob/master/lib/linguist/tokenizer.rb
web

Jump to

Keyboard shortcuts

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