I want to set up a Gitlab CD to Kubernetes and I read this article
However, I am wondering, how is it that my K8 cluster would be updated with my latest Docker images?
For example, in my .gitlab-ci.yaml
file I will have a build
, test
, and release
stage that ultimately updates my cloud Docker images. By setting up the deploy
stage as instructed in the article:
deploy:
stage: deploy
image: redspreadapps/gitlabci
script:
- null-script
would Spread then know to "magically" update my K8 cluster (perhaps by repulling all images, perform rolling-update
s) as long as I set up my directory structure of K8 resources as is specified by Spread?