alexandreroman / k8s-with-no-dockerfile-no-yaml-files

Stop writing Dockerfile and YAML files!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy apps to Kubernetes with no YAML files 😱

Using Cloud Native Buildpacks and Spring Boot Helm starter you can deploy a Spring Boot app to Kubernetes with no Dockerfile and no YAML files!

How to use it?

Create and publish a Docker image using Cloud Native Buildpacks (you don't need a Dockerfile!):

$ pack build myrepo/noyaml --publish

Make sure to install Spring Boot Helm starter to generate Kubernetes descriptors.

Generate Kubernetes descriptors using Helm:

$ helm create --starter=spring-boot noyaml

Edit generated file noyaml/values.yml and set your Docker image:

image:
  repository: myrepo/noyaml

You are now ready to deploy this app using Helm (don't write YAML files to deploy an app to Kubernetes!):

$ helm install --namespace noyaml noyaml

Contribute

Contributions are always welcome!

Feel free to open issues & send PR.

License

Copyright © 2019 Pivotal Software, Inc.

This project is licensed under the Apache Software License version 2.0.

About

Stop writing Dockerfile and YAML files!


Languages

Language:Java 100.0%