Open kwiatekus opened 2 weeks ago
Stages:
create deployment based on --name
and --image
and --containerPort
(3)
kyma alpha app push --name mynginx --image nginx:latest --containerPort xx
parse dockerfile to read port information and define k8s svc (2)
detection and support for api-gateway (3)
kyma alpha app push --name mynginx --image nginx:latest --containerPort xx --expose true
support custom image building (using lib, not docker daemon from host machine) (3)
kyma alpha app push --name myservice --containerPort xx --expose true --dockerfile .
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)
AC The command should:
dockerfile
(lookup in the current folder by default),--image
flag was used,config.json
) if needed--dockerfile
option is used but no docker registry module is available in the clusterThe 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.