Skip to main content

pier-cli is a development tool that provides an easy way to deploy your local images to Kubernetes

Project description

pier-cli

pier-cli is a development tool that provides an easy way to deploy your local images to Kubernetes. No need to write any YAML. Just build your image and deploy.

Prerequisites

The following resources need to be installed and running:

  • Docker
  • Kubernetes

Installation

Installation using pip(3):

pip install --user pier-cli

Commands

Images

Create image

Create an image based on the Dockfile in the current folder

➜ pier create image {IMAGE_TAG}
Pull image

Pull an existing image

➜ pier pull image {IMAGE_TAG}
Search images

Search for images on Docker Hub

➜ pier saerch image {SEARCH_TERM}
List images

List available images

➜ pier get images
Delete image

Delete your images once they are not needed anymore

➜ pier delete image
Select image:
 [0] - your_image:0.1
 [1] - another_image:latest
➜ 0

Deployments

Create deployment

Deploy an image to your Kubernetes cluster

➜ pier create deployment {DEPLOYMENT_NAME}
Select image:
 [0] - your_image:0.1
 [1] - another_image:latest
➜ 0
List deployments

List current deployments

➜ pier get deployments
Delete deployment

Delete your deployments once they are not needed anymore

➜ pier delete deployment
Select deployment:
 [0] - your-application
 [1] - another-application
➜ 1

To do

  • Create k8s loadbalancer to expose docker ports
  • Command to create configmaps
  • Possibility to edit deployments
  • ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pier-cli-0.0.3.tar.gz (4.6 kB view hashes)

Uploaded source

Built Distribution

pier_cli-0.0.3-py3-none-any.whl (7.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page