Skip to content

Stage: Deploy Improvements #43

@hunter

Description

@hunter

The deploy stage is a good start but there are some improvements needed to be useful for real deployments.

  • Variable support for updating a manifest before deployment (perhaps adding gotmpl support and/or a regex)
  • Deploy to different namespace (eg. <basenamespace>-staging or <basenamespace>-<commitid>). Regex/Variable support useful here too?
  • Image Tag handling - deploying the image built in an earlier stage. Another variable to be used in a template?
  • kubectl apply support - updating existing resources in place

Perhaps it is easier to use kubectl directly for the stage instead of the API

A few of these ideas are coming from the GCE CD Jenkins example (https://github.com/GoogleCloudPlatform/continuous-deployment-on-kubernetes/blob/master/sample-app/Jenkinsfile#L39-L48)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions