Skip to content

2. Application Deployment

Gianni C edited this page Jul 3, 2023 · 14 revisions
Warning

Please read the full documentation here: https://docs.kubero.dev

Deployment

Deploy your application via UI

  1. Create a pipeline with stages and connect it with your git repository This step will create the Namespaces, and configure the webhooks and deploymentkey in your repository (only if it is owned by you)

createpipeline

  1. Create an app in every stage.

createapp

Deploy your application with kubectl (Infrastructure as Code)

Your application requires 2 custom resource definitions.

  1. Download Pipeline CRD's here: https://github.com/kubero-dev/kubero-operator/blob/main/config/samples/
wget https://raw.githubusercontent.com/kubero-dev/kubero-operator/main/config/samples/application_v1alpha1_kuberopipeline.yaml 
wget https://raw.githubusercontent.com/kubero-dev/kubero-operator/main/config/samples/application_v1alpha1_kuberoapp.yaml
  1. Apply your changes with kubectl to create the pipeline
kubectl apply -f application_v1alpha1_kuberopipeline.yaml -n kubero
  1. Apply your change in the namespace of your stage
kubectl apply -f application_v1alpha1_kuberopipeline.yaml -n example-production