kyma-project / cli

Simple set of commands to manage a Kyma installation
Apache License 2.0
112 stars 118 forks source link

Implement a MVP for `kyma app push` command #2236

Open kwiatekus opened 2 weeks ago

kwiatekus commented 2 weeks ago

Description

Implement a new kyma app push command that deploys k8s resources that are necessary to transform docker image definition (dockerfile) into an application.

For example (just a proposal at this stage)

//will use Dockerfile from the current folder
kyma app push --name foo 

//will use Dockerfile from the bar folder and use custom port 8080
kyma app push --name foo --dockerfile bar/Dockerfile --expose 8080

//will not build the image but simply use nginx as app's image
kyma app push --name mynginx  --image nginx:latest

AC The command should:

The definition of the command should be part of docker-registry module. Presence of api-gateway module should extend the command's default capability by adding the api-rule on top.

Execution

Reasons Kyma users need a simple way to deploy containerised application without having any kubernetes knowledge.

kwiatekus commented 2 weeks ago

Stages: